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