PK generation?!?
PK generation?!?
- Subject: PK generation?!?
- From: Ondřej Čada <email@hidden>
- Date: Wed, 10 Sep 2008 17:06:29 +0200
Hello all,
someone who understands how exactly does EOF generate PK's with
FrontBase and the default setup (PK's generated automatically) -- any
idea whether (and if so, why) a duplicated PK can be generated?
A client just have reported to me this error:
Database Error: com.webobjects.eoaccess.EOGeneralAdaptorException:
EvaluateExpression failed: <com.webobjects.jdbcadaptor.FrontbasePlugIn
$FrontbaseExpression: "INSERT INTO "ORDERITEM"("RUBBER", "PRICE",
"FROM", "ORDER_ID", "C_CREATION_DATE", "DATE", "OID", "EXPRESS",
"PAD", "DISAPPROVED_SINCE", "PADCOLOR", "COMPLETE",
"C_SAMPLEGROUP_CHECK", "SAMPLE_ID") VALUES (NULL, NULL, NULL, 1019876,
TIMESTAMP '2008-09-10 16:13:27.561', TIMESTAMP '2008-09-10
16:13:27.561', 1042378, false, NULL, NULL, '?erná', 100, NULL,
1046134)">:
Next exception:SQL State:23 -- error code: 358 -- msg: Exception
condition 358. Integrity constraint violation (PRIMARY KEY,
ORDERITEM._C0000000015(OID=1042378)).
Thanks,
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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