com.j256.ormlite.db
Class SqlServerJtdsDatabaseType
java.lang.Object
com.j256.ormlite.db.BaseDatabaseType
com.j256.ormlite.db.SqlServerDatabaseType
com.j256.ormlite.db.SqlServerJtdsDatabaseType
- All Implemented Interfaces:
- DatabaseType
public class SqlServerJtdsDatabaseType
- extends SqlServerDatabaseType
- implements DatabaseType
Microsoft SQL server database type information connected through the JTDS JDBC driver.
NOTE: Currently with 1.2.4 version of the jTDS package, I'm seeing problems with Java 1.5 because jTDS is
using a java.sql 1.6 class.
See JTDS home page for more information. To use this driver, you need to
specify the database URL as something like the following. See the URL for more information.
jdbc:jtds:sqlserver://host-name:host-port/database-name
- Author:
- graywatson
| Methods inherited from class com.j256.ormlite.db.BaseDatabaseType |
appendCanBeNull, appendColumnArg, appendCreateTableSuffix, appendDefaultValue, appendDoubleType, appendEnumIntType, appendEnumStringType, appendEscapedWord, appendFloatType, appendIntegerType, appendLongType, appendSelectNextValFromSequence, appendShortType, appendStringType, buildDatabaseAccess, configureGeneratedIdSequence, configureId, convertColumnName, dropColumnArg, generateIdSequenceName, getCommentLinePrefix, getDefaultVarcharWidth, isCreateTableReturnsZero, isEntityNamesMustBeUpCase, isIdSequenceNeeded, isLimitSqlSupported, isVarcharFieldWidthSupported, loadDriver |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.j256.ormlite.db.DatabaseType |
appendColumnArg, appendCreateTableSuffix, appendEscapedEntityName, appendEscapedWord, appendLimitValue, appendSelectNextValFromSequence, buildDatabaseAccess, convertColumnName, dropColumnArg, generateIdSequenceName, getCommentLinePrefix, getFieldConverter, isCreateTableReturnsZero, isEntityNamesMustBeUpCase, isIdSequenceNeeded, isLimitAfterSelect, isLimitSqlSupported, isVarcharFieldWidthSupported, loadDriver |
SqlServerJtdsDatabaseType
public SqlServerJtdsDatabaseType()
getDriverUrlPart
public String getDriverUrlPart()
- Description copied from interface:
DatabaseType
- Return the part in the database URI which identifies the particular database. Usually the URI is in the form
jdbc:ddd:... where ddd is the driver url part.
- Specified by:
getDriverUrlPart in interface DatabaseType- Overrides:
getDriverUrlPart in class SqlServerDatabaseType
getDriverClassName
public String getDriverClassName()
- Description copied from interface:
DatabaseType
- Return the class name of the database driver.
- Specified by:
getDriverClassName in interface DatabaseType- Overrides:
getDriverClassName in class SqlServerDatabaseType
Copyright © 2010. All Rights Reserved.