-->
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.  [ 2 posts ] 
Author Message
 Post subject: SQL generated does not work
PostPosted: Fri Feb 25, 2005 11:21 am 
Newbie

Joined: Wed Feb 23, 2005 3:34 pm
Posts: 16
Location: Irving, Tx
[b]Hibernate version:[/b]
2.1.8 on MySQL

This issue was found in the TOOLS forum, but after reading my addition to the post, you'll see it appears that it is not a tool(xml generator) issue, so I'm posting a link here.

The issue is.. HSQL taking form "from tablename" does not work, but the same hbm.xml works for form "from tablename e where e.column = (or like) ?"

The sql generator is prefixing the tablename with underscore, which is fine for an alias, but it results in "table not found" when not kept seperate.

Please the the original post for more details and stack
I also included HSQL forms I tried as a workaround that may be considered for future support.

Thanks


Top
 Profile  
 
 Post subject: http://forum.hibernate.org/viewtopic.php?t=939095
PostPosted: Fri Feb 25, 2005 11:22 am 
Newbie

Joined: Wed Feb 23, 2005 3:34 pm
Posts: 16
Location: Irving, Tx
oops,
here's the link

http://forum.hibernate.org/viewtopic.php?t=939095


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

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.