Hi,
I have changed an old postgresql jdbc driver to a new driver. Now I
have some error about boolean attribute, such the following:
Next exception:SQL State:42804 -- error code: 0 -- msg: ERROR: column
"is_validated" is of type integer but expression is of type boolean.
You will need to rewrite or cast the expression
For years everything is went well with the old driver but I would like
to upgrade some stuff now.
In Entity Modeler the attribute look like as usual:
Data Type: Custom
External type: int4
Class: java.lang.Boolean
Value Class: NSNumber
Value Type: c
The getter/setter method are
public Boolean isValidated() {
return (Boolean)storedValueForKey("isValidated");
}
public void setIsValidated(Boolean value) {
takeStoredValueForKey(value, "isValidated");
}
Any hint ? Perhaps one need override some method in the
PostgresqlPlugIn ? I'm not an expert on jdbc adaptor, can someone help
me ?
Regards
Paolo
_______________________________________________
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]