Aleks:

The table-based auto-increment is the default, and the section in 
HibernatePersisentFactory (in the initialize method, around line 163) is where the 
generator tag is set for Hibernate. Right now it uses increment if the auto-generate 
is set, or assigned if it's not - I think we'd need to make a minor mod to that method 
to use whatever the value is for the "auto-increment" tag. This would allow us to use 
any of Hibernate's methods.

One consideration is that some of the generator methods take parameters - it would be 
necessary to make an element in configuration where custom parameters can be placed, 
depending on what you need to do.

I'd be happy to assist with this mod, it should be quite straightforward.

Regards,

Mike

On Tue, 2 Dec 2003 14:50:51 +0100
"Vidakovic Aleksandar" <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> is there a way to use hibernates uuid generator with hibernate persist service? Only 
> figured out how to use the table based auto-increment.
> 
> Thanks in advance,
> 
> Aleks
> 
> http://keelframework.org/documentation
> Keelgroup mailing list
> [EMAIL PROTECTED]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com


Michael Nash

JGlobal Ltd 
Next-Generation Web Application Development and Open Source Support
http://www.jglobal.com

Bahamas Commerce and Trade
Offshore eCommerce Hosting and Business Services
http://www.bahamascommerce.com

http://keelframework.org/documentation
Keelgroup mailing list
[EMAIL PROTECTED]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com

Reply via email to