I 've already created a database schema in MySQL and want a client application 
to write in the existing database. Unfortunately it always tries to create a 
new database and therefore I get following error message:

java.sql.SQLException: Duplicate key or integrity constraint violation message 
from server: "Cannot add or update a child row: a foreign key constraint fails"

My question now is how and where (ejb-jar.xml-file; JBoss Eclipse IDE etc.) can 
I specify that the existing database is used.
(<create table> tag is already set as "false" in standardjbosscmp-jdbc.xml)

Thanks for helping!

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to