Hi!
Code:
<!--TO SYBASE ASE ODBC GOOD TPS:-->
<!--
<add key="hibernate.connection.provider" value="NHibernate.Connection.DriverConnectionProvider" />
<add key="hibernate.connection.isolation" value="ReadCommitted" />
<add key="hibernate.dialect" value="NHibernate.Dialect.MsSql2000Dialect" />
<add key="hibernate.connection.driver_class" value="NHibernate.Driver.OdbcDriver" />
<add key="hibernate.connection.connection_string" value="DRIVER=Sybase ASE ODBC Driver; NA=INBDITX2K01, 6000; DB=Stress; UID=sa;" />
-->
<!--END TO SYBASE ASE ODBC GOOD TPS:-->
<!--TO SYBASE ASE ODBC BAD TPS:-->
<add key="hibernate.connection.provider" value="NHibernate.Connection.DriverConnectionProvider" />
<add key="hibernate.connection.isolation" value="ReadCommitted" />
<add key="hibernate.dialect" value="NHibernate.Dialect.SybaseDialect" />
<add key="hibernate.connection.driver_class" value="NHibernate.Driver.OdbcDriver" />
<add key="hibernate.connection.connection_string" value="DRIVER=Sybase ASE ODBC Driver; NA=INBDITX2K01, 6000; DB=Stress; UID=sa; " />
<!--END TO SYBASE ASE ODBC BAD TPS :-->
<!--TO SQL :-->
<!--
<add key="hibernate.connection.provider" value="NHibernate.Connection.DriverConnectionProvider" />
<add key="hibernate.connection.isolation" value="ReadCommitted" />
<add key="hibernate.dialect" value="NHibernate.Dialect.MsSql2000Dialect" />
<add key="hibernate.connection.driver_class" value="NHibernate.Driver.SqlClientDriver" />
<add key="hibernate.connection.connection_string" value="Data Source=INBDITX2K10;Initial Catalog=STRESS;Persist Security Info=True;User ID=Usrstress;" />
-->
<!-- END TO SQL-->
Only a table:
Code:
/*==============================================================*/
/* Tabla: T1 */
/*==============================================================*/
create table T1
(
T1_SERIAL INTEGER not null,
T1_INTEGER INTEGER,
T1_SHORT_INTEGER SMALLINT,
T1_LONG_INTEGER BIGINT,
T1_BYTE TINYINT,
T1_NUMBER NUMERIC(10,2),
T1_DECIMAL DECIMAL(10,2),
T1_FLOAT FLOAT,
T1_SHORT_FLOAT REAL,
T1_LONG_FLOAT DOUBLE,
T1_MONEY NUMERIC(8,2),
T1_BOOLEAN SMALLINT,
T1_CHARACTERS CHAR(100),
T1_VARIABLE_CHARACTERS VARCHAR(100),
T1_LONG_VARIABLE_CHARACTERS VARCHAR,
T1_LONG_CHARACTERS VARCHAR(100),
T1_TEXT VARCHAR,
T1_MULTIBYTE CHAR(100),
T1_VARIABLE_MULTIBYTE VARCHAR(100),
T1_DATE DATE,
T1_TIME TIME,
T1_DATETIME DATETIME,
T1_TIMESTAMP TIMESTAMP,
primary key (T1_SERIAL)
);
with: 1048576 reg.
but the problem is, why not problem change the Dialect to SYBASE?
Why get up the tps with NHibernate.Dialect.MsSql2000Dialect in Sybase?
thanks!