From: Dain S. <dsu...@us...> - 2002-08-25 19:51:41
|
User: dsundstrom Date: 02/08/25 12:51:40 Modified: src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCEntityBridge.java Log: Applied patch [ 581134 ] CMP Performance Patch: call setFetchSize. Thanks Georg Schmid! Revision Changes Path 1.27 +5 -1 jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge/JDBCEntityBridge.java Index: JDBCEntityBridge.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge/JDBCEntityBridge.java,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- JDBCEntityBridge.java 24 Jun 2002 21:56:21 -0000 1.26 +++ JDBCEntityBridge.java 25 Aug 2002 19:51:40 -0000 1.27 @@ -54,7 +54,7 @@ * One per cmp entity bean type. * * @author <a href="mailto:da...@da...">Dain Sundstrom</a> - * @version $Revision: 1.26 $ + * @version $Revision: 1.27 $ */ public class JDBCEntityBridge implements EntityBridge { private JDBCEntityMetaData metadata; @@ -365,6 +365,10 @@ return metadata.getListCacheMax(); } + public int getFetchSize() { + return metadata.getFetchSize(); + } + public Object createPrimaryKeyInstance() { if(metadata.getPrimaryKeyFieldName() == null) { try { |