[JBoss JIRA] Created: (JBIDE-9535) JPA: take into account hibernate.default_schema/hibernate.default_catalog when validate Table
by Dmitry Geraskov (JIRA)
JPA: take into account hibernate.default_schema/hibernate.default_catalog when validate Table
---------------------------------------------------------------------------------------------
Key: JBIDE-9535
URL: https://issues.jboss.org/browse/JBIDE-9535
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Hibernate
Affects Versions: 3.3.0.M2
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Fix For: LATER
JPA validator doen't take into account hibernate.default_schema/hibernate.default_catalog when validates Table existance.
Test case:
1. Create table mytable in schema test
2. in Persistence.xml add hibernate.default_schema=test
3. cerate Entity Mytable without @Table(schema="test")
4. Make a DTP connection to the databse
OBSERVE: wrong error appiared (Table "Mytable" cannot be sesolved)
add @Table(schema="test") - error disappeared
Probably the properties should be processed like the project properties (Oveddide default schema/catalog)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years