Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

java hide mysql login credentials

 private ResourceBundle reader = null;
 try{ 
     reader = ResourceBundle.getBundle("dbconfig.properties");
     Connection conn=DriverManager.getConnection(reader.getString("db.url"),reader.getString("db.username"),reader.getString("db.password"));
 }catch(Exception e){
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #hide #mysql #login #credentials
ADD COMMENT
Topic
Name
7+1 =