[XDoclet-JIRA] Commented: (XDT-1566) Class name changed for HibernateService

"Paul Galbraith (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
    [ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1566?page=comments#action_17336 ] 

Paul Galbraith commented on XDT-1566:
-------------------------------------

CVS COMMIT LOG: 
SUBJECT: [Xdoclet-devel] CVS: xdoclet/modules/hibernate/src/xdoclet/modules/hibernate HibernateTagsHandler.java,1.43,1.44
XDT-1566: update JMX package name for Hibernate 3.0



> Class name changed for HibernateService
> ---------------------------------------
>
>          Key: XDT-1566
>          URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1566
>      Project: XDoclet
>         Type: Bug
>   Components: Hibernate Module
>     Versions: 1.3
>     Reporter: Chris Searle
>     Assignee: xdoclet-devel (Use for new issues)
>      Fix For: 1.3

>
>
> In HibernateTagsHandler.java you have:
>    public String serviceClassName(Properties attributes)
>     {
>         if ("1.1".equals(getHibernateSubTask().getVersion()))
>             return "cirrus.hibernate.jmx.HibernateService";
>         else
>             return "net.sf.hibernate.jmx.HibernateService";
>     }
> In hibernate 3 it appears that the correct class is
> org.hibernate.jmx.HibernateService
> At least - this appears to be the case - when version is set to 3.0 you get the net.sf class - and on deploy a class cast exception - and in hibernate3.jar it's got a class org.hibernate.jmx.HibernateService - so I assume that it's the same :)

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



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.