Daniel Rall <[EMAIL PROTECTED]> writes:
> "robby" <[EMAIL PROTECTED]> writes:
>
> > Hi,
> > In mysql, if i have a column like
> > field enum('A','B','C') DEFAULT 'A' NOT NULL
> > what should be the matched xml?
>
> I'm not positive, but think that ENUM is MySQL-specific. Can anyone
> confirm this?
>
> We hit this same issue while porting to Torque and dealt w/ it by
> using a VARCHAR field w/ the ENUM's constants defined in a Java
> interface which we have our non-Base business objects implement.
p.s. Java constants that mapped to short integer fields would be much
more efficient, but we chose text for ease of porting.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]