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

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

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

origin: hibernate/hibernate-orm

  column.setNullable( false );
column.setLength( DEFAULT_COLUMN_LENGTH );
final String propertyName = inferredData.getPropertyName();
column.setPropertyName(
origin: hibernate/hibernate-orm

column.setImplicit( false );
column.setNullable( true );
column.setLength( Ejb3Column.DEFAULT_COLUMN_LENGTH );
column.setLogicalColumnName( Collection.DEFAULT_KEY_COLUMN_NAME );
origin: hibernate/hibernate-orm

column.setLength( col.length() );
column.setPrecision( col.precision() );
column.setScale( col.scale() );
origin: hibernate/hibernate-orm

column.setLength( Ejb3Column.DEFAULT_COLUMN_LENGTH );
column.setLogicalColumnName( Collection.DEFAULT_ELEMENT_COLUMN_NAME );
origin: org.hibernate/hibernate-annotations

  column.setNullable( false );
column.setLength( DEFAULT_COLUMN_LENGTH );
final String propertyName = inferredData.getPropertyName();
column.setPropertyName(
origin: org.hibernate/hibernate-annotations

column.setLength( Ejb3Column.DEFAULT_COLUMN_LENGTH );
column.setLogicalColumnName( Collection.DEFAULT_ELEMENT_COLUMN_NAME );
origin: org.hibernate/hibernate-annotations

column.setImplicit( false );
column.setNullable( true );
column.setLength( Ejb3Column.DEFAULT_COLUMN_LENGTH );
column.setLogicalColumnName( Collection.DEFAULT_KEY_COLUMN_NAME );
origin: org.hibernate/hibernate-annotations

column.setImplicit( false );
column.setSqlType( sqlType );
column.setLength( col.length() );
column.setPrecision( col.precision() );
column.setScale( col.scale() );
origin: jboss.jboss-embeddable-ejb3/hibernate-all

private static Ejb3Column[] buildImplicitColumn(
    PropertyData inferredData, Map<String, Join> secondaryTables, PropertyHolder propertyHolder,
    Nullability nullability, ExtendedMappings mappings
) {
  Ejb3Column[] columns;
  columns = new Ejb3Column[1];
  Ejb3Column column = new Ejb3Column();
  column.setImplicit( false );
  //not following the spec but more clean
  if ( nullability != Nullability.FORCED_NULL
      && inferredData.getClassOrElement().isPrimitive()
      && ! inferredData.getProperty().isArray() ) {
    column.setNullable( false );
  }
  column.setLength( DEFAULT_COLUMN_LENGTH );
  column.setPropertyName(
      BinderHelper.getRelativePath( propertyHolder, inferredData.getPropertyName() )
  );
  column.setPropertyHolder( propertyHolder );
  column.setJoins( secondaryTables );
  column.setMappings( mappings );
  column.bind();
  columns[0] = column;
  return columns;
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

column.setLength( Ejb3Column.DEFAULT_COLUMN_LENGTH );
column.setLogicalColumnName( Collection.DEFAULT_ELEMENT_COLUMN_NAME );
origin: org.hibernate/com.springsource.org.hibernate

  column.setNullable( false );
column.setLength( DEFAULT_COLUMN_LENGTH );
final String propertyName = inferredData.getPropertyName();
column.setPropertyName(
origin: org.hibernate/com.springsource.org.hibernate.core

  column.setNullable( false );
column.setLength( DEFAULT_COLUMN_LENGTH );
final String propertyName = inferredData.getPropertyName();
column.setPropertyName(
origin: jboss.jboss-embeddable-ejb3/hibernate-all

column.setImplicit( false );
column.setNullable( true );
column.setLength( Ejb3Column.DEFAULT_COLUMN_LENGTH );
column.setLogicalColumnName( Collection.DEFAULT_KEY_COLUMN_NAME );
origin: org.hibernate/com.springsource.org.hibernate.core

column.setImplicit( false );
column.setNullable( true );
column.setLength( Ejb3Column.DEFAULT_COLUMN_LENGTH );
column.setLogicalColumnName( Collection.DEFAULT_KEY_COLUMN_NAME );
origin: org.hibernate/com.springsource.org.hibernate

column.setLength( Ejb3Column.DEFAULT_COLUMN_LENGTH );
column.setLogicalColumnName( Collection.DEFAULT_ELEMENT_COLUMN_NAME );
origin: org.hibernate/com.springsource.org.hibernate

column.setImplicit( false );
column.setNullable( true );
column.setLength( Ejb3Column.DEFAULT_COLUMN_LENGTH );
column.setLogicalColumnName( Collection.DEFAULT_KEY_COLUMN_NAME );
origin: org.hibernate.orm/hibernate-core

column.setImplicit( false );
column.setNullable( true );
column.setLength( Size.Builder.DEFAULT_LENGTH );
column.setLogicalColumnName( Collection.DEFAULT_KEY_COLUMN_NAME );
origin: jboss.jboss-embeddable-ejb3/hibernate-all

column.setImplicit( false );
column.setSqlType( sqlType );
column.setLength( col.length() );
column.setPrecision( col.precision() );
column.setScale( col.scale() );
origin: org.hibernate/com.springsource.org.hibernate

column.setImplicit( false );
column.setSqlType( sqlType );
column.setLength( col.length() );
column.setPrecision( col.precision() );
column.setScale( col.scale() );
origin: org.hibernate/com.springsource.org.hibernate.core

column.setImplicit( false );
column.setSqlType( sqlType );
column.setLength( col.length() );
column.setPrecision( col.precision() );
column.setScale( col.scale() );
org.hibernate.cfgEjb3ColumnsetLength

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
  • initMappingColumn
  • isInsertable
  • isNullable
  • isInsertable,
  • isNullable,
  • isSecondary,
  • isUpdatable,
  • linkWithValue,
  • redefineColumnName,
  • setFormula,
  • setImplicit,
  • setInsertable,
  • setJoins

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • 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