]
Emmanuel Bernard commented on ANN-726:
--------------------------------------
Can you provide a test case, I am not entirely sure what you mean.
IncrementGenerator ignores catalog/schema of @Table annotation in
domain object
-------------------------------------------------------------------------------
Key: ANN-726
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-726
Project: Hibernate Annotations
Issue Type: Bug
Affects Versions: 3.3.1.CR1, 3.3.1.GA
Environment: Hibernate 3.2.6.GA, Sybase ASE
Reporter: Michael Thiele
The Generator only uses the default schema and catalog, if set. It ignores the schema and
catalog set in the @Table annotation in the domain class:
example:
default schema set in hibernate.cfg.xml:
<property name="default_schema">someDefaultSchema</property>
schema and catalog set in domain object:
@Table(name = "someTable", catalog = "someCatalog", schema =
"someOtherSchema")
SQL statement executet:
select max(someId) from someDefaultSchema.someTable
catolog is missing in statement, schema is someDefaultSchema instead of someOtherSchema.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: