Update DatabaseConnection.java

updated by trupti on 3rd may and please use this code