[EMAIL PROTECTED] schrieb:

or maybe BYTE?


yes, this would be ok took,

we 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


i thought about this too, but i have several types like this and i would have to
write a conversion class for each type.


joerg


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to