ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Le Roux <jacques.le.r...@les7arts.com>
Subject Re: Adding new company detail. ?
Date Mon, 22 Jan 2018 08:39:20 GMT
Le 22/01/2018 à 09:35, Julian Smith a écrit :
> The Following Errors Occurred:
>
> Exception thrown while creating the "newValue" GenericValue:
> org.apache.ofbiz.entity.GenericEntityException: Error while inserting:
> [GenericEntity:ContactMech][contactMechId,10002(java.lang.
> String)][contactMechTypeId,WEB_ADDRESS(java.lang.String)][createdStamp,2018-01-22
> 19:30:51.839(java.sql.Timestamp)][createdTxStamp,2018-01-22
> 19:30:51.788(java.sql.Timestamp)][infoString,https://blockfreight.com
> (java.lang.String)][lastUpdatedStamp,2018-01-22 19:30:51.839(java.sql.
> Timestamp)][lastUpdatedTxStamp,2018-01-22 19:30:51.788(java.sql.Timestamp)]
> (SQL Exception while executing the following:INSERT INTO CONTACT_MECH
> (CONTACT_MECH_ID, CONTACT_MECH_TYPE_ID, INFO_STRING, LAST_UPDATED_STAMP,
> LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?,
> ?, ?, ?) ((conn=1857) Duplicate entry '10002' for key 'PRIMARY')) (Error
> while inserting: [GenericEntity:ContactMech][contactMechId,10002(java.lang.
> String)][contactMechTypeId,WEB_ADDRESS(java.lang.String)][createdStamp,2018-01-22
> 19:30:51.839(java.sql.Timestamp)][createdTxStamp,2018-01-22
> 19:30:51.788(java.sql.Timestamp)][infoString,https://blockfreight.com
> (java.lang.String)][lastUpdatedStamp,2018-01-22 19:30:51.839(java.sql.
> Timestamp)][lastUpdatedTxStamp,2018-01-22 19:30:51.788(java.sql.Timestamp)]
> (SQL Exception while executing the following:INSERT INTO CONTACT_MECH
> (CONTACT_MECH_ID, CONTACT_MECH_TYPE_ID, INFO_STRING, LAST_UPDATED_STAMP,
> LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?,
> ?, ?, ?) ((conn=1857) Duplicate entry '10002' for key 'PRIMARY')))
>
You need to give us more context, which version for instance?

Jacques


Mime
View raw message