CMR loaders should be initialized before queries are compiled in jdbc2 pm
-------------------------------------------------------------------------
Key: JBAS-1569
URL: http://jira.jboss.com/jira/browse/JBAS-1569
Project: JBoss Application Server
Type: Bug
Components: CMP service
Versions: JBossAS-3.2.7 Final, JBossAS-5.0 Alpha, JBossAS-4.0.1 SP1
Reporter: Alexey Loubyansky
Assigned to: Alexey Loubyansky
Fix:
$ cvs diff JDBCStoreManager2.java
Enter passphrase for key '/home/alex/.ssh/identity':
[EMAIL PROTECTED]'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();
> }
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development