-->
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: Websphere + DB2/400 - tables are created in library QGPL
PostPosted: Mon Aug 23, 2004 9:41 am 
Newbie

Joined: Fri Jan 23, 2004 8:09 am
Posts: 5
This is probably really a websphere question, but I wonder if anyone has similar experience and has solved it.

When I use Hibernate with a DB2/400 data source in Websphere, and set the property on the session factory to auto-create the tables, they are all created in the default library QGPL.

Does anyone know how to stop that and ensure they are created in the library I want? Either by correct configuration of the websphere datasource, or an option in hibernate (e.g. to qualify all unqualified table names with <MYLIBRARY.>)

Hibernate version:
2.1.6
Mapping documents:
n/a
Code between sessionFactory.openSession() and session.close():
n/a
Full stack trace of any exception that occurs:
n/a
Name and version of the database you are using:
DB2/400 V5R2M0
Debug level Hibernate log excerpt:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 23, 2004 9:58 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
grep "schema" in the user manual (there are multiple ways)


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.