congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Creating JSON documents from java classes using gson
  • getSharedPreferences (Context)
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • 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