-->
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.  [ 2 posts ] 
Author Message
 Post subject: HSQLDB Schema and Catalog creation using hbm2ddl.auto
PostPosted: Mon Dec 26, 2011 5:41 am 
Newbie

Joined: Mon Dec 26, 2011 5:22 am
Posts: 1
We have entity with one schema and two different catalog under same session-factory

Code:
@Table(name = "ABC", schema = "dbo", catalog = "ProvisioningDB")
and
@Table(name = "collection", schema = "dbo", catalog = "ArrangeDB"


We are using SQLServer as DB in production but for test cases we are using HSQLDB & DB-Unit.
So whenever we run hbm2ddl.auto to create schema for HSQLDB by scanning entity package, it is unable to create schema and catalog .Following is the error we get

Code:
Unsuccessful: create table ProvisioningDB.approved.content (content_id bigint generated by default as identity (start with 1)...)
4538 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaUpdate - user lacks privilege or object not found: PROVISIONINGDB


I have even try making schema manually in HSQLDB but code choke's because of catalog creation.I guess there is no support of multiple catalog under one schema in HSQLDB and I also feel that problem lies in HSQLDB Hibernate Dialect.

Kindly help me in this guys , I am stuck!!!!


Top
 Profile  
 
 Post subject: Re: HSQLDB Schema and Catalog creation using hbm2ddl.auto
PostPosted: Tue Oct 02, 2012 3:15 am 
Newbie

Joined: Tue Oct 02, 2012 3:11 am
Posts: 1
Check this out:- https://hibernate.onjira.com/browse/HHH-2031


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

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.