Tabnine Logo
Ejb3Column.initMappingColumn
Code IndexAdd Tabnine to your IDE (free)

How to use
initMappingColumn
method
in
org.hibernate.cfg.Ejb3Column

Best Java code snippets using org.hibernate.cfg.Ejb3Column.initMappingColumn (Showing top 6 results out of 315)

origin: hibernate/hibernate-orm

public void bind() {
  if ( StringHelper.isNotEmpty( formulaString ) ) {
    LOG.debugf( "Binding formula %s", formulaString );
    formula = new Formula();
    formula.setFormula( formulaString );
  }
  else {
    initMappingColumn(
        logicalColumnName, propertyName, length, precision, scale, nullable, sqlType, unique, true
    );
    if ( defaultValue != null ) {
      mappingColumn.setDefaultValue( defaultValue );
    }
    if ( LOG.isDebugEnabled() ) {
      LOG.debugf( "Binding column: %s", toString() );
    }
  }
}
origin: org.hibernate/hibernate-annotations

public void bind() {
  if ( StringHelper.isNotEmpty( formulaString ) ) {
    log.debug( "binding formula {}", formulaString );
    formula = new Formula();
    formula.setFormula( formulaString );
  }
  else {
    initMappingColumn(
        logicalColumnName, propertyName, length, precision, scale, nullable, sqlType, unique, true
    );
    log.debug( "Binding column: " + toString());
  }
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

public void bind() {
  if ( StringHelper.isNotEmpty( formulaString ) ) {
    log.debug( "binding formula " + formulaString );
    formula = new Formula();
    formula.setFormula( formulaString );
  }
  else {
    initMappingColumn(
        logicalColumnName, propertyName, length, precision, scale, nullable, sqlType, unique, true
    );
    log.debug( "Binding column " + mappingColumn.getName() + " unique " + unique );
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

public void bind() {
  if ( StringHelper.isNotEmpty( formulaString ) ) {
    LOG.debugf( "Binding formula %s", formulaString );
    formula = new Formula();
    formula.setFormula( formulaString );
  }
  else {
    initMappingColumn(
        logicalColumnName, propertyName, length, precision, scale, nullable, sqlType, unique, true
    );
    if ( LOG.isDebugEnabled() ) {
      LOG.debugf( "Binding column: %s", toString() );
    }
  }
}
origin: org.hibernate/com.springsource.org.hibernate

public void bind() {
  if ( StringHelper.isNotEmpty( formulaString ) ) {
    LOG.debugf( "Binding formula %s", formulaString );
    formula = new Formula();
    formula.setFormula( formulaString );
  }
  else {
    initMappingColumn(
        logicalColumnName, propertyName, length, precision, scale, nullable, sqlType, unique, true
    );
    if ( LOG.isDebugEnabled() ) {
      LOG.debugf( "Binding column: %s", toString() );
    }
  }
}
origin: org.hibernate.orm/hibernate-core

public void bind() {
  if ( !binded ) {
    if ( StringHelper.isNotEmpty( formulaString ) ) {
      LOG.debugf( "Binding formula %s", formulaString );
      formula = new Formula( formulaString );
    }
    else {
      initMappingColumn(
          logicalColumnName, propertyName, length, precision, scale, nullable, sqlType, unique, true
      );
      if ( defaultValue != null ) {
        mappingColumn.setDefaultValue( defaultValue );
      }
      if ( LOG.isDebugEnabled() ) {
        LOG.debugf( "Binding column: %s", toString() );
      }
    }
  }
  binded = true;
}
org.hibernate.cfgEjb3ColumninitMappingColumn

Popular methods of Ejb3Column

  • <init>
  • bind
  • buildColumnFromAnnotation
  • buildImplicitColumn
  • checkPropertyConsistency
  • forceNotNull
  • getJoin
  • getMappingColumn
  • getTable
    Find appropriate table of the column. It can come from a secondary table or from the main table of t
  • isInsertable
  • isNullable
  • isSecondary
  • isNullable,
  • isSecondary,
  • isUpdatable,
  • linkWithValue,
  • redefineColumnName,
  • setFormula,
  • setImplicit,
  • setInsertable,
  • setJoins

Popular in Java

  • Making http post requests using okhttp
  • startActivity (Activity)
  • addToBackStack (FragmentTransaction)
  • findViewById (Activity)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Path (java.nio.file)
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • JCheckBox (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top plugins for Android Studio
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