Hi,
I have an persistable entity which has an identifier property setup with
following annotations:
@Id
@GeneratedValue( strategy = GenerationType.IDENTITY)
@Column( name = "ID" )
private Long id;
When I attempt to persist a new instance, I get back a NULL id.
I am not sure if it matters but I am using Spring 2.5 for wiring up
application beans and my Store implementation extends from:
org.springframework.orm.jpa.support.JpaDaoSupport
to use the JpaTemplate.
I am new with openjpa, and appreciate any pointers - where should I
start investigating this?
Thanks in advance,
Rahul
|