-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate not looking at correct schema?
PostPosted: Tue Sep 21, 2010 7:25 pm 
Newbie

Joined: Tue Sep 21, 2010 7:20 pm
Posts: 1
I am using auto table creation to get things up and running quickly, however I am seeing some unexpected behaviour. When the oracle schema is empty and I startup hibernate I see the following:

Code:
org.hibernate.tool.hbm2ddl.DatabaseMetadata - table not found: table1
org.hibernate.tool.hbm2ddl.DatabaseMetadata - table not found: table2
org.hibernate.tool.hbm2ddl.DatabaseMetadata - table not found: table3
org.hibernate.tool.hbm2ddl.TableMetadata - table found: OTHERSCHEMA.TABLE4
org.hibernate.tool.hbm2ddl.TableMetadata - columns: [id, last_update, name, code, type, disabled, parent_id]
org.hibernate.tool.hbm2ddl.TableMetadata - foreign keys: []
org.hibernate.tool.hbm2ddl.TableMetadata - indexes: [u141584807, sys_c0058351]
org.hibernate.tool.hbm2ddl.DatabaseMetadata - table not found: table5

It works fine in mysql, however when we use oracle it picks up duplicate table names in other schemas and does not create those tables. Any ideas on how to sort this out?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.