You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Felipe Leme (JIRA)" <ji...@codehaus.org> on 2005/04/01 05:10:56 UTC

[jira] Commented: (MPHIBERNATE-14) Support Hibernate 3.0

     [ http://jira.codehaus.org/browse/MPHIBERNATE-14?page=comments#action_31491 ]
     
Felipe Leme commented on MPHIBERNATE-14:
----------------------------------------

Dan,

Unfortunately, the fix is not that simple, as such change would cease the support to Hibernate 2.x.

In other words, we need to decide how to support both versions (Hibernate 2 and 3).

-- Felipe
 

> Support Hibernate 3.0
> ---------------------
>
>          Key: MPHIBERNATE-14
>          URL: http://jira.codehaus.org/browse/MPHIBERNATE-14
>      Project: maven-hibernate-plugin
>         Type: Improvement
>     Versions: 1.3
>  Environment: N/A
>     Reporter: Mark Hobson
>  Attachments: hibernate3support.diff
>
>
> In Hibernate 3.0, currently alpha, the class structure has changed from net.sf.hibernate to org.hibernate.  This means that when using this plugin the user has to change the dialect class in hibernate.cfg.xml or hibernate.properties before & after a hibernate:schema-export.
> To upgrade this plugin to support 3.0 is very straightforward - just change the dependency, reorganise the imports & fix line 178 of SchemaBeanBase to support the new API method Configuration.addJar(File).  There's also the 3.0 DTD's to add support for, but nothing major to get things working.
> Obviously these changes will break 2.1 users, so is it worth maintaining parallel releases for both 2.1 and 3.0 Hibernate users?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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