contribute a HibernateConfigurer to the HibernateSessionSource service. Although I don't quite get why putting the connection string into a properties file is any different than putting it in the xml file...

Uli

On 17.08.2009 15:21 schrieb Angelo Chen:
Hi,

I use following in hibernate.cfg.xml to connect to database:
< property
name="hibernate.connection.url">jdbc:mysql://localhost/stock?autoReconnect=true</property

This works very well, but it is hard coded, is there a way to put the
particular info in a property file, then pick it up when the t5 program is
loaded?
Thanks,

Angelo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to