[EMAIL PROTECTED] wrote:
> 
> On Sep 29, Ole Husgaard quoth:
> 
> > When I try to use java.lang.Integer for a primary
> > key in a BMP entity bean, the verifier complains:
> >
> > [Verifier] EntityExc: The primary key class must be a legal Value Type in RMI-IIOP.
> >
> > But Integer looks to me like a legal RMI-IIOP value
> > type.
> > When looking at the verifier code, it looks like this
> > message comes because Integer does not have a no-argument
> > constructor, but I don't think this is required.
> >
> > So the question is:
> > Is this a bug in the verifier, or a bug in my perception?
> 
> >From what I can see, java.lang.Integer is a perfectly valid RMI-IIOP type.
> Is the actual bean attribute an int or an Integer?

java.lang.Integer all the way (except when I extract the int
in my internal bean code for database operations).


Best Regards,

Ole Husgaard.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to