Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] No inserts happen on table

Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services -
2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions
.DatabaseException
Internal Exception: org.postgresql.util.PSQLException: ERROR: null value
in column "username" violates not-null constraint
Error Code: 0
Call: INSERT INTO ADDRESS (ZIPCODE, TOWN, ADDRESSLINE2, ADDRESSLINE1,
COUNTRY) VALUES (?, ?, ?, ?, ?)
       bind => [1001, Tunis, null, some place, Tunisia]

this says it all... the column "username" does not get filled in your
database table,
probably because the user is not set in the address entity.

-- 
Dominik Dorn
http://dominikdorn.com

http://www.lyrix.eu/lyrics/Linkin-Park/


Back to the top