• 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
Re: LONG column problem?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LONG column problem?


  • Subject: Re: LONG column problem?
  • From: Art Isbell <email@hidden>
  • Date: Sun, 19 Oct 2003 16:06:02 -1000

On Sunday, October 19, 2003, at 03:54  PM, Robert A. Decker wrote:

We have a couple of columns in our app that are type LONG (oracle) and
bound to an NSData. When I try to insert data I get the following error:


Next exception:SQL State:72000 -- error code: 1461 -- msg: ORA-01461: can
bind a LONG value only for insert into a LONG column

Just a guess... It doesn't appear that Oracle is receiving what it considers to be a LONG which I assume is a long integer. If it is receiving an NSData, that would be binary content which might cause Oracle's complaint. Have you tried setting the attribute's internal data type to BigDecimal? I realize that BigInteger might seem more appropriate, but I haven't seen BigInteger support in EOF.


Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: LONG column problem?
      • From: sean roehnelt <email@hidden>
References: 
 >LONG column problem? (From: "Robert A. Decker" <email@hidden>)

  • Prev by Date: LONG column problem?
  • Next by Date: Re: Reusable Components [solved & summarised]
  • Previous by thread: LONG column problem?
  • Next by thread: Re: LONG column problem?
  • Index(es):
    • Date
    • Thread