webtier@glassfish.java.net

Re: [webtier] Re: 'Attempt to modify an identity column' exception (no Hibetnate)

From: <webtier_at_javadesktop.org>
Date: Wed, 15 Jul 2009 18:31:59 PDT

@Column(name = "STATUS",
insertable = false,
columnDefinition="varchar(8) default 'INACTIVE' not null")
private String status = "INACTIVE";

Wouldn't that work?
[Message sent by forum member 'driscoll' (driscoll)]

http://forums.java.net/jive/thread.jspa?messageID=355875