From: NHibernate J. <mik...@us...> - 2006-11-16 19:20:29
|
[ http://jira.nhibernate.org/browse/NH-812?page=all ] Sergey Koshcheyev updated NH-812: --------------------------------- Fix Version: 1.2.0.CR1 Version: 1.2.0.Beta2 > PostgreSQL - for update no wait > ------------------------------- > > Key: NH-812 > URL: http://jira.nhibernate.org/browse/NH-812 > Project: NHibernate > Type: Bug > Components: Data Providers > Versions: 1.2.0.Beta2 > Reporter: Bernhard Adelsmair > Priority: Trivial > Fix For: 1.2.0.CR1 > Attachments: PostgreSQL81Dialect.cs > > Hello!! > In the PostgreSQL Version 8.1 it is possible to Lock with Mode "FOR UPDATE NO WAIT". > But there was a mistake in the PostgreSQL81Dialect.cs file. There is a missing backspace before the "for". > yours sincerely > Bernhard Adelsmair > P.S.: > The file should look like: > using System; > namespace NHibernate.Dialect > { > /// <summary> > /// An SQL dialect for PostgreSQL 8.1 and above. > /// </summary> > /// <remarks> > /// PostgreSQL 8.1 supports <c>FOR UPDATE ... NOWAIT</c> syntax. > /// See <see cref="PostgreSQLDialect" /> for more information. > /// </remarks> > public class PostgreSQL81Dialect : PostgreSQLDialect > { > public override string ForUpdateNowaitString > { > get { return " for update nowait"; } > } > public override string GetForUpdateNowaitString( string aliases ) > { > return " for update of " + aliases + " nowait"; > } > } > } -- 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 |