mysql / hibernate 4 support

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

mysql / hibernate 4 support

Yves Gillet
Hi
we just migrated to hibernate 4, using mysql 5.5 and encoutered some compatibility problems with version 1.1.1 of hibernatespatial. I've read somewhere that the support for hibernate 4 is ongoing, and we'd like to know when we could expect a new version compatible ?
Kind regards.

The trace we got:

java.lang.NoSuchFieldError: INTEGER

at org.hibernatespatial.mysql.MySQLSpatialDialect.getFunctionsToRegister(MySQLSpatialDialect.java:75) ~[hibernate-spatial-mysql-1.1.1.jar:na]

at org.hibernatespatial.mysql.MySQLSpatialDialect.<init>(MySQLSpatialDialect.java:134) ~[hibernate-spatial-mysql-1.1.1.jar:na]

at org.hibernatespatial.mysql.DialectProvider.getDefaultDialect(DialectProvider.java:66) ~[hibernate-spatial-mysql-1.1.1.jar:na]

at org.hibernatespatial.HBSpatialExtension.forceConfigure(HBSpatialExtension.java:159) ~[hibernate-spatial-1.1.1.jar:na]

at org.hibernatespatial.HBSpatialExtension.configure(HBSpatialExtension.java:151) ~[hibernate-spatial-1.1.1.jar:na]

at org.hibernatespatial.HBSpatialExtension.getDefaultSpatialDialect(HBSpatialExtension.java:200) ~[hibernate-spatial-1.1.1.jar:na]

at org.hibernatespatial.GeometryUserType.configure(GeometryUserType.java:65) ~[hibernate-spatial-1.1.1.jar:na]

at org.hibernatespatial.GeometryUserType.initialize(GeometryUserType.java:82) ~[hibernate-spatial-1.1.1.jar:na]

at org.hibernatespatial.GeometryUserType.sqlTypes(GeometryUserType.java:233) ~[hibernate-spatial-1.1.1.jar:na]

at org.hibernate.type.CustomType.<init>(CustomType.java:73) ~[hibernate-core-4.1.3.Final.jar:4.1.3.Final]

at org.hibernate.type.CustomType.<init>(CustomType.java:67) ~[hibernate-core-4.1.3.Final.jar:4.1.3.Final]

at org.hibernatespatial.GeometryUserType.<clinit>(GeometryUserType.java:61) ~[hibernate-spatial-1.1.1.jar:na]




_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
Reply | Threaded
Open this post in threaded view
|

Re: mysql / hibernate 4 support

Karel Maesen
Administrator
Hi,

Actually because some changes in Hibernate Core were postponed to Hibernate 5, Hibernate Spatial will only be fully integrated into version 5. That leaves support for 4.x now out in the cold. I'm looking into ways to do an intermediate release for Hibernate 4.x. ETA is uncertain, however.

Regards,

Karel

On 05 Jun 2012, at 17:12, Yves Gillet wrote:

> Hi
> we just migrated to hibernate 4, using mysql 5.5 and encoutered some compatibility problems with version 1.1.1 of hibernatespatial. I've read somewhere that the support for hibernate 4 is ongoing, and we'd like to know when we could expect a new version compatible ?
> Kind regards.
>
> The trace we got:
> java.lang.NoSuchFieldError: INTEGER
>
> at org.hibernatespatial.mysql.MySQLSpatialDialect.getFunctionsToRegister(MySQLSpatialDialect.java:75) ~[hibernate-spatial-mysql-1.1.1.jar:na]
>
> at org.hibernatespatial.mysql.MySQLSpatialDialect.<init>(MySQLSpatialDialect.java:134) ~[hibernate-spatial-mysql-1.1.1.jar:na]
>
> at org.hibernatespatial.mysql.DialectProvider.getDefaultDialect(DialectProvider.java:66) ~[hibernate-spatial-mysql-1.1.1.jar:na]
>
> at org.hibernatespatial.HBSpatialExtension.forceConfigure(HBSpatialExtension.java:159) ~[hibernate-spatial-1.1.1.jar:na]
>
> at org.hibernatespatial.HBSpatialExtension.configure(HBSpatialExtension.java:151) ~[hibernate-spatial-1.1.1.jar:na]
>
> at org.hibernatespatial.HBSpatialExtension.getDefaultSpatialDialect(HBSpatialExtension.java:200) ~[hibernate-spatial-1.1.1.jar:na]
>
> at org.hibernatespatial.GeometryUserType.configure(GeometryUserType.java:65) ~[hibernate-spatial-1.1.1.jar:na]
>
> at org.hibernatespatial.GeometryUserType.initialize(GeometryUserType.java:82) ~[hibernate-spatial-1.1.1.jar:na]
>
> at org.hibernatespatial.GeometryUserType.sqlTypes(GeometryUserType.java:233) ~[hibernate-spatial-1.1.1.jar:na]
>
> at org.hibernate.type.CustomType.<init>(CustomType.java:73) ~[hibernate-core-4.1.3.Final.jar:4.1.3.Final]
>
> at org.hibernate.type.CustomType.<init>(CustomType.java:67) ~[hibernate-core-4.1.3.Final.jar:4.1.3.Final]
>
> at org.hibernatespatial.GeometryUserType.<clinit>(GeometryUserType.java:61) ~[hibernate-spatial-1.1.1.jar:na]
>
>
>
>
>
> _______________________________________________
> hibernatespatial-users mailing list
> [hidden email]
> http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users

_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users