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

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

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

origin: hibernate/hibernate-orm

public void addProperty(Property prop, Ejb3Column[] columns, XClass declaringClass) {
  //Ejb3Column.checkPropertyConsistency( ); //already called earlier
  if ( columns != null && columns[0].isSecondary() ) {
    //TODO move the getJoin() code here?
    final Join join = columns[0].getJoin();
    addPropertyToJoin( prop, declaringClass, join );
  }
  else {
    addProperty( prop, declaringClass );
  }
}
origin: hibernate/hibernate-orm

/**
 * Find appropriate table of the column.
 * It can come from a secondary table or from the main table of the persistent class
 *
 * @return appropriate table
 * @throws AnnotationException missing secondary table
 */
public Table getTable() {
  if ( table != null ){
    return table;
  }
  if ( isSecondary() ) {
    return getJoin().getTable();
  }
  else {
    return propertyHolder.getTable();
  }
}
origin: org.hibernate/hibernate-annotations

public void addProperty(Property prop, Ejb3Column[] columns, XClass declaringClass) {
  //Ejb3Column.checkPropertyConsistency( ); //already called earlier
  if ( columns != null && columns[0].isSecondary() ) {
    //TODO move the getJoin() code here?
    final Join join = columns[0].getJoin();
    addPropertyToJoin( prop, declaringClass, join );
  }
  else {
    addProperty( prop, declaringClass );
  }
}
origin: org.hibernate/hibernate-annotations

/**
 * Find appropriate table of the column.
 * It can come from a secondary table or from the main table of the persistent class
 *
 * @return appropriate table
 * @throws AnnotationException missing secondary table
 */
public Table getTable() {
  if ( table != null ) return table; //association table
  if ( isSecondary() ) {
    return getJoin().getTable();
  }
  else {
    return propertyHolder.getTable();
  }
}
origin: org.hibernate.orm/hibernate-core

public MappedTable getMappedTable() {
  if ( table != null ){
    return table;
  }
  if ( isSecondary() ) {
    return getJoin().getMappedTable();
  }
  else {
    return propertyHolder.getMappedTable();
  }
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

public void addProperty(Property prop, Ejb3Column[] columns) {
  //Ejb3Column.checkPropertyConsistency( ); //already called earlier
  if ( columns[0].isSecondary() ) {
    //TODO move the getJoin() code here?
    columns[0].getJoin().addProperty( prop );
  }
  else {
    addProperty( prop );
  }
}
origin: org.hibernate.orm/hibernate-core

public void addProperty(Property prop, Ejb3Column[] columns, XClass declaringClass) {
  //Ejb3Column.checkPropertyConsistency( ); //already called earlier
  if ( columns != null && columns[0].isSecondary() ) {
    //TODO move the getJoin() code here?
    final Join join = columns[0].getJoin();
    addPropertyToJoin( prop, declaringClass, join );
  }
  else {
    addProperty( prop, declaringClass );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

public void addProperty(Property prop, Ejb3Column[] columns, XClass declaringClass) {
  //Ejb3Column.checkPropertyConsistency( ); //already called earlier
  if ( columns != null && columns[0].isSecondary() ) {
    //TODO move the getJoin() code here?
    final Join join = columns[0].getJoin();
    addPropertyToJoin( prop, declaringClass, join );
  }
  else {
    addProperty( prop, declaringClass );
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

public void addProperty(Property prop, Ejb3Column[] columns, XClass declaringClass) {
  //Ejb3Column.checkPropertyConsistency( ); //already called earlier
  if ( columns != null && columns[0].isSecondary() ) {
    //TODO move the getJoin() code here?
    final Join join = columns[0].getJoin();
    addPropertyToJoin( prop, declaringClass, join );
  }
  else {
    addProperty( prop, declaringClass );
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

/**
 * Find appropriate table of the column.
 * It can come from a secondary table or from the main table of the persistent class
 *
 * @return appropriate table
 * @throws AnnotationException missing secondary table
 */
public Table getTable() {
  if ( table != null ) return table; //association table
  if ( isSecondary() ) {
    return getJoin().getTable();
  }
  else {
    return propertyHolder.getTable();
  }
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

/**
 * Find appropriate table of the column.
 * It can come from a secondary table or from the main table of the persistent class
 *
 * @return appropriate table
 * @throws AnnotationException missing secondary table
 */
public Table getTable() {
  if ( table != null ) return table; //association table
  if ( isSecondary() ) {
    return getJoin().getTable();
  }
  else {
    return propertyHolder.getTable();
  }
}
origin: org.hibernate/com.springsource.org.hibernate

/**
 * Find appropriate table of the column.
 * It can come from a secondary table or from the main table of the persistent class
 *
 * @return appropriate table
 * @throws AnnotationException missing secondary table
 */
public Table getTable() {
  if ( table != null ) return table; //association table
  if ( isSecondary() ) {
    return getJoin().getTable();
  }
  else {
    return propertyHolder.getTable();
  }
}
org.hibernate.cfgEjb3ColumnisSecondary

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now