Thursday, 15 April 2010

Glassfish eclipselink HashSet error -



Glassfish eclipselink HashSet error -

i using glassfish , jpa (eclipselink tenant)

in onetoonemapping on map insertablefield many objects added in map maintaining 1 instance per tenant. but after time using system hashset insertablefield in onetoonemapping presents size 0 , internal table contains value image two, , when scheme run insertablefields.contains method field not localized , not added in query causing next error.

see image

http://i.imgur.com/kalfgii.png?1 "hashset error"

the error, suggestion?

internal exception: org.postgresql.util.psqlexception: error: null value in column "id_user" violates not-null constraint detalhe: failing row contains (null, 0, 1).

insert "tenant".cfguser (column1, column2) values (?, ?) bind => [1, 0]

glassfish eclipselink hashset

No comments:

Post a Comment