• 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: WebObjects Error in Wonder D2W when populating MS SQL Server example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebObjects Error in Wonder D2W when populating MS SQL Server example


  • Subject: Re: WebObjects Error in Wonder D2W when populating MS SQL Server example
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 26 Sep 2008 15:56:09 -0700


On Sep 26, 2008, at 2:36 PM, Mike Schrag wrote:

The down side, the error shown below is generated when trying to save a new entry in to the database such as dept= {dnum = ?, dname = "pain", mname ="", length= "0", takess = null} where dnum is the key and is a nchar of length 10.
Your PK is an nvarchar(10)? EOF isn't going to be able to generate a PK for that ... byte[12] (I think 12?) and numeric values only. What value would you expect it to generate in a string? You can write a custom plugin to do this, of course (or maybe in one of the db delegates).


I totally missed that before. That may be the true source of this error message.

Chuck

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ 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
References: 
 >WebObjects Error in Wonder D2W when populating MS SQL Server example (From: Daniel Beatty <email@hidden>)
 >Re: WebObjects Error in Wonder D2W when populating MS SQL Server example (From: Mike Schrag <email@hidden>)

  • Prev by Date: Fwd: WebObjects Error in Wonder D2W when populating MS SQL Server example
  • Next by Date: Re: ERXApplicaton or WOApplication
  • Previous by thread: Fwd: WebObjects Error in Wonder D2W when populating MS SQL Server example
  • Next by thread: Re: WebObjects Error in Wonder D2W when populating MS SQL Server example
  • Index(es):
    • Date
    • Thread