You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/08/23 08:28:44 UTC

[jira] Assigned: (TAPESTRY-2615) IOC autobuild conflict between org.hibernate.Session and the FullTextSession from the hibernate serach module

     [ https://issues.apache.org/jira/browse/TAPESTRY-2615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAPESTRY-2615:
----------------------------------------------

    Assignee: Howard M. Lewis Ship

> IOC autobuild conflict between org.hibernate.Session and the FullTextSession from the hibernate serach module
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2615
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2615
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-hibernate
>    Affects Versions: 5.0.14
>            Reporter: Sven Homburg
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.15
>
>         Attachments: Hibernate_Session_Marker.patch
>
>
> i use Tapestry's hibernate module and wrote an  service that use the FullTextSession from the hibernate search module.
> since howards svn commit (release 686850 / TAPESTRY-2571: Add configuration to turn off the automatic creation of ValueEncoders for Hibernate entities)
> my application throw an exception at startup like this:
> Caused by: java.lang.RuntimeException: Service interface org.hibernate.Session is matched by 2 services: FullTextSession, Session.
> Automatic dependency resolution requires that exactly one service implement the interface.
> my suggestion is:
> add a Marker "HibernateCore" to all Session parameters in the build calls in HibernateModule

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org