Thanks a lot Geert ,
I never experienced this before.
As you said i imported org.hibernate.* and declared
org.hibernate.Session hs = ....
Phil
Geert Josten wrote:
Hi,
Is it a warning or an error?
Class name collision can occur relatively easy when importing lot's of
packages. What about using full package names and perhaps *not*
including the org.hibernate.Session (and only reference it using the
full package name?)
HTH,
Geert
Philippe Guillard wrote:
Hi all,
I use Hibernate in cocoon configured as in CocoonAndHibernateTutorial.
In XSP i discoverd i can't use Session Logicsheet +
org.hibernate.Session, cause class names collision!.
Doing :
<xsp:page language="java" xmlns:xsp="http://apache.org/xsp"
xmlns:xsp-session="http://apache.org/xsp/session/2.0">
<xsp:structure>
<xsp:include>org.hibernate.Session</xsp:include>
</xsp:structure>
<page>
Will give me "The import org.hibernate.Session collides with another
imported type"
Ok i could use session transformer later in the pipeline but this is
embarassing me, cause i use this a lot already.
Is there a way in XSP to avoid 2 types not to collide?
Regards,
Phil
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]