From: NHibernate J. <mik...@us...> - 2007-02-13 22:09:32
|
[ http://jira.nhibernate.org/browse/NH-841?page=comments#action_15019 ] Sergey Koshcheyev commented on NH-841: -------------------------------------- This is a different issue then (this one is about Jet driver), please open a new issue and provide the necessary details (classes, mappings, test case). > generator class="native" not works with NHibernate.JetDriver > ------------------------------------------------------------ > > Key: NH-841 > URL: http://jira.nhibernate.org/browse/NH-841 > Project: NHibernate > Type: Bug > Components: Contrib > Versions: 1.2.0.Beta2 > Reporter: Sergio > Priority: Minor > Fix For: 1.2.0.Beta3 > Attachments: BUGAccess.rar > > If you have define the id with a autonumeric and use generator class="native" when save the following mistake happens: "null id in entry (don't flush the Session after an exception occurs)". > If use generator class="increment" it works well. > I dont know if is normal or a bug, but is not nice if you use the same mapping files with access and sql server. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nhibernate.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |