Daytrader:  ejb-ql-compiler-factory element is wrong for DB2 or Oracle db
-------------------------------------------------------------------------

         Key: GERONIMO-1534
         URL: http://issues.apache.org/jira/browse/GERONIMO-1534
     Project: Geronimo
        Type: Bug
  Components: sample apps  
    Versions: 1.0    
 Environment: WinXP, 
    Reporter: Lin Sun
    Priority: Minor


In daytrader plan it contains the following ejb-ql-compiler-factory elements:

<!--  For DB2 database users uncomment the following line.
            
<ejb-ql-compiler-factory>org.tranql.ejbcompiler.DB2EJBQLCompilerFactory</ejb-ql-compiler-factory>
            
<db-syntax-factory>org.tranql.sql.db2.DB2DBSyntaxFactory</db-syntax-factory>
-->

If you uncomment the following line and configure daytrader with DB2, you will 
see a classloader problem when deploying daytrader.     

This should be changed to ejbqlcompiler instead of ejbcompiler:

            
<ejb-ql-compiler-factory>org.tranql.ejbqlcompiler.DB2EJBQLCompilerFactory</ejb-ql-compiler-factory>
            
<db-syntax-factory>org.tranql.sql.db2.DB2DBSyntaxFactory</db-syntax-factory>

Same problem with Oracle.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to