From: NHibernate J. <mik...@us...> - 2006-12-21 11:50:28
|
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 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 |
From: NHibernate J. <mik...@us...> - 2006-12-21 11:54:25
|
[ http://jira.nhibernate.org/browse/NH-841?page=comments#action_14650 ] Sergey Koshcheyev commented on NH-841: -------------------------------------- Please attach a minimal 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 > > 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 |
From: NHibernate J. <mik...@us...> - 2006-12-21 14:03:28
|
[ http://jira.nhibernate.org/browse/NH-841?page=all ] Sergio updated NH-841: ---------------------- Attachment: BUGAccess.rar a little example. > 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 > 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 |
From: NHibernate J. <mik...@us...> - 2007-01-02 10:17:28
|
[ http://jira.nhibernate.org/browse/NH-841?page=all ] Sergey Koshcheyev updated NH-841: --------------------------------- Fix Version: 1.2.0.Beta3 > 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 |
From: NHibernate J. <mik...@us...> - 2007-01-08 06:37:29
|
[ http://jira.nhibernate.org/browse/NH-841?page=all ] Sergey Koshcheyev closed NH-841: -------------------------------- Resolution: Fixed Should be fixed now, please test if you can. > 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 |
From: NHibernate J. <mik...@us...> - 2007-02-13 19:50:42
|
[ http://jira.nhibernate.org/browse/NH-841?page=comments#action_15018 ] Jackson.Ling commented on NH-841: --------------------------------- I've noticed that this issue still exists in version 1.2.0.2003, on NHibernate.Driver.SqlServerCeDriver. generator class identity and native could not work well. > 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 |
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 |