[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss Datasource reads an old connection-url

jaikiran do-not-reply at jboss.com
Mon Jan 12 06:42:56 EST 2009


anonymous wrote : The database called test  has been loaded, not the database testB  !!!!! 

Let me be more clear :) 
In your webapplication do you load the data and show it on the page? And this data which is shown on the page belongs to the "test" database and not the "testB"? If that's what is happening, please post the code where you are loading the data (i.e. accessing the datasource and using it to get the data from database). Is there hibernate involved in your application? If yes, then please post the contents of a hbm.xml file and the hibernate.cfg.xml.

While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200958#4200958

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200958



More information about the jboss-user mailing list