Ok, I have now checked in the database native keygeneration. It should work for MySQL and mssql/sybase.

To use it just use
      <generator class="native"/>

I hope all works ok.

regards
 chris
Gavin_King/[EMAIL PROTECTED] wrote:

ok, then its not possible. I will add a check that the native
idgenerator is not used for a collection.


yep, cool.


I don't think the lack of native key generation for toplevel
collections is a big deal. I don't think other O/R mapping
tools even _have_ such a concept as toplevel collections....

(We really have them mainly because we have subcollections.)


_______________________________________________ Hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel







_______________________________________________ Hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel



Reply via email to