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?

C=)

--------------------------------------------------------------------------
There are no significant bugs in our released software that any significant 
  number of users want fixed.  -Bill Gates, Focus Magazine, Oct 23, 1995
--------------------------------------------------------------------------
Caskey <caskey*technocage.com>       ///                   TechnoCage Inc.
--------------------------------------------------------------------------
        "Welcome to the slippery slope, here is your handbasket.
             ...say, can you work 70 hours this week?"



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

Reply via email to