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

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

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

origin: hibernate/hibernate-orm

idColumn.setNullable(false);
origin: hibernate/hibernate-orm

  && inferredData.getClassOrElement().isPrimitive()
  && !inferredData.getProperty().isArray() ) {
column.setNullable( false );
origin: hibernate/hibernate-orm

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

    BinderHelper.getRelativePath( propertyHolder, inferredData.getPropertyName() )
);
column.setNullable(
  col.nullable()
origin: hibernate/hibernate-orm

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

idColumn.setNullable(false);
origin: org.hibernate/hibernate-annotations

  && inferredData.getClassOrElement().isPrimitive()
  && !inferredData.getProperty().isArray() ) {
column.setNullable( false );
origin: org.hibernate/hibernate-annotations

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

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

    BinderHelper.getRelativePath( propertyHolder, inferredData.getPropertyName() )
);
column.setNullable(
    col.nullable()
origin: org.hibernate/com.springsource.org.hibernate.core

idColumn.setNullable(false);
origin: org.hibernate/com.springsource.org.hibernate

idColumn.setNullable(false);
origin: jboss.jboss-embeddable-ejb3/hibernate-all

key.setTypeName( null );
Ejb3Column.checkPropertyConsistency( joinColumns, collValue.getOwnerEntityName() );
key.setNullable( joinColumns.length == 0 || joinColumns[0].isNullable() );
key.setUpdateable( joinColumns.length == 0 || joinColumns[0].isUpdatable() );
key.setCascadeDeleteEnabled( cascadeDeleteEnabled );
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: org.hibernate.orm/hibernate-core

idColumn.setNullable(false);
origin: org.hibernate/com.springsource.org.hibernate

  && inferredData.getClassOrElement().isPrimitive()
  && !inferredData.getProperty().isArray() ) {
column.setNullable( false );
origin: org.hibernate/com.springsource.org.hibernate.core

  && inferredData.getClassOrElement().isPrimitive()
  && !inferredData.getProperty().isArray() ) {
column.setNullable( false );
origin: org.hibernate.orm/hibernate-core

  && inferredData.getClassOrElement().isPrimitive()
  && !inferredData.getProperty().isArray() ) {
column.setNullable( false );
origin: jboss.jboss-embeddable-ejb3/hibernate-all

    BinderHelper.getRelativePath( propertyHolder, inferredData.getPropertyName() )
);
column.setNullable(
    col.nullable()
origin: org.hibernate/com.springsource.org.hibernate

    BinderHelper.getRelativePath( propertyHolder, inferredData.getPropertyName() )
);
 column.setNullable(
  col.nullable()
org.hibernate.cfgEjb3ColumnsetNullable

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

  • Parsing JSON documents to java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • onCreateOptionsMenu (Activity)
  • putExtra (Intent)
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JCheckBox (javax.swing)
  • JLabel (javax.swing)
  • Top Vim 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