Hi,
I am trying a Hibernate Tutorial in OnJava. It says Hibernate.properties should be like this:
hibernate.connection.username=sa
hibernate.connection.password=
hibernate.connection.url=jdbc:hsqldb:/home/davor/hibernate/orders
hibernate.connection.driver_class=org.hsqldb.jdbcDriver
hibernate.dialect=net.sf.hibernate.dialect.HSQLDialect
My question is: if I use WSAD and have a datasource setup by JNDI name "jdbc/test"
a) how do I specify this in this properties file.
b) do I need to specify username and password in this file (all this info is already there in WAD datasource). And is it a good idea to store password as plain text in this file?? This is normally against corporate security policy???
Hope to get your answers.
Thanks,
Sanz
|