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

"Chris Searle (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
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
 Assigned to: xdoclet-devel (Use for new issues) 


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.