logo       

Re: CMR Questions: msg#00238

java.jboss.user

Subject: Re: CMR Questions

Neal Sanche wrote:
I've set my entity beans to remove the database table when undeployed because I'm testing and making all kinds of changes. One thing I noticed is that the database table for the Many to Many relation didn't get deleted on undeploy. But I discovered my error, and got that working too.

Did you set remove-table in the defaults section? The relation-table-mapping does not look to either entity (it would be difficult to choose which one) for default values, it only looks to the defaults section. If it is not inheriting the value from the defaults section, please post a bug report at sourceforge.

--
xxxxxxxxxxxxxxxxxxxxxxxx
Dain Sundstrom
Chief Architect JBossCMP
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise