How to set "hibernate.properties" environment specific
I would like to know steps for,
How to configure the "hibernate.properties" specific to environment(dev/stage/prod).
we are using .properties file for DB connection utility with below props.
we are not using hibernate-cfg.xml for DB connection,
hibernate.dialect = org.hibernate.dialect.OracleDialect
I need to put this for specific to the environment, as of now we are using the "hibernate.properties" for every environment, we used to change the db connection everytime whenever we want to deploy to dev/stage/prod envs which is causing issue with other developers, if they are not aware of usage of this process.
Iam using Tomcat server and deploying the war file in to it.
Please let me know your ideas on this.
Any help is appreciated...!!!
if it is not the correct place to put this question please let me point to the correct place...
Today when i was googling found a link http://galaxy.andromda.org/forum/vie...f9ecbc4fa95e64 which has some info on it. I was trying with this it could resolve the issue.
i.e. Adding the properties to CATALINA_OPTS and export like below..
The above mentioned process is working like chome....
By rekhad in forum Database
Last Post: 10-19-2006, 01:21 PM
Last Post: 04-03-2003, 01:54 PM
By newbie in forum ASP.NET
Last Post: 06-19-2001, 02:06 PM
Last Post: 12-23-2000, 09:42 AM
Last Post: 08-04-2000, 06:55 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center