OK, still no luck.
I have one column in the table which is called "active" and is an int (precision of 11) and default of 1. This is modeled as an intBoolean and works fine I have another column in the same table which is called "pushed" and is an int with a precision of 11 and a default of 1. It is also modeled as an intBoolean, and works fine with the app running on the development machine but fails on the server with the rest error referred to before.
I deleted the column and the model attribute and the table and entity work fine. I recreated them, same problem I did it again and recreated them as intNumber and got the Integer version of the same error as a response from rest.
com.MyCommon.eos.MyEntity.pushed()Ljava/lang/Integer;.
I removed the prototype (and set the external value as int and class to integer) and get the same error. I cleaned and repeated, no effect. I have redeployed dozens of times (because as I mentioned it works fine on the dev box), no luck.
I am completely at a loss. I suppose we could just delete the column and give up on the feature that this was supposed to represent, but that seems like a highly questionable solution.
Andrew Date: Thu, 14 Apr 2011 11:43:55 -0400 From: Andrew Kinnie <email@hidden> Subject: intBoolean To: WebObjects-Dev List <email@hidden> Message-ID: <email@hidden">email@hidden> Content-Type: text/plain; charset="us-ascii"
I have an app tied to a model which has an entity with an intBoolean attribute.
The database is MySQL. My dev machine connects to the save database as the app does deployed for testing.
I have an ERRest interface which has an action method which sets the variable if it is not passed into the request. This works fine on the dev machine. However, the same app, deployed onto the server, talking to the same database returns this:
"com.MyCommon.eos.MyEntity.notPushed()Ljava/lang/Boolean;"
Equally fascinating, I have several other entities with other intBoolean variables which work perfectly fine. No error. I have another intBoolean variable in this very table which works fine. I deleted the column and re-created it. Same problem. I renamed it. Same problem.
Anyone have any idea what this is?
Andrew Kinnie
PS: I am running wonder from the end of last week, and I have all the frameworks bundled into the tarball, and have checked the box (that I never before knew existed) under the Order and Export tab (that I never before knew existed) of the common framework's properties Java Build Path:
|