Package org.jboss.ejb.plugins.cmp.jdbc.bridge

Examples of org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCFieldBridge


/*  758 */               JDBCFieldBridge[] tableFields = selectEntity.getTableFields();
/*  759 */               for (int i = 0; i < eagerLoadMask.length; i++)
/*      */               {
/*  761 */                 if (eagerLoadMask[i] == 0)
/*      */                   continue;
/*  763 */                 JDBCFieldBridge field = tableFields[i];
/*  764 */                 ref[0] = null;
/*      */
/*  767 */                 index = field.loadArgumentResults(rs, index, ref);
/*      */
/*  769 */                 if (!addPk)
/*      */                   continue;
/*  771 */                 selectReadAheadCache.addPreloadData(pk, field, ref[0]);
/*      */               }
View Full Code Here


/*     */   {
/* 233 */     JDBCFieldBridge[] fields = this.entity.getTableFields();
/* 234 */     List insertFieldsList = new ArrayList(fields.length);
/* 235 */     for (int i = 0; i < fields.length; i++)
/*     */     {
/* 237 */       JDBCFieldBridge field = fields[i];
/* 238 */       if (isInsertField(field)) {
/* 239 */         insertFieldsList.add(field);
/*     */       }
/*     */     }
/* 242 */     this.insertFields = ((JDBCFieldBridge[])(JDBCFieldBridge[])insertFieldsList.toArray(new JDBCFieldBridge[insertFieldsList.size()]));
View Full Code Here

/*  505 */       JDBCFieldBridge[] pkFields = this.relatedEntity.getPrimaryKeyFields();
/*  506 */       List fkList = new ArrayList(pkFields.length);
/*  507 */       List relatedPKList = new ArrayList(pkFields.length);
/*  508 */       for (int i = 0; i < pkFields.length; i++)
/*      */       {
/*  510 */         JDBCFieldBridge relatedPKField = pkFields[i];
/*  511 */         JDBCFieldBridge fkField = (JDBCCMPFieldBridge2)fkFieldsByRelatedPKFields.remove(relatedPKField);
/*  512 */         fkList.add(fkField);
/*  513 */         relatedPKList.add(relatedPKField);
/*      */       }
/*  515 */       this.foreignKeyFields = ((JDBCCMPFieldBridge2[])(JDBCCMPFieldBridge2[])fkList.toArray(new JDBCCMPFieldBridge2[fkList.size()]));
/*  516 */       this.relatedPKFields = ((JDBCCMPFieldBridge2[])(JDBCCMPFieldBridge2[])relatedPKList.toArray(new JDBCCMPFieldBridge2[relatedPKList.size()]));
View Full Code Here

TOP

Related Classes of org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCFieldBridge

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.