Hi All,
Given an entity like
Class A {
@Id @GeneratedValue(strategy=IDENTITY)
Long id;
@OneToMany(mappedBy="somefield")
List<Thing> things;
}
If you try to persist it, no insert happens, because the row doesn't
actually have any data in it. Although, if you add a string field with a
value the insert does occur.
Has anybody else noticed this?
Cheers,
Roger
--
View this message in context:
http://www.nabble.com/1.1.0-SNAPSHOT%3A-insert-skipped-when-no-columns-to-be-set-tp17331076p17331076.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.