summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
343123e)
through property configurer.
HibernateComponent no longer reads the hibernate properties.
Next step is to put in generic hibernate properties through the constructor and to put in application-independent properties
(schemaupdate and dialect) through a hibernate config object as a required interface.
createProvidedMap(), new TreeMap<RequiredInterface, String>());
Properties props = new Properties();
props.load(new ClassPathResource(DATABASE_PROPERTIES).getInputStream());
createProvidedMap(), new TreeMap<RequiredInterface, String>());
Properties props = new Properties();
props.load(new ClassPathResource(DATABASE_PROPERTIES).getInputStream());
for (Object key: props.keySet()) {
System.out.println("Key " + key + " value " + props.getProperty((String)key));
}
for (Object key: props.keySet()) {
System.out.println("Key " + key + " value " + props.getProperty((String)key));
}