congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SQLServer2008Dialect
Code IndexAdd Tabnine to your IDE (free)

How to use
SQLServer2008Dialect
in
org.hibernate.dialect

Best Java code snippets using org.hibernate.dialect.SQLServer2008Dialect (Showing top 9 results out of 315)

origin: hibernate/hibernate-orm

return new SQLServer2008Dialect();
origin: hibernate/hibernate-orm

/**
 * Constructs a SQLServer2008Dialect
 */
public SQLServer2008Dialect() {
  registerColumnType( Types.DATE, "date" );
  registerColumnType( Types.TIME, "time" );
  registerColumnType( Types.TIMESTAMP, "datetime2" );
  registerColumnType( Types.NVARCHAR, NVARCHAR_MAX_LENGTH, "nvarchar($l)" );
  registerColumnType( Types.NVARCHAR, "nvarchar(MAX)" );
  registerFunction(
      "current_timestamp", new NoArgSQLFunction( "current_timestamp", StandardBasicTypes.TIMESTAMP, false )
  );
}

origin: hibernate/hibernate-orm

@Override
public void contributeTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry) {
  super.contributeTypes(
      typeContributions,
      serviceRegistry
  );
  typeContributions.contributeType( new GeolatteGeometryType( SqlServer2008GeometryTypeDescriptor.INSTANCE ) );
  typeContributions.contributeType( new JTSGeometryType( SqlServer2008GeometryTypeDescriptor.INSTANCE ) );
  typeContributions.contributeJavaTypeDescriptor( GeolatteGeometryJavaTypeDescriptor.INSTANCE );
  typeContributions.contributeJavaTypeDescriptor( JTSGeometryJavaTypeDescriptor.INSTANCE );
}
origin: org.hibernate.orm/hibernate-core

/**
 * Constructs a SQLServer2008Dialect
 */
public SQLServer2008Dialect() {
  registerColumnType( Types.DATE, "date" );
  registerColumnType( Types.TIME, "time" );
  registerColumnType( Types.TIMESTAMP, "datetime2" );
  registerColumnType( Types.NVARCHAR, NVARCHAR_MAX_LENGTH, "nvarchar($l)" );
  registerColumnType( Types.NVARCHAR, "nvarchar(MAX)" );
}
origin: org.hibernate/com.springsource.org.hibernate.core

  public SQLServer2008Dialect() {
    registerColumnType( Types.DATE, "date" );
    registerColumnType( Types.TIME, "time" );
    registerColumnType( Types.TIMESTAMP, "datetime2" );

    registerFunction(
        "current_timestamp", new NoArgSQLFunction( "current_timestamp", StandardBasicTypes.TIMESTAMP, false )
    );
  }
}
origin: org.hibernate.orm/hibernate-core

return new SQLServer2008Dialect();
origin: org.hibernate/com.springsource.org.hibernate

  public SQLServer2008Dialect() {
    registerColumnType( Types.DATE, "date" );
    registerColumnType( Types.TIME, "time" );
    registerColumnType( Types.TIMESTAMP, "datetime2" );

    registerFunction(
        "current_timestamp", new NoArgSQLFunction( "current_timestamp", StandardBasicTypes.TIMESTAMP, false )
    );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

  return new SQLServer2005Dialect();
case 10:
  return new SQLServer2008Dialect();
default:
  LOG.unknownSqlServerVersion(databaseMajorVersion);
origin: org.hibernate/com.springsource.org.hibernate.core

  return new SQLServer2005Dialect();
case 10:
  return new SQLServer2008Dialect();
default:
  LOG.unknownSqlServerVersion(databaseMajorVersion);
org.hibernate.dialectSQLServer2008Dialect

Javadoc

A dialect for Microsoft SQL Server 2008 with JDBC Driver 3.0 and above

Most used methods

  • <init>
    Constructs a SQLServer2008Dialect
  • registerColumnType
  • registerFunction
  • contributeTypes

Popular in Java

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • addToBackStack (FragmentTransaction)
  • onCreateOptionsMenu (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now