openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilkos <>
Subject Mapping Domain or Struct PostgreSQL type
Date Sat, 14 Aug 2010 21:07:18 GMT


After creating EntityManagerFactory instance, I receive error message:
Exception Description: Predeployment of PersistenceUnit [aPU] failed.
Internal Exception: Exception [EclipseLink-7157] (Eclipse Persistence
Services - 2.0.2.v20100323-r6872):
Exception Description: Entity class [class Table] must use a @JoinColumn
instead of @Column to map its relationship attribute [Price].
Column Price is Domain type (example: CREATE TYPE MONEY AS NUMERIC(10,2)

How to use Domain or Struct PostgreSQL types? Is it possible with JPA?

Please advise 
View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message