From: Jerry S. <JS...@se...> - 2002-06-25 17:59:27
|
Ok, thanks for the clarification Dain. Are we looking at 3.0.x or 3.1 for this feature? Or have you even thought about it much yet? Thanks again! -----Original Message----- From: Dain Sundstrom [mailto:da...@da...] Sent: Tuesday, June 25, 2002 11:35 AM To: jbo...@li... Subject: Re: [JBoss-user] CMR bug fixed? This has never been supported. Some people have described hacks around this, but I do not recommend them, as you can end up with an inconsistent database state. Support for this is on the todo list. -dain Jerry Smith wrote: > I've been trying to follow what got fixed for CMR in Branch_3_0 and seem to > have gotten lost ;-) Is the fix for allowing a column to be part of a > primary key, be a foreign key, and have a CMR use that column? What I'm > seeing in the Branch_3_0 is that I'm getting 2 columns with the same name, > one nullable the other not. Or is there something wrong with my config > files? > > Thanks, and sorry if I'm beating a dead horse! > > -Jerry > > -----Original Message----- > From: Dain Sundstrom [mailto:da...@da...] > Sent: Monday, June 24, 2002 6:58 PM > To: jbo...@li... > Subject: Re: [JBoss-user] CMR bug fixed? > > > It looks like you have an out of date standardjbossmcmp-jdbc.xml file or > you have written your own type mapping in your jbosscmp-jdbc.xml file. > The true-mapping element contains the string to which true values in > EJB-QL are mapped; there related element false-mapping for false values. > > Branch_3_0 builds for me. Maybe you got a half committed version again. > Update the entire tree again, "./build.sh clean", and "./build.sh". > > -dain > > Douglas Su wrote: > >>Dain and Stephen, >> >> First of all, thank you very much guys. Okay, I checked out the >>"jboss-all" source from both "HEAD" and "Branch_3_0." The one from >>"Branch_3_0" can not be successfully build. It gives 6 errors and 3 >>warnings. The one from "HEAD" had no problem when I build it. However >>it gives me problem when I try to deploy a single simple entity bean >>(with no relations). The delpoyment errors was: >> >>16:34:03,011 ERROR [EjbModule] Starting failed >>org.jboss.deployment.DeploymentException: expected one true-mapping tag >> at org.jboss.metadata.MetaData.getUniqueChild(MetaData.java:95) >> at >>org.jboss.metadata.MetaData.getUniqueChildContent(MetaData.java:198) >> at >>org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCTypeMappingMetaData.<init >> >> >>>(JDBCTypeMappingMetaData.java:130) >> >> at >>org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.<init >> >> >>>(JDBCApplicationMetaData.java:202) >> >> >>.... >> >>Any suggestion? Comment? >> >>Thank you very much, >> >>Douglas >> >> >>>From: Dain Sundstrom <da...@da...> >>>Reply-To: jbo...@li... >>>To: jbo...@li... >>>Subject: Re: [JBoss-user] CMR bug fixed? >>>Date: Mon, 24 Jun 2002 11:54:56 -0500 >>> >>>Yes that is HEAD, but I agree with Stephen Coy in that you should only >>>use this version if you are interested in developing JBoss. As for >>>the problems you have, I suggest you update the code again and >>>recompile. You may have checked out the code in the middle of another >>>developer's commit. >>> >>>-dain >>> >>>Douglas Su wrote: >>> >>> >>>>Dain, >>>> I've checked out JBoss-all module and I compiled a jboss3.1.0alpha >>>>version. Is this the correct version? Is the CMR bug fixed for this >>>>version? Is this the "Branch_3_0 and Head" you are talking about? >>>>This version seems to give me some error on ejb-management.jar and >>>>jmx-ejb-adaptor.jar when I starts the server. Any Suggestion? >>>> >>>>Thank you very much, >>>>Douglas >>>> >>>> >>>> >>>>>From: Dain Sundstrom <da...@da...> >>>>>Reply-To: jbo...@li... >>>>>To: jbo...@li... >>>>>Subject: Re: [JBoss-user] CMR bug fixed? >>>>>Date: Thu, 20 Jun 2002 11:50:27 -0500 >>>>> >>>>>Yep, if you execute a finder before the field is set the database is >>>>>not updated. This has been fixed in cvs Branch_3_0 and HEAD. cvs >>>>>is covered in the Quick Start guide. >>>>> >>>>>-dain >>>>> >>>>>Douglas Su wrote: >>>>> >>>>> >>>>>>Hi All, >>>>>> >>>>>> Is there a bug with the CMR field? Is the bug fixed? I am having >>>>>>trouble creating 1:N relationship. JBoss creates Null field and I >>>>>>can't make a foreign key be apart of a primary key. Any Suggestions? >>>>>> >>>>>>Thanks, >>>>>>Douglas >>>>>> >>>>>> >>>>>>_________________________________________________________________ >>>>>>Get your FREE download of MSN Explorer at >>>>>>http://explorer.msn.com/intl.asp. >>>>>> >>>>>> >>>>>> >>>>>>------------------------------------------------------- >>>>>> Bringing you mounds of caffeinated joy >>>>>> >>> http://thinkgeek.com/sf <<< >>>>>> >>>>>>_______________________________________________ >>>>>>JBoss-user mailing list >>>>>>JBo...@li... >>>>>>https://lists.sourceforge.net/lists/listinfo/jboss-user >>>>> >>>>> >>>>> >>>>> >>>>>-- >>>>>xxxxxxxxxxxxxxxxxxxxxxxx >>>>>Dain Sundstrom >>>>>Chief Architect JBossCMP >>>>>JBoss Group, LLC >>>>>xxxxxxxxxxxxxxxxxxxxxxxx >>>>> >>>>> >>>>> >>>>>------------------------------------------------------- >>>>> Bringing you mounds of caffeinated joy >>>>> >>> http://thinkgeek.com/sf <<< >>>>> >>>>>_______________________________________________ >>>>>JBoss-user mailing list >>>>>JBo...@li... >>>>>https://lists.sourceforge.net/lists/listinfo/jboss-user >>>> >>>> >>>> >>>> >>>> >>>> >>>>_________________________________________________________________ >>>>Send and receive Hotmail on your mobile device: http://mobile.msn.com >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>Sponsored by: >>>>ThinkGeek at http://www.ThinkGeek.com/ >>>>_______________________________________________ >>>>JBoss-user mailing list >>>>JBo...@li... >>>>https://lists.sourceforge.net/lists/listinfo/jboss-user >>> >>> >>> >>> >>> >>> >>>------------------------------------------------------- >>>Sponsored by: >>>ThinkGeek at http://www.ThinkGeek.com/ >>>_______________________________________________ >>>JBoss-user mailing list >>>JBo...@li... >>>https://lists.sourceforge.net/lists/listinfo/jboss-user >> >> >> >> >> >>_________________________________________________________________ >>Join the world's largest e-mail service with MSN Hotmail. >>http://www.hotmail.com >> >> >> >>------------------------------------------------------- >>Sponsored by: >>ThinkGeek at http://www.ThinkGeek.com/ >>_______________________________________________ >>JBoss-user mailing list >>JBo...@li... >>https://lists.sourceforge.net/lists/listinfo/jboss-user > > > -- xxxxxxxxxxxxxxxxxxxxxxxx Dain Sundstrom Chief Architect JBossCMP JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This sf.net email is sponsored by: Jabber Inc. Don't miss the IM event of the season | Special offer for OSDN members! JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn _______________________________________________ JBoss-user mailing list JBo...@li... https://lists.sourceforge.net/lists/listinfo/jboss-user |