-->
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 and identity columns
PostPosted: Tue May 17, 2005 2:34 pm 
Newbie

Joined: Fri Aug 29, 2003 4:36 am
Posts: 16
Location: Belgium
When using identity as an id generation strategy, I figured out (looked in the code :)) that to retrieve the id the fixed sql string "select identity_val_local() from sysibm.sysdummy1" is used. However we generally use the "system" naming strategy instead of the "sql" naming strategy. We specify no libraries in the mapping files and specify a library list. The approach gives now problems, a slash is expected as separator instead of a dot.
How do you as400 users solve this problem? Is everyone using "sql" naming? We use "system" as "sql" gives a whole different meaning to library lists.
Of course it is possible to switch from approach or to change the hibernate DB2400Dialect code, but I'm wondering how others tackle this.

Bart.


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.