Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.j256.ormlite.db;

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.


public class SqlServerJtdsDatabaseType extends SqlServerDatabaseType implements DatabaseType {
	private final static String DATABASE_URL_PORTION = "jtds";
	private final static String DRIVER_CLASS_NAME = "net.sourceforge.jtds.jdbc.Driver";
	private final static String DATABASE_NAME = "SQL Server JTDS";
	public boolean isDatabaseUrlThisType(String urlString dbTypePart) {
		return .equals(dbTypePart);
	public String getDatabaseName() {
		return ;
New to GrepCode? Check out our FAQ X