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

  • Creating JSON documents from java classes using gson
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • compareTo (BigDecimal)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 21 Best Atom Packages for 2021
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