-->
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: Mix use of TableGenerator with DataSource?
PostPosted: Mon Dec 05, 2005 9:09 am 
Newbie

Joined: Mon Dec 05, 2005 8:55 am
Posts: 1
Hi All,
I'm aware of the restriction that the table-based id generators (such as HiLoGenerator) cannot be used with application server data sources, and the reasons for this.

However, from working on other projects in the past, my expectation is that the table-based generators will be the most efficient id generators (does anyone have statistics to back-up my assertion?).

I would like to be able to come up with a mechanism whereby, for example, the id generator would use one source (not a DataSource) of database connections, and the actual persistence work would use another (a JTA DataSource).

Has anyone done this, or is there a configuration option that will allow this to happen?

Thanks,
Huw


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.