Still not able to reproduce this...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Steve Ebersole
Sent: Friday, June 09, 2006 9:44 AM
To: Hibernate development
Subject: Re: [Hibernate] Query failing
I'll take a look. That code block should
nuel Bernard
Cc: Hibernate development
Subject: Re: [Hibernate] Query failing
On Fri, 09 Jun 2006 16:16:44 +0200, Emmanuel Bernard
<[EMAIL PROTECTED]> wrote:
> But it *is* working if item the alias is renamed i.
yes, because you don't have a class named org.hibernate.ejb.tes
which test is this ? Trying to reproduce it here but no luck.
/max
>
>> But it *is* working if item the alias is renamed i.
>
> yes, because you don't have a class named org.hibernate.ejb.test.i
>
> Note, i can't see why it actually tries to load
> org.hibernate.ejb.test.item and not just item.
>
On Fri, 09 Jun 2006 16:16:44 +0200, Emmanuel Bernard
<[EMAIL PROTECTED]> wrote:
> But it *is* working if item the alias is renamed i.
yes, because you don't have a class named org.hibernate.ejb.test.i
Note, i can't see why it actually tries to load
org.hibernate.ejb.test.item and not just it
But it *is* working if item the alias is renamed i.
Max Rydahl Andersen wrote:
>
> > No, this is a pure Hibernate EntityManager test, it has nothing to do
> > with app servers.
>
> ah - i didn't see that getConstantValue thingy.
> that error is because of terrible windows that forces the classloa
the fix is either to add an extra catch or somehow improve the parser so it
doesn't try to resolve a classname out of an alias.
/max
>> No, this is a pure Hibernate EntityManager test, it has nothing to do
>> with app servers.
>
> ah - i didn't see that getConstantValue thingy.
> that error is b
> No, this is a pure Hibernate EntityManager test, it has nothing to do
> with app servers.
ah - i didn't see that getConstantValue thingy.
that error is because of terrible windows that forces the classloaders
to have case ignored for lookups ;)
/max
> Max Rydahl Andersen wrote:
>>
>> I have
No, this is a pure Hibernate EntityManager test, it has nothing to do
with app servers.
Max Rydahl Andersen wrote:
>
> I have seen similar NoClassDef when dealing with classloaders in eclipse.
>
> It looks like the current context thread might not be behaving as it
> should ?
> Does this happen
I have seen similar NoClassDef when dealing with classloaders in eclipse.
It looks like the current context thread might not be behaving as it
should ?
Does this happen only under GlassFish or ?
(but weird that changing the alias makes a difference?)
/max
> Steve,
> JPA compliance + the lite
Steve,
JPA compliance + the literal thing seems to give trouble to
Query q = em.createQuery( "select item from Item item where item.descr
like 'Microk_oft mouse' escape 'k' " );
ava.lang.NoClassDefFoundError: item (wrong name:
org/hibernate/ejb/test/Item) at
java.lang.ClassLoader.defineClass1
10 matches
Mail list logo