I'm fetching a single object from Frontbase and the adapter is sending the binding as a string instead of an int.

I'm using the WOnder Frontbase adapter 5.0.0.8987 and the recent build of WOLips (3.4.5694).

I've confirmed the definition is correct in the EOModel and the FetchSpec seems correct.

Here's the relevant code and result (note the ='1'; instead of =1;)

I saw a similar problem on the list, and it suggested ensuring the latest WOnder adapter, which I think I have.

Ideas?

Best,

Drew


Integer aGraphID = new Integer(1);
NSDictionary bindings = new NSDictionary( aGraphID, "externalGraphIDIn" );
try {
Graph g = (Graph)EOUtilities.objectWithFetchSpecificationAndBindings( ec, "Graph", "FetchSingleGraph", bindings);
}


Semantic error 485. Near: SELECT \"t0\".\"externalGraphID\", \"t0\". \"oid\", \"t0\".\"title\" FROM \"GRAPH\" AS \"t0\" WHERE \"t0\". \"externalGraphID\"='1';.

 _______________________________________________
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]

Reply via email to