[jboss-user] [EJB 3.0] - Re: Better debug logging during EJB3/Hibernate automatic DDL
hermida
do-not-reply at jboss.com
Wed Jul 11 11:56:47 EDT 2007
Hi,
Thanks for the help. I did end up finding out yesterday that $JBOSS_HOME/server/default/log/server.log had more detailed debugging information, particularly a DEBUG level Hibernate log. I also found that the default configuration in $JBOSS_HOME/server/default/conf/log4j.xml was filtering these messages from the console and that this could be changed there.
I also figured out my problem below - it was a table name clash that confused Hibernate. I had a many-to-many association between two entities that accidentally had the same name as another unrelated entity. Hibernate then would create a join table of the same name and get confused when making relationships. This is something to watch out for!
-Leandro
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063071#4063071
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063071
More information about the jboss-user
mailing list