-->
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: AS400 DB2 Multi-member files
PostPosted: Thu Apr 07, 2005 4:06 pm 
Newbie

Joined: Tue Jan 04, 2005 11:06 am
Posts: 15
Hibernate version: hibernate 2.6

Does anybody have any hints on how to insert into
multi-member files on AS400 DB2?

There is a mechanism whereby you can (using
DB2 sql) associate an alias with a given table
whereby that alias identifies a given 'member."
An insert statement would then name the alias rather
than the table.

However, this seems to suggest I change the table
name within the hbm file to correspond to the alias name
set within DB2.

Is there a way, at runtime, to effectively re-assign the
table name to which a save is targetted so that generated
sql names the newly assigned 'table' name, rather than the
one in the hbm file?

Rob

_________________
Rob Gordon
SuffolkSoft, Inc.
Westby, WI


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.