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]
-------------------------------------------------