From: Gavin K. <ga...@ap...> - 2002-11-30 03:19:37
|
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 ? |