or maybe BYTE?yes, this would be ok took,
i thought about this too, but i have several types like this and i would have towe have the same situation. We use the "type-safe" enum pattern in our application, i.e., a class DayOfWeek with a private constructor and seven static fields of type DayOfWeek, namely MONDAY, TUESDAY and so on.
Then we implement a class DayOfWeekToIntConversion implements org.apache.ojb.broker.accesslayer.conversions.FieldConversion
write a conversion class for each type.
joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]