Package com.draagon.meta.manager.db.defs

Examples of com.draagon.meta.manager.db.defs.BaseDef


  @Override
  public boolean create(Connection c, MetaClass mc, ObjectMappingDB omdb,
      Object o) throws SQLException {
   
    // Check if there is table inheritence going on, and if so create the super table first
    BaseDef base = omdb.getDBDef();
    if ( base instanceof TableDef ) {
      TableDef table = (TableDef) base;
     
      InheritenceDef inheritence = table.getInheritence();
      if ( inheritence != null ) {
View Full Code Here


      MetaField dirtyField, Object dirtyValue ) throws SQLException {
   
    Expression exp = null;
   
    // Check if there is table inheritence going on, and if so delete the super table first
    BaseDef base = omdb.getDBDef();
    if ( base instanceof TableDef ) {
      TableDef table = (TableDef) base;
     
      InheritenceDef inheritence = table.getInheritence();
      if ( inheritence != null ) {
View Full Code Here

  public boolean delete( Connection c, MetaClass mc, ObjectMappingDB omdb,
      Object o, Collection<MetaField> keys )
    throws SQLException {
       
    // Check if there is table inheritence going on, and if so delete the super table first
    BaseDef base = omdb.getDBDef();
    if ( base instanceof TableDef ) {
      TableDef table = (TableDef) base;
     
      InheritenceDef inheritence = table.getInheritence();
      if ( inheritence != null ) {
View Full Code Here

TOP

Related Classes of com.draagon.meta.manager.db.defs.BaseDef

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.