[JBoss-user] [Persistence CMP/JBoss] - Re: jbosscmp-jdbc.xml relationship mapping dbindex problems
Just the index name was removed. fk-constraint-templateALTER TABLE ?1 ADD INDEX (?3), ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)/fk-constraint-template View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841987#3841987 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841987 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: jbosscmp-jdbc.xml relationship mapping dbindex problems
I think there was a fix regarding fk-constraint mapping in MySQL a few days ago. Please try again using the latest version from CVS. Joachim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841933#3841933 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841933 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: jbosscmp-jdbc.xml relationship mapping dbindex problems
How is your table created? Would it be possible to try to enable alter-table? This would update your DB structure (careful, it can also remove fields). If JBoss actually assumes the field to exist, then it would be created. If you try to access the bean, does that work? Does it also generate SQL code which reads the non-existent field? Joachim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841570#3841570 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841570 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: jbosscmp-jdbc.xml relationship mapping dbindex problems
The tables are created by Jboss. I thought about using the alter-table command, but I wanted to try to use the command so that I wouldn't have to write and maintain the sql statements to create the indexes (there are a lot of EJBs and relationships in this application). I didn't try to access the bean after the sql exception, I think the deployment was halted after that. Thanks for the input, Brian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841572#3841572 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841572 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user