-->
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: DB2 os/390 specifying subsystem with Tools
PostPosted: Wed Jun 07, 2006 1:25 pm 
Newbie

Joined: Mon May 29, 2006 9:38 pm
Posts: 6
I am attempting to utilize the Hibernate Tools with DB2 os390.
Type 4 driver.
I can get it working but because the connection url is pointing to the subsystem,not the database itself, it attempts to gather schema information for ALL databases in that subsystem.

I found the following exerpt telling me that it, in fact, should point to the subsystem, but I'm struglling to narrow it down for the purpose of the Tools.
With the type 2 driver we limited the odbc connection to just the database.

Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 08, 2006 3:32 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Multiple ways of doing it (depending on what you want)

1) set default_schema/default_catalog to what you want to load

2) use a <schema-selection/> element to limit it

3) use <table-filter> to include/exclude the parts you want/don't want.

#1 and #2 is the most performant since they will only ask for the catalog/schema you want and #3 just filters whatever tables you have scanned.

_________________
Max
Don't forget to rate


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.