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.