Re: strange EO error
Re: strange EO error
- Subject: Re: strange EO error
- From: Robert Walker <email@hidden>
- Date: Fri, 16 Sep 2005 17:23:29 -0400
I'd would bet that you are using MySQL's TIMESTAMP instead of
DATETIME. Make sure you always use DATETIME in your model. MySQL's
TIMESTAMP data type auto updates if the field is not included within
the UPDATE statement. This freaks out EOF.
If you really want an auto updating TIMESTAMP make sure you are not
using it for optimistic locking.
On Sep 16, 2005, at 1:08 PM, Chuck Hill wrote:
That means that one of the columns is using a data type that
suffers from conversion errors going from the DB to the app and
back to the DB. You will need to experiment with the SQL to
determine which and then see if the value type or external type in
the model can be adjusted to make it work. If not, you will have
to mark the affected attribute as not used for locking.
Chuck
On Sep 16, 2005, at 1:05 AM, Amedeo Mantica wrote:
Is really strange, the exception occour only with MySQL, no
problem with OpenBase
On 15/set/05, at 21:31, Art Isbell wrote:
On Sep 15, 2005, at 7:13 AM, Robert Walker wrote:
This is a JDBCChannel exception, which tell me that you are
attempting to delete an object where the row in the database has
already been deleted. In other words, you have an EO that
represents an already deleted database row.
Or another process has updated an attribute used for locking
since the current process fetched the object being deleted; i.e.,
an optimistic locking exception.
Aloha,
Art
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40macintossicati.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects
developers who want to increase their overall knowledge of
WebObjects, or those who are trying to solve specific application
development 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:
40mac.com
This email sent to email@hidden
_______________________________________________
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