A while ago while working in in XCode (2.4.1) i was
able to map my booleans from my postgresql backend
like this:
{
adaptorValueConversionMethodName =
toString;
allowsNull = Y;
columnName = isactive;
externalType = varchar;
factoryMethodArgumentType =
EOFactoryMethodArgumentIsNSString;
name = isactive;
valueClassName = Boolean;
valueFactoryMethodName = "valueOf:";
width = 5;
},
this worked fine..... (maybe there is a better way but
for my needs it was fine.)
when I try to do this in eclipse (WO 5.4) I get this
error:
Error: java.lang.reflect.InvocationTargetException
Reason: java.lang.NoSuchMethodException: Class
java.lang.Boolean does not implement method valueOf
Is there an example out there somewhere that shows a
good way to use these boolean values from my
postgresql backend.
Ted
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]