Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#20 avoid code change to migrate from hibernate 3 to hibernate 4

v1.9.x
open
jasypt (16)
5
2013-02-08
2013-02-08
john
No

The hibernate type converters provided in jasypt-hibernate3 and jasypty-hibernate4 are in different package names. This forces a code change when migrating from hibernate 3 to 4. If these different type converters were in the packaged named as in jasypt 1.7.1 (org.jasypt.hibernate.type), then migration is easily accomplished by changing the runtime classpath.

As a workaround, developers can implement a wrapper in this package: org.jasyspt.hibernate.type.* and produce two versions, one for 3 one for 4, and put them in different jar files.

Discussion