• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
"bit" as External Data Type in EO modeling SQL Server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"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:35:34 -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

  • Prev by Date: "bit" as External Data Type in EO modeling SQL Server
  • Next by Date: Re: Creating PDF from MS Word Document
  • Previous by thread: "bit" as External Data Type in EO modeling SQL Server
  • Next by thread: Re: "bit" as External Data Type in EO modeling SQL Server
  • Index(es):
    • Date
    • Thread