Re: WebObjects Error in Wonder D2W when populating MS SQL Server example
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