hi,
it seems to be some sort of class-loading issue - the PrimaryKey class
that the generator returns, and the one that the bean uses seems to have
been loaded by a different classloader, so even though they are the same
class, they are not compatible. have someone encountered the same issue?
is t
hi,
excuse my arrogance for re-posting this, but i haven't found a solution
for the problem described below:
On Tue, 10 Dec 2002 12:34:56 -0500, [EMAIL PROTECTED] said:
> hi,
>
> On Tue, 10 Dec 2002 10:34:30 +1100, "Gavin King" <[EMAIL PROTECTED]>
> said:
> > Oh, so it isn't actually a composite
hi,
On Tue, 10 Dec 2002 10:34:30 +1100, "Gavin King" <[EMAIL PROTECTED]>
said:
> Oh, so it isn't actually a composite key. I didn't understand
> properly then. Well, using a UserType is exactly the right
> approach. You would also need to implement IdentifierGenerator
> to generate instances of P
hi,
On Tue, 10 Dec 2002 09:10:09 +1100, "Gavin King" <[EMAIL PROTECTED]>
said:
> This has been requested once before, and it would be very
> trivial to add support for a subelement of
> . But theres always something very fishy
> about using a generated (ie. synthetic) composite id. It
> really m
hi,
On 08 Dec 2002 10:25:30 -0500, "Chris Winters" <[EMAIL PROTECTED]>
said:
> On Sat, 2002-12-07 at 19:12, [EMAIL PROTECTED] wrote:
> > how can one use an alternative class for primary keys (eg. MyPrimaryKey
> > instead of a string)? I tried using a UserType for this purpose, but
> > reflection f
hi,
how can one use an alternative class for primary keys (eg. MyPrimaryKey
instead of a string)? I tried using a UserType for this purpose, but
reflection fails with an IllegalArgumentException in
AbstractEntityPersiser.setIdentifier.
best regards,
viktor
--
[EMAIL PROTECTED]
--
htt
hi,
On Tue, 22 Oct 2002 04:34:54 +1000, "Gavin King" <[EMAIL PROTECTED]>
said:
> Can we use this to do lazy initialization of objects without the need for
> proxy interfaces?
wouldn't you have to do this at class loading time then? that is: how
would you make your generated look like the original
hi,
would it be feasible to migrate to using the Enum classes from jakarta
(lang commons)? in the long run, i think it would greatly reduce the need
to create adapter classes for these...
best regards,
viktor
--
[EMAIL PROTECTED]
--
http://fastmail.fm - Email service worth paying fo
This mail is probably spam. The original message has been attached
along with this report, so you can recognize or block similar unwanted
mail in future. See http://spamassassin.org/tag/ for more details.
Content preview: hi, On Tue, 20 Aug 2002 17:09:23 +0200, "Christoph
Sturm" <[EMAIL PROTE