Tabnine Logo
DatabasePlatform.getClobDbType
Code IndexAdd Tabnine to your IDE (free)

How to use
getClobDbType
method
in
com.avaje.ebean.config.dbplatform.DatabasePlatform

Best Java code snippets using com.avaje.ebean.config.dbplatform.DatabasePlatform.getClobDbType (Showing top 3 results out of 315)

origin: org.avaje.ebean/ebean

int platformClobType = databasePlatform.getClobDbType();
int platformBlobType = databasePlatform.getBlobDbType();
origin: org.avaje.ebeanorm/avaje-ebeanorm-server

/**
 * Create the DefaultTypeManager.
 */
public DefaultTypeManager(ServerConfig config, BootupClasses bootupClasses) {
 int clobType = config == null ? Types.CLOB : config.getDatabasePlatform().getClobDbType();
 int blobType = config == null ? Types.BLOB : config.getDatabasePlatform().getBlobDbType();
 this.checkImmutable = new CheckImmutable(this);
 this.reflectScalarBuilder = new ReflectionBasedTypeBuilder(this);
 this.compoundTypeMap = new ConcurrentHashMap<Class<?>, CtCompoundType<?>>();
 this.typeMap = new ConcurrentHashMap<Class<?>, ScalarType<?>>();
 this.nativeMap = new ConcurrentHashMap<Integer, ScalarType<?>>();
 this.extraTypeFactory = new DefaultTypeFactory(config);
 initialiseStandard(clobType, blobType);
 initialiseJodaTypes();
 if (bootupClasses != null) {
  initialiseCustomScalarTypes(bootupClasses);
  initialiseScalarConverters(bootupClasses);
  initialiseCompoundTypes(bootupClasses);
 }
}
origin: org.avaje/ebean

/**
 * Create the DefaultTypeManager.
 */
public DefaultTypeManager(ServerConfig config, BootupClasses bootupClasses) {
 int clobType = config == null ? Types.CLOB : config.getDatabasePlatform().getClobDbType();
 int blobType = config == null ? Types.BLOB : config.getDatabasePlatform().getBlobDbType();
 this.checkImmutable = new CheckImmutable(this);
 this.reflectScalarBuilder = new ReflectionBasedTypeBuilder(this);
 this.compoundTypeMap = new ConcurrentHashMap<Class<?>, CtCompoundType<?>>();
 this.typeMap = new ConcurrentHashMap<Class<?>, ScalarType<?>>();
 this.nativeMap = new ConcurrentHashMap<Integer, ScalarType<?>>();
 this.extraTypeFactory = new DefaultTypeFactory(config);
 initialiseStandard(clobType, blobType);
 initialiseJodaTypes();
 if (bootupClasses != null) {
  initialiseCustomScalarTypes(bootupClasses);
  initialiseScalarConverters(bootupClasses);
  initialiseCompoundTypes(bootupClasses);
 }
}
com.avaje.ebean.config.dbplatformDatabasePlatformgetClobDbType

Javadoc

Return the data type that should be used for Clob.

This is typically Types.CLOB but for Postgres is Types.VARCHAR.

Popular methods of DatabasePlatform

  • completeSql
  • convertQuotedIdentifiers
    Convert backticks to the platform specific open quote and close quote Specific plugins may implement
  • getCloseQuote
    Return the close quote for quoted identifiers.
  • getDbDdlSyntax
    Return the DDL syntax for this platform.
  • getOpenQuote
    Return the open quote for quoted identifiers.
  • <init>
    Instantiates a new database platform.
  • createSequenceIdGenerator
    Return a DB Sequence based IdGenerator.
  • getBlobDbType
    Return the data type that should be used for Blob. This is typically Types.BLOB but for Postgres is
  • getBooleanDbType
    Return the JDBC type used to store booleans.
  • getDbEncrypt
    Return the DbEncrypt handler for this DB platform.
  • getDbIdentity
    Return the DB identity/sequence features for this platform.
  • getDbTypeMap
    Return the mapping of JDBC to DB types.
  • getDbIdentity,
  • getDbTypeMap,
  • getName,
  • getSqlLimiter,
  • isIdInExpandedForm,
  • isSelectCountWithAlias,
  • isTreatEmptyStringsAsNull,
  • setDbEncrypt,
  • withForUpdate

Popular in Java

  • Creating JSON documents from java classes using gson
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • onCreateOptionsMenu (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Collectors (java.util.stream)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top PhpStorm 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