hi,
as you know I am switching from EJB2.1 CMP to JPA (OpenJPA). I'd like to
know the preferred way to perform attribute initialisation
of newly created entity instances, e.g.
we initialized our EJB2.1 CMP entity beans with
ejbCreate(String cid, Integer someOtherValue)
{
setabc();
Hi Hans,
On Apr 12, 2007, at 8:43 AM, Hans J. Prueller wrote:
hi,
as you know I am switching from EJB2.1 CMP to JPA (OpenJPA). I'd
like to know the preferred way to perform attribute initialisation
of newly created entity instances, e.g. we initialized our EJB2.1
CMP entity beans with
I thought the no-arg constructor had to be public or protected - see
2.1 Requirements on the Entity Class section where this is mentioned.
If that's not the case so much better, but I have been adding a
protected constructor in my entities.
Cheers,
Thomas
Craig L Russell wrote:
Hi Hans,
On