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
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to