Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Dialect
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18585/Dialect
Modified Files:
SybaseDialect.cs
Log Message:
nh-235
Index: SybaseDialect.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Dialect/SybaseDialect.cs,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** SybaseDialect.cs 6 Mar 2005 12:44:37 -0000 1.13
--- SybaseDialect.cs 8 Apr 2005 04:27:27 -0000 1.14
***************
*** 6,9 ****
--- 6,34 ----
/// An SQL dialect compatible with Sybase.
/// </summary>
+ /// <remarks>
+ /// <p>
+ /// This dialect probably will not work with schema-export. If anyone out there
+ /// can fill in the ctor with DbTypes to Strings that would be helpful.
+ /// </p>
+ /// The SybaseDialect defaults the following configuration properties:
+ /// <list type="table">
+ /// <listheader>
+ /// <term>Property</term>
+ /// <description>Default Value</description>
+ /// </listheader>
+ /// <item>
+ /// <term>hibernate.use_outer_join</term>
+ /// <description><c>true</c></description>
+ /// </item>
+ /// <item>
+ /// <term>hibernate.connection.driver_class</term>
+ /// <description><see cref="NHibernate.Driver.SybaseClientDriver" /></description>
+ /// </item>
+ /// <item>
+ /// <term>hibernate.prepare_sql</term>
+ /// <description><c>false</c></description>
+ /// </item>
+ /// </list>
+ /// </remarks>
public class SybaseDialect : Dialect
{
***************
*** 32,35 ****
--- 57,62 ----
DefaultProperties[ Environment.UseOuterJoin ] = "true";
+ DefaultProperties[ Environment.ConnectionDriver ] = "NHibernate.Driver.SybaseClientDriver";
+ DefaultProperties[ Environment.PrepareSql ] = "false";
}
|