I have a column ACTIVE defined as INTEGER in a Frontbase DB. The model
defines the attribute as:
Prototype: intBoolean
External Type: INTEGER
Data Type: Boolean - boolean c
I'm running into problems with this code:
EOQualifier qualifier = Client.ACTIVE.is(Boolean.TRUE);
Client client = Client.fetchClient(ec, qualifier);
It generates:
...WHERE ("T0"."ACTIVE"=TRUE)
Which throws:
Semantic error 217. Datatypes are not comparable or don't match.at
com.frontbase.jdbc.FBJErrorMetaData.errorMessageAtIndex(FBJErrorMetaData.java:162)
at
com.frontbase.jdbc.FBJErrorMetaData.getExceptionChain(FBJErrorMetaData.java:194)
at com.frontbase.jdbc.FBJStatement.checkMetaData(FBJStatement.java:472)
at com.frontbase.jdbc.FBJStatement.execute(FBJStatement.java:175) at
com.webobjects.jdbcadaptor.JDBCChannel._bindInputVariablesWithBindingsAndExecute(JDBCChannel.java:272)
at
Clearly I could change my qualifier to use an integer value of one but I
suspect there's a way to make this work. Any help is appreciated.
Thanks,
Jon
WO 5.4.3
WOLips 3.3.5514
Wonder 10/15/2008
Mac OS X 10.5.5
_______________________________________________
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]