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

Reply via email to