You're welcome - It could be because of the fact the discriminator column
used to have the name of the class (now the discriminator is only created if
inheritance is involved), I think the discriminator was created for every
entity (inheritance or not) before in the hibernate cartridge (which is bad
in my opinion).

Chad

-----Original Message-----
From: Bernard Sirius [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 10, 2005 2:43 PM
To: Chad Brandon
Subject: RE: [Andromda-user] hibernate queries don't work anymore

yep. works! Had never specified packages before.
Apparently the two cartridges behave slightly
diffently when it come to hibernate.

thanks

bernard

--- Chad Brandon <[EMAIL PROTECTED]> wrote:

> I guess you did show me one :)  Does AccessRights
> have a package?
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of Bernard
> Sirius
> Sent: Thursday, February 10, 2005 2:12 PM
> To: [email protected]
> Subject: [Andromda-user] hibernate queries don't
> work anymore
> 
> Since I'm using the spring cartridge, vs the
> hibernate
> one, my hibernate queries aren't working anymore.
> 
> saving entities works though
> 
> look at the following query, it's perfectly normal,
> plain and simple, but I keep getting the exception.
> I've tried all sorts of queries, from complex to
> extremely simple ("from AccessRights"), the
> exception
> is always the same:
> 
>
org.springframework.orm.hibernate.HibernateQueryException:
> in expected: accessrights [SELECT accessrights FROM
> AccessRights accessrights]
> 
> The schema is up-to-date, the right hibernate
> dialect
> is configured (MySQL),...
> 
> I suppose (hope) this is a common misconfiguration
> problem...
> 
> bernard
> 
> 
>               
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - Helps protect you from nasty viruses. 
> http://promotions.yahoo.com/new_mail
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Andromda-user mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/andromda-user
> 
> 
> 



                
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page  Try My Yahoo!
http://my.yahoo.com 




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to