Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1569

CMR loaders should be initialized before queries are compiled in jdbc2 pm

XMLWordPrintable

      Fix:

      $ cvs diff JDBCStoreManager2.java
      Enter passphrase for key '/home/alex/.ssh/identity':
      loubyansky@cvs.sourceforge.net's password:
      Index: JDBCStoreManager2.java
      ===================================================================
      RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc2/JDBCStoreManager2.java,v
      retrieving revision 1.11
      diff -r1.11 JDBCStoreManager2.java
      169,170d168
      < //
      < //
      178,180c176,183
      < //
      < //
      < // Start Phase 3: create tables and compile queries

      > // Start Phase 3: init cmr loaders
      > for(int i = 0; i < managers.size(); ++i)
      >

      { > JDBCStoreManager2 manager = (JDBCStoreManager2)managers.get(i); > manager.startEntity(); > }

      >
      > // Start Phase 4: create tables and compile queries
      435,436d437
      < entityBridge.start();
      <
      472a474,479
      > private void startEntity()
      > throws DeploymentException
      >

      { > entityBridge.start(); > }

      >

              olubyans@redhat.com Alexey Loubyansky
              olubyans@redhat.com Alexey Loubyansky
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: