0 Replies Latest reply on May 27, 2008 5:11 AM by kks_krishna

    Want to Construct session Factory using Datasource. How to m

    kks_krishna Newbie

      HI,

      I have a requirement to create hibernate session factory dynamically using the datasource. That means my database will be dynamically created, so we can't declare the datasource in mysql-ds.xml in the JBoss server. When system is trying to create the hibernate session factory we have to set the datasource dynamicaly and use it to create the session factory. I want to manipulate mysql-ds.xml at runtime.

      If anyone have idea on this, Please help me.