Archiv für Juni, 2010

Scala Entity and JPAExtension Examples (JPA 2.0)

I am using: a Mapped Superclass for all basic entities (MIPEntity) a pre persist entity listener to change some values the following hierarchy: MIPEntity . . . // do something with oi } withQuery (filter) Apply function on entity got by find (BigInteger as primary key). Type is inferred by oi: ObjectItem again: findAndApply(id) { [...]

, , ,

Keine Kommentare