|
From: Oliver G. <oli...@gm...> - 2004-07-08 18:21:10
|
Hi. We would like to use Spring with Hibernate3 which is currently under development. In case you don't know: Hibernate3 is not (will not be) source-code compatible with Hibernate2. The biggest difference is the package renaming: net.sf.hibernate.* -> org.hibernate.* They also changed some Exceptions from java.lang.Class constructor parameters to java.lang.String parameters. This is caused by the fact that Hibernate3 isn't restricted to map only Java classes but can also map "dynamic-classes". So the identifier for a specific mapping changed from the java class to a string. We developed a patch to Spring which is backward compatible so you can use Spring with Hibernate2 or with Hibernate3. To make this work we "mirrored" the org.springframework.orm.hibernate package to org.springframework.orm.hibernate3. There was also the need to change the two exception in the org.springframework.orm package. We also mirrored the tests and all tests are ok. We would like to provide a patch but we don't know what is the prefered way to do this? Thanks, Olli --og |