|Possible Bug in Column Generation [message #385759]
||Mon, 09 March 2009 14:33
| Dick Smyte
Registered: July 2009
I've been using the columnDefinition attribute on the Column annotation to
try and specify what I want my columns to be like.
I've had no problems until I tried to do it to a Primary Key Column:
private String homeEnrolmentID;
This gives the error:
Exception in thread "main" javax.persistence.PersistenceException:
Exception [EclipseLink-7008] (Eclipse Persistence Services - 1.0.2 (Build
Exception Description: The Java type [null] is not a valid database type.
I have no idea whats wrong, it works fine with columns that do not have
the @Id annotation. Is there a different way to specify Column properties
when its a Primary Key?
Thanks so much for any help!
Powered by FUDForum
. Page generated in 0.01429 seconds