Check the Javadoc for HiLoGenerator. It already implements this
functionality. You can supply a JDBC driver class, url, username and
password. Of course, the *correct* way to do this is to have an
implementation of HiLoGenerator that uses a stateless session bean to hand
out hi values. But I don't wan't to start introducing eejaybeez into the
Hibernate source.

> > Workaround: Make your own generator that makes a direct connection to
> > do the
> > same thing :)
> >
> > Maybe we should provide such a beast with hibernate ?




-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to