Re: Hibernate problems with MYSql
Posted by: Mark Matthews
Date: March 03, 2005 02:21PM

Glenn Davidson wrote:
> Mark,
>
> The SQL output is just :
>
> select from
>
> That is the complete SQl command echoed back to
> the console.
>
> I know the table exists and has 8 rows of data.

Glenn,

It looks like you have a _Hibernate_ problem then, since it's generating a non-sensical query, "SELECT FROM".

The JDBC driver and database really have little to do with the SQL that Hibernate generates (other than type mapping). You might have more luck asking over in the hibernate forums if you have your mapping files and configuration setup correctly.

You could post them here, but I'd be the only one that probably looks at them, you'd get a lot of eyeballs over at hibernate.org.

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject
Written By
Posted
Re: Hibernate problems with MYSql
March 03, 2005 02:21PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.