Because the server is compiled before the connector and JCA's
WrappedStatement can't be used in CMP. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Scott M Stark
> Sent: Wednesday, February 04, 2004 4:27 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-dev] Bad cross module dependency
> 
> Why does the jca WrappedStatement implement an interface from 
> the cmp module?
> 
> package org.jboss.resource.adapter.jdbc;
> 
> public class WrappedStatement 
>    implements Statement, 
> org.jboss.ejb.plugins.cmp.jdbc.WrappedStatement
> 
> {
>       ...
> }
> 
> This cmp version of the WrappedStatement is just providing 
> access to the underlying statement object. Why isn't that 
> just part of the jca version of the WrappedStatement, or some 
> interface in the jca pkg?
> There cannot be dependencies on from the jca layer to a user of jca.
> 
> 
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004 Premiere 
> Conference on Open Tools Development and Integration See the 
> breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> JBoss-Development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to