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

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

Best Java code snippets using org.hibernate.cfg.Ejb3Column.getJoin (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.cfgEjb3ColumngetJoin

Popular methods of Ejb3Column

  • <init>
  • bind
  • buildColumnFromAnnotation
  • buildImplicitColumn
  • checkPropertyConsistency
  • forceNotNull
  • 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
  • isSecondary
  • isNullable,
  • isSecondary,
  • isUpdatable,
  • linkWithValue,
  • redefineColumnName,
  • setFormula,
  • setImplicit,
  • setInsertable,
  • setJoins

Popular in Java

  • Making http requests using okhttp
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • setScale (BigDecimal)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Github Copilot alternatives
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