Dominique,
Chuck's comment about identity columns cleared all my issues (basically, I changed the columns to integers). Aside from that, I have not had an issue with the plug-in using SQL Server 2008 R2. David ________________________________ From: Chuck Hill <[email protected]> Sent: Friday, March 4, 2016 1:44 PM To: Schoenenberger Dominique Cc: Ress, David A; [email protected] Subject: Re: SQL Server plugin framework Hi Dominique, I have not touched this in years, so it may need some updating. Chuck From: Schoenenberger Dominique <[email protected]<mailto:[email protected]>> Date: Friday, March 4, 2016 at 3:24 AM To: Chuck Hill <[email protected]<mailto:[email protected]>> Cc: "Ress, David A" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: SQL Server plugin framework Hello, I tried the MicrosoftPlugIn from WebObject distribution but it's not working correctly. In the post below, you mention a plugin you wrote and you provide a link. The link is not working anymore. Could you send me this code ? Thanks, Dominique On 25 Nov 2014, at 22:20, Chuck Hill <[email protected]<mailto:[email protected]>> wrote: On 2014-11-25, 1:12 PM, "Ress, David A" wrote: Good afternoon, My current question is a development issue: I am using SQL Server and I cannot seem to find its plugin framework within the latest Wonder builds listed at https://github.com/wocommunity/wonder. Could someone please tell me where I can find it? A version that I made long ago is here http://www.global-village.net/chill/ms_sql_server_eof_plugin I thought that a newer version went into Wonder, but I could be wrong. Without the plugin, I am getting the following error message when I attempt to insert a record from a form: "Cannot insert explicit values for identity column in table 'RxUser' when IDENTITY_INSERT is set to OFF." When I went into the EOModel to check things out, I noticed the plugin was not set for the current model. That led me to looking for the MicrosoftPlugIn.framework. Identity columns and EOF don't play well. The database expected to populate the identity column when the row is committed and EOF needs to know the PK value before it commits. I have never used nor know anything about setting IDENTITY_INSERT to off. I could possibly work. The plugin above does not do this. Any suggestions for working with SQL Server in general would be appreciated. Coming from FrontBase, SQL Server seems like a 2-ton gorilla trying to lift a breadbox. It is not my favourite database. My two pieces of advice are: don't use identity columns and don't lock on timestamp columns as SQL Server's timestamps are less accurate than JDBC/EOF and this results in optimistic locking failures. Or did with the 2008 version. Chuck _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]<mailto:[email protected]>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/dominique.schoenenberger%40nagra.com This email sent to [email protected]<mailto:[email protected]>
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
