Class BeanTable

java.lang.Object
io.ebeaninternal.server.deploy.BeanTable

public final class BeanTable extends Object
Used for associated beans in place of a BeanDescriptor. This is done to avoid recursion issues due to the potentially bi-directional and circular relationships between beans.

It holds the main deployment information and not all the detail that is held in a BeanDescriptor.

  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getBaseTable

      public String getBaseTable()
      Return the base table for this BeanTable. This is used to determine the join information for associations.
    • getUnqualifiedBaseTable

      public String getUnqualifiedBaseTable()
      Gets the unqualified base table.
      Returns:
      the unqualified base table
    • getIdProperty

      public BeanProperty getIdProperty()
      Return the Id properties.
    • getBeanType

      public Class<?> getBeanType()
      Return the class for this beanTable.
    • createJoinColumn

      public void createJoinColumn(String foreignKeyPrefix, DeployTableJoin join, boolean reverse, String sqlFormulaSelect)
    • getIdColumn

      public String getIdColumn()
      Return the primary key DB column.