"bit" as External Data Type in EO modeling SQL Server
"bit" as External Data Type in EO modeling SQL Server
- Subject: "bit" as External Data Type in EO modeling SQL Server
- From: WebObjects <email@hidden>
- Date: Wed, 18 May 2005 15:21:50 -0700
I was encountering problems in my initial design with
"java.lang.ClassCastException" related to a weird data type in the SQL
Server database I was modeling. I was able to do without these fields so I
used the little diamond in EOModeler to simply exclude it. Now I need
access to that field.
When I put it in my model EOModeler picks an Internal type of "NSNumber" and
external type of "bit". This causes java.lang.ClassCastException and the
stack points to the line in the EO's class file that represents this
troublesome attribute: "...at
Tbltasks.taskcompletedindicator(Tbltasks.java:308)"
Has anyone worked with a "bit" as a data type? (and gotten it to map to a
correct Java data type)
Thanks as always,
-Bill Reynolds
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden