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

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

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

origin: org.avaje/ebean

public CreateSequenceVisitor(DdlGenContext ctx) {
  this.ctx = ctx;
  this.supportsSequence = ctx.getDbPlatform().getDbIdentity().isSupportsSequence();
}
 
origin: org.avaje.ebeanorm/avaje-ebeanorm-server

public CreateSequenceVisitor(DdlGenContext ctx) {
  this.ctx = ctx;
  this.supportsSequence = ctx.getDbPlatform().getDbIdentity().isSupportsSequence();
}

origin: org.avaje.ebean/ebean

public PlatformDdl(DatabasePlatform platform) {
 this.platform = platform;
 this.dbIdentity = platform.getDbIdentity();
 this.dbDefaultValue = platform.getDbDefaultValue();
 this.typeConverter = new PlatformTypeConverter(platform.getDbTypeMap());
}
origin: org.avaje.ebeanorm/avaje-ebeanorm-server

public DropSequenceVisitor(DdlGenContext ctx) {
  this.ctx = ctx;
  this.ddlSyntax = ctx.getDdlSyntax();
  this.supportsSequence = ctx.getDbPlatform().getDbIdentity().isSupportsSequence();
}

origin: org.avaje/ebean

public DropSequenceVisitor(DdlGenContext ctx) {
  this.ctx = ctx;
  this.ddlSyntax = ctx.getDdlSyntax();
  this.supportsSequence = ctx.getDbPlatform().getDbIdentity().isSupportsSequence();
}
 
origin: org.avaje/ebean

public InsertMeta(DatabasePlatform dbPlatform, BeanDescriptor<?> desc, Bindable shadowFKey, BindableId id, Bindable all) {
  this.emptyStringToNull = dbPlatform.isTreatEmptyStringsAsNull();
  this.tableName = desc.getBaseTable();
  this.discriminator = getDiscriminator(desc);
  this.id = id;
  this.all = all;
  this.shadowFKey = shadowFKey;
  this.sqlWithId = genSql(false, null);
  // only available for single Id property
  if (id.isConcatenated()) {
    // concatenated key
    this.concatinatedKey = true;
    this.identityDbColumns = null;
    this.sqlNullId = null;
    this.supportsGetGeneratedKeys = false;
    this.selectLastInsertedId = null;
  } else {
    // insert sql for db identity or sequence insert
    this.concatinatedKey = false;
    this.identityDbColumns = new String[]{id.getIdentityColumn()};
    this.sqlNullId = genSql(true, null);
    this.supportsGetGeneratedKeys = dbPlatform.getDbIdentity().isSupportsGetGeneratedKeys();
    this.selectLastInsertedId = desc.getSelectLastInsertedId();
  }
}
origin: org.avaje.ebeanorm/avaje-ebeanorm-server

public InsertMeta(DatabasePlatform dbPlatform, BeanDescriptor<?> desc, Bindable shadowFKey, BindableId id, Bindable all) {
  this.emptyStringToNull = dbPlatform.isTreatEmptyStringsAsNull();
  this.tableName = desc.getBaseTable();
  this.discriminator = getDiscriminator(desc);
  this.id = id;
  this.all = all;
  this.shadowFKey = shadowFKey;
  this.sqlWithId = genSql(false, null);
  // only available for single Id property
  if (id.isConcatenated()) {
    // concatenated key
    this.concatinatedKey = true;
    this.identityDbColumns = null;
    this.sqlNullId = null;
    this.supportsGetGeneratedKeys = false;
    this.selectLastInsertedId = null;
  } else {
    // insert sql for db identity or sequence insert
    this.concatinatedKey = false;
    this.identityDbColumns = new String[]{id.getIdentityColumn()};
    this.sqlNullId = genSql(true, null);
    this.supportsGetGeneratedKeys = dbPlatform.getDbIdentity().isSupportsGetGeneratedKeys();
    this.selectLastInsertedId = desc.getSelectLastInsertedId();
  }
}
origin: org.avaje.ebean/ebean

} else {
 this.identityDbColumns = new String[]{id.getIdentityColumn()};
 this.supportsGetGeneratedKeys = dbPlatform.getDbIdentity().isSupportsGetGeneratedKeys();
 this.selectLastInsertedId = desc.getSelectLastInsertedId();
origin: org.avaje.ebeanorm/avaje-ebeanorm-server

this.typeManager = config.getTypeManager();
this.namingConvention = config.getServerConfig().getNamingConvention();
this.dbIdentity = config.getDatabasePlatform().getDbIdentity();
this.deplyInherit = config.getDeployInherit();
this.deployOrmXml = config.getDeployOrmXml();
origin: org.avaje/ebean

this.typeManager = config.getTypeManager();
this.namingConvention = config.getServerConfig().getNamingConvention();
this.dbIdentity = config.getDatabasePlatform().getDbIdentity();
this.deplyInherit = config.getDeployInherit();
this.deployOrmXml = config.getDeployOrmXml();
origin: org.avaje.ebean/ebean

this.createProperties = config.getDeployCreateProperties();
this.namingConvention = serverConfig.getNamingConvention();
this.dbIdentity = config.getDatabasePlatform().getDbIdentity();
this.deplyInherit = config.getDeployInherit();
this.deployUtil = config.getDeployUtil();
com.avaje.ebean.config.dbplatformDatabasePlatformgetDbIdentity

Javadoc

Return the DB identity/sequence features for this platform.

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.
  • getClobDbType
    Return the data type that should be used for Clob. This is typically Types.CLOB but for Postgres is
  • getDbEncrypt
    Return the DbEncrypt handler for this DB platform.
  • getDbTypeMap
    Return the mapping of JDBC to DB types.
  • getDbEncrypt,
  • getDbTypeMap,
  • getName,
  • getSqlLimiter,
  • isIdInExpandedForm,
  • isSelectCountWithAlias,
  • isTreatEmptyStringsAsNull,
  • setDbEncrypt,
  • withForUpdate

Popular in Java

  • Making http post requests using okhttp
  • setScale (BigDecimal)
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • CodeWhisperer alternatives
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