I think the problem I found in the debugger is with the field that I
mentioned below. I am looking at writing a fieldHandler for that field so
that it can convert between bit and Byte instead of Byte and Boolean. Thanks
for the second pair of eyes.

Bryan LaPlante

----- Original Message -----
From: "Ralf Joachim" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, October 26, 2005 4:59 PM
Subject: Re: [castor-user] JDO and MappingException?


> Hi Bryan,
>
> at the moment I have no idea what causes your problem with loading the
> mapping, the only thing I can suggest you is to comment out all mappings
> except one and start adding them step by step to find where your problem
> is. If you found the class that caused the trouble try to comment out
> fields until you found the one that caused the real problem.
>
> If you think it is only the byte mapping you suggested below that it
> should be enough to comment that one out.
>
> Another idea would be to join me at: irc://irc.codehaus.org/castor
>
> I'll be online for about one hour today.
>
> Regards
> Ralf
>
>
> [EMAIL PROTECTED] schrieb:
>
> >I get the same results with or without the mapping of all the
> >fields that are boolean.
> >
> >The only thing I can think of is the mapping between the
> >choiceCorrectInd field which is a byte field and the
> >ChoiceCorrectInd field in the database which is a bit field.
> >Any idea's.
> >
> ><field required="true"
> >       transient="false"
> >       direct="false"
> >       name="choiceCorrectInd"
> >       type="byte"
> >       lazy="false">
> >
> > <sql name="ChoiceCorrectInd"
> >     dirty="check" type="bit"
> >     read-only="false" />
> >
> ><bind-xml node="attribute"
> >          name="choice-correct-ind" />
> ></field>
> >
> >create table questionchoice(
> >QuestionID int(11) default '0' not null,
> >ChoiceID int(11) PRIMARY KEY not null,
> >ChoiceText text,
> >ChoiceSeq tinyint(4),
> >ChoiceCorrectInd BIT)
> >
> >-------------------------------------------------
> >If you wish to unsubscribe from this list, please
> >send an empty message to the following address:
> >
> >[EMAIL PROTECTED]
> >-------------------------------------------------
> >
> >
>
> -------------------------------------------------
> If you wish to unsubscribe from this list, please
> send an empty message to the following address:
>
> [EMAIL PROTECTED]
> -------------------------------------------------
>
>



-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to