[
https://issues.jboss.org/browse/JBIDE-9535?page=com.atlassian.jira.plugin...
]
Isaac Rooskov updated JBIDE-9535:
---------------------------------
Release Notes Docs Status: Documented as Feature Request
Writer: irooskov
Release Notes Text: A new feature has been added that allows for Hibernate
tooling to take into account the parameters: hibernate.default_schema and
hibernate.default_catalog, when validating the existence of a table.
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
Labels: new_and_noteworthy
Fix For: 4.0.0.Alpha1
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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira