-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate mapping issue
PostPosted: Tue Jan 31, 2006 5:40 am 
Newbie

Joined: Tue Jan 31, 2006 4:59 am
Posts: 4
Hi,

I'm using JBoss 4.0.3SP1 with EJB3. When Hibernates tries to map one of my queries to mysql it gives me:

[exec] 09:54:48,108 INFO [STDOUT] Hibernate: /* SELECT ae.id FROM AuditEntry AS ae ORDER BY ae.sequence */ select auditentry0_.aseq as col_0_0_ from audit auditentry0_ order by auditentry0_.aseq

I think that should be something like (running mysql 5):
SELECT ae.aid FROM audit AS ae ORDER BY ae.aseq;

It this a bug in Hibernate?


Regards,
Frank


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.