[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 08:00:35 EST 2009
"mfps1810" wrote :
|
| In every hbm.xml file, the catalog was referenced to the old database.
|
|
I have seen many users running into this specific issue :) That's the reason why it's better to never set that catalog in hbm.xml. If for some reason, someone else in a shared project uses your hbm files and does not change that value to point to his DB, then there are chances that he might (unintentionally) end up messing up your database. Any moreover, adding that catalog value to every hbm, isn't worth the efforts.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200978#4200978
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200978
More information about the jboss-user
mailing list