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 <[EMAIL PROTECTED]> >> Reply-To: [EMAIL PROTECTED] >> To: [EMAIL PROTECTED] >> 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 <[EMAIL PROTECTED]> >>>> Reply-To: [EMAIL PROTECTED] >>>> To: [EMAIL PROTECTED] >>>> 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 >>>>> [EMAIL PROTECTED] >>>>> 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 >>>> [EMAIL PROTECTED] >>>> 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 >>> [EMAIL PROTECTED] >>> https://lists.sourceforge.net/lists/listinfo/jboss-user >> >> >> >> >> >> >> ------------------------------------------------------- >> Sponsored by: >> ThinkGeek at http://www.ThinkGeek.com/ >> _______________________________________________ >> JBoss-user mailing list >> [EMAIL PROTECTED] >> 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 > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- xxxxxxxxxxxxxxxxxxxxxxxx Dain Sundstrom Chief Architect JBossCMP JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
