On Mon, 2002-12-16 at 22:35, [EMAIL PROTECTED] wrote:
> 
> Sorry, I wasn't terribly specific. Yes, at the moment the compiler doesn't
> seem to mind returning the ObjectKey but getValue() returns an Object, not
> an int, and looking at the ObjectKey code it looks like nearly anything can
> be used as the primary key. I tried assuming this was an Integer, casting
> and using intValue() but that didn't get me very far. I see that NumberKey
> uses BigDecimal internally to keep track of it's counter -- do you think
> I'd be safe in casting ObjectKey to a NumberKey and then pulling out it's
> BigDecimal and then pulling out ITS int value?
> 

I believe that is exactly what you want to do.









--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to