Generated queries contain schema and catalog name
Posted
by stacker
on Stack Overflow
See other posts from Stack Overflow
or by stacker
Published on 2010-05-20T11:50:12Z
Indexed on
2010/05/22
20:30 UTC
Read the original article
Hit count: 265
I've the same problem as described here
In the generated SQL Informix expects catalog:schema.table
but what's actually generated is
catalog.schema.table
which leads to a syntax error. Setting:
hibernate.default_catalog=
hibernate.default_schema=
had no effect.
I even removed schema and catalog from the table annotation, this caused a different issues : the query looked like that ..table
same for setting catalog and schema to an empty string.
Versions
- seam 2.1.2
- Hibernate Annotations 3.3.1.GA.CP01
- Hibernate 3.2.4.sp1.cp08
- Hibernate EntityManager 3.3.2.GAhibernate
- Jboss 4.3 (similar to 4.2.3)
© Stack Overflow or respective owner