>From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
>
>1. Why is Integers automatically converted to int by Orion - 
>and is this a
>standard EJB convention?

Yes.  All the class representations of the primitive types should work
that way.

>2. Would it be legal to have a primary key of the primitive type "int"
>instead of Integer?

No.  Primary keys must be Objects.  This makes sense because
EntityContext.getPrimaryKey() returns an Object.

Jeff

Reply via email to