SDO 2.1 has added a new method for this, Property.isNullable(). Unfortunately we haven't implemented in yet in Tuscany (it currently throws UnsupportedOperationException if you call it).
The implementation plan is to add an EAnnotation on EStructuralFeatures created in SDOXSDEcoreBuilder, to store the nillable value, and then use that EAnnotation to implement the new isNullable() method. It's not on our high priority list but If you'd like to do it and provide a patch, that would be most welcome. Thanks, Frank. Ron Gavlin <[EMAIL PROTECTED]> 02/09/2007 02:16 PM Please respond to [email protected] To tuscany-user tuscany-user <[email protected]> cc Subject public static boolean SDOUtil.isNillable(Property property) implementation? Greetings, I need a way to determine if an SDO property is nillable. I suspect EMF APIs are required to implement such a method but it isn't obvious to me how to use EMF to do it? Would a static method SDOUtil.isNillable(Property property) be an appropriate place to implement such a method? Any suggestions for an implementation? Regards, - Ron --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
