hbm2ddl=validate and "missing table" on Oracle10g
-------------------------------------------------
Key: HHH-3098
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3098
Project: Hibernate3
Issue Type: Bug
Components: core
Affects Versions: 3.2.5
Environment: Hibernate 3.2.5.GA, Hibernate Annotations 3.3.0.GA, Oracle 10g
(10.2.0.1.0), WebLogic 9.2 (JDK 1.5).
Reporter: Daniel Baryla
Attachments: bug-attachment.zip
I've got a database with some tables. Everything is mapped to Hibernate using classic
HBM files. The problem is Hibernate reports missing table (DYSPOZYCJA_DOKUMENTY) even
though the table exists and it seems to be mapped correctly. If you take a look on
attached log file you will see Hibernate validated a couple of tables before reporting
DYSPOZYCJA_DOKUMENTY is missing. I've done a test: removed table BIURO_MAKLERSKIE and
redeployed my application - Hibernate reported BIURO_MAKLERSKIE is missing (which is
correct of course).
Note that I've tried to init Hibernate without [new
Configuration().configure().buildSessionFactory()] and with Hibernate Annotations [new
AnnotationConfiguration().configure().buildSessionFactory()] - results are the same.
I've attached:
- hibernate log
- ddl, source and mapping files for 2 tables (BIURO_MAKLERSKIE and DYSPOZYCJA_DOKUMENTY)
- hibernate configuration file
- source for HibernateUtil I use to intialize Hibernate
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira