connection to SQl Server using JPA with Hibernate spatial [SEC=UNCLASSIFIED]

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

connection to SQl Server using JPA with Hibernate spatial [SEC=UNCLASSIFIED]

Steve Cameron

Hi,

 

I am new to ORMs and am putting together a demo using Hibernate JPA annotations against and SQL Server database.

 

All is well so far and I’m now trying to add a spatial field into one of the tables.

 

I’m getting the following error:

 

20/03/2012 3:59:32 PM org.hibernate.annotations.common.Version <clinit>

INFO: HCANN000001: Hibernate Commons Annotations {4.0.1.Final}

20/03/2012 3:59:32 PM org.hibernate.Version logVersion

INFO: HHH000412: Hibernate Core {4.1.1}

20/03/2012 3:59:32 PM org.hibernate.cfg.Environment <clinit>

INFO: HHH000206: hibernate.properties not found

20/03/2012 3:59:32 PM org.hibernate.cfg.Environment buildBytecodeProvider

INFO: HHH000021: Bytecode provider name : javassist

5 [main] INFO org.hibernatespatial.HBSpatialExtension - Initializing HBSpatialExtension

6 [main] INFO org.hibernatespatial.HBSpatialExtension - Attempting to load Hibernate Spatial Provider org.hibernatespatial.sqlserver.DialectProvider

7 [main] INFO org.hibernatespatial.HBSpatialExtension - Checking for default configuration file.

8 [main] INFO org.hibernatespatial.cfg.HSConfiguration - No configuration file hibernate-spatial.cfg.xml on the classpath.

20/03/2012 3:59:33 PM org.hibernate.dialect.Dialect <init>

INFO: HHH000400: Using dialect: org.hibernatespatial.sqlserver.SQLServerSpatialDialect

Exception in thread "main" java.lang.NoSuchFieldError: INTEGER

       at org.hibernatespatial.sqlserver.SQLServerSpatialDialect.<init>(SQLServerSpatialDialect.java:61)

       at org.hibernatespatial.sqlserver.DialectProvider.getDefaultDialect(DialectProvider.java:49)

       at org.hibernatespatial.HBSpatialExtension.forceConfigure(HBSpatialExtension.java:159)

       at org.hibernatespatial.HBSpatialExtension.configure(HBSpatialExtension.java:151)

       at org.hibernatespatial.HBSpatialExtension.getDefaultSpatialDialect(HBSpatialExtension.java:200)

       at org.hibernatespatial.GeometryUserType.configure(GeometryUserType.java:65)

       at org.hibernatespatial.GeometryUserType.initialize(GeometryUserType.java:82)

       at org.hibernatespatial.GeometryUserType.sqlTypes(GeometryUserType.java:233)

       at org.hibernate.type.CustomType.<init>(CustomType.java:73)

       at org.hibernate.type.CustomType.<init>(CustomType.java:67)

       at org.hibernatespatial.GeometryUserType.<clinit>(GeometryUserType.java:61)

       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

       at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

       at java.lang.reflect.Constructor.newInstance(Unknown Source)

       at java.lang.Class.newInstance0(Unknown Source)

       at java.lang.Class.newInstance(Unknown Source)

       at org.hibernate.type.TypeFactory.custom(TypeFactory.java:188)

       at org.hibernate.type.TypeFactory.custom(TypeFactory.java:179)

       at org.hibernate.type.TypeFactory.byClass(TypeFactory.java:103)

       at org.hibernate.type.TypeResolver.heuristicType(TypeResolver.java:130)

       at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:295)

       at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:288)

       at org.hibernate.mapping.Property.isValid(Property.java:238)

       at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:468)

       at org.hibernate.mapping.RootClass.validate(RootClass.java:270)

       at org.hibernate.cfg.Configuration.validate(Configuration.java:1290)

       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1732)

       at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94)

       at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)

       at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)

       at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)

       at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)

       at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)

       at au.gov.aad.fisheries.test.TestMain.main(TestMain.java:24)

 

 

The documentation here mentions making some changes to hibernate.cfg.xml, so far I’ve not had to make use of this file, just persistence.xml, through which I pass hibernate properties as follows:

 

<persistence xmlns="http://java.sun.com/xml/ns/persistence" 

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 

xsi:schemaLocation="http://java.sun.com/xml/ns/persistence  http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"

version="1.0">

   <persistence-unit name="manager1" transaction-type="RESOURCE_LOCAL">

     <properties>

         <property name="javax.persistence.jdbc.driver" value="net.sourceforge.jtds.jdbc.Driver"/>

         <property name="javax.persistence.jdbc.user" value="test"/>

         <property name="javax.persistence.jdbc.password" value="password1"/>

         <property name="javax.persistence.jdbc.url" value="jdbc:jtds:sqlserver://localhost:1433;databaseName=JPA_Demo;"/>

         <property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect"/>

         <property name="hibernate.hbm2ddl.auto" value="create-drop"/>

             <property name="hibernate.connection.pool_size" value="0"/>

         <property name="hibernate.max_fetch_depth" value="3"/>

      </properties>

   </persistence-unit>

</persistence>

 

In my classpath I have the following jars.

 

jts-1.8.jar

hibernate-spatial-1.1.1.jar

hibernate-spatial-sqlserver-1.1.1.jar

hibernate-jpa-2.0-api-1.01.Final.jar

+ others

 

I’d be happy to get some ideas.

 

Thanks

 

Steve Cameron

 

 

Stephen Cameron

Antarctic Fisheries Computing and Database Support Provider

Australian Antarctic Division

Kingston, Tasmania

 

EmailSig (2)

Phone: 03 62323571

 

___________________________________________________________________________

    Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
        Visit our web site at http://www.antarctica.gov.au/
___________________________________________________________________________


_______________________________________________
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: connection to SQl Server using JPA with Hibernate spatial [SEC=UNCLASSIFIED]

Karel Maesen
Administrator
Hi,

You're using a version of Hibernate that is not compatible with Hibernate Spatial.

Currenlty HS 1.1.1 works with Hibernate 3.6.

For Hibernate 4, no Hibernate Spatial version has been released (yet). We are currently working on integrating Hibernate Spatial as a module into Hibernate Core. This will happen for Hibernate 5.

Regards,

Karel Maesen


On 20 Mar 2012, at 06:23, Steve Cameron wrote:

> Hi,
>  
> I am new to ORMs and am putting together a demo using Hibernate JPA annotations against and SQL Server database.
>  
> All is well so far and I’m now trying to add a spatial field into one of the tables.
>  
> I’m getting the following error:
>  
> 20/03/2012 3:59:32 PM org.hibernate.annotations.common.Version <clinit>
> INFO: HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
> 20/03/2012 3:59:32 PM org.hibernate.Version logVersion
> INFO: HHH000412: Hibernate Core {4.1.1}
> 20/03/2012 3:59:32 PM org.hibernate.cfg.Environment <clinit>
> INFO: HHH000206: hibernate.properties not found
> 20/03/2012 3:59:32 PM org.hibernate.cfg.Environment buildBytecodeProvider
> INFO: HHH000021: Bytecode provider name : javassist
> 5 [main] INFO org.hibernatespatial.HBSpatialExtension - Initializing HBSpatialExtension
> 6 [main] INFO org.hibernatespatial.HBSpatialExtension - Attempting to load Hibernate Spatial Provider org.hibernatespatial.sqlserver.DialectProvider
> 7 [main] INFO org.hibernatespatial.HBSpatialExtension - Checking for default configuration file.
> 8 [main] INFO org.hibernatespatial.cfg.HSConfiguration - No configuration file hibernate-spatial.cfg.xml on the classpath.
> 20/03/2012 3:59:33 PM org.hibernate.dialect.Dialect <init>
> INFO: HHH000400: Using dialect: org.hibernatespatial.sqlserver.SQLServerSpatialDialect
> Exception in thread "main" java.lang.NoSuchFieldError: INTEGER
>        at org.hibernatespatial.sqlserver.SQLServerSpatialDialect.<init>(SQLServerSpatialDialect.java:61)
>        at org.hibernatespatial.sqlserver.DialectProvider.getDefaultDialect(DialectProvider.java:49)
>        at org.hibernatespatial.HBSpatialExtension.forceConfigure(HBSpatialExtension.java:159)
>        at org.hibernatespatial.HBSpatialExtension.configure(HBSpatialExtension.java:151)
>        at org.hibernatespatial.HBSpatialExtension.getDefaultSpatialDialect(HBSpatialExtension.java:200)
>        at org.hibernatespatial.GeometryUserType.configure(GeometryUserType.java:65)
>        at org.hibernatespatial.GeometryUserType.initialize(GeometryUserType.java:82)
>        at org.hibernatespatial.GeometryUserType.sqlTypes(GeometryUserType.java:233)
>        at org.hibernate.type.CustomType.<init>(CustomType.java:73)
>        at org.hibernate.type.CustomType.<init>(CustomType.java:67)
>        at org.hibernatespatial.GeometryUserType.<clinit>(GeometryUserType.java:61)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
>        at java.lang.reflect.Constructor.newInstance(Unknown Source)
>        at java.lang.Class.newInstance0(Unknown Source)
>        at java.lang.Class.newInstance(Unknown Source)
>        at org.hibernate.type.TypeFactory.custom(TypeFactory.java:188)
>        at org.hibernate.type.TypeFactory.custom(TypeFactory.java:179)
>        at org.hibernate.type.TypeFactory.byClass(TypeFactory.java:103)
>        at org.hibernate.type.TypeResolver.heuristicType(TypeResolver.java:130)
>        at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:295)
>        at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:288)
>        at org.hibernate.mapping.Property.isValid(Property.java:238)
>        at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:468)
>        at org.hibernate.mapping.RootClass.validate(RootClass.java:270)
>        at org.hibernate.cfg.Configuration.validate(Configuration.java:1290)
>        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1732)
>        at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94)
>        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)
>        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)
>        at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
>        at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
>        at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)
>        at au.gov.aad.fisheries.test.TestMain.main(TestMain.java:24)
>  
>  
> The documentation here mentions making some changes to hibernate.cfg.xml, so far I’ve not had to make use of this file, just persistence.xml, through which I pass hibernate properties as follows:
>  
> <persistence xmlns="http://java.sun.com/xml/ns/persistence"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
> version="1.0">
>    <persistence-unit name="manager1" transaction-type="RESOURCE_LOCAL">
>      <properties>
>          <property name="javax.persistence.jdbc.driver" value="net.sourceforge.jtds.jdbc.Driver"/>
>          <property name="javax.persistence.jdbc.user" value="test"/>
>          <property name="javax.persistence.jdbc.password" value="password1"/>
>          <property name="javax.persistence.jdbc.url"value="jdbc:jtds:sqlserver://localhost:1433;databaseName=JPA_Demo;"/>
>          <property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect"/>
>          <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
>              <property name="hibernate.connection.pool_size" value="0"/>
>          <property name="hibernate.max_fetch_depth" value="3"/>
>       </properties>
>    </persistence-unit>
> </persistence>
>  
> In my classpath I have the following jars.
>  
> jts-1.8.jar
> hibernate-spatial-1.1.1.jar
> hibernate-spatial-sqlserver-1.1.1.jar
> hibernate-jpa-2.0-api-1.01.Final.jar
> + others
>  
> I’d be happy to get some ideas.
>  
> Thanks
>  
> Steve Cameron
>  
>  
> Stephen Cameron
> Antarctic Fisheries Computing and Database Support Provider
> Australian Antarctic Division
> Kingston, Tasmania
>  
> <image001.jpg>
> Phone: 03 62323571
>  
> ___________________________________________________________________________
>
>     Australian Antarctic Division - Commonwealth of Australia
> IMPORTANT: This transmission is intended for the addressee only. If you are not the
> intended recipient, you are notified that use or dissemination of this communication is
> strictly prohibited by Commonwealth law. If you have received this transmission in error,
> please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
> DELETE the message.
>         Visit our web site at http://www.antarctica.gov.au/
> ___________________________________________________________________________
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: connection to SQl Server using JPA with Hibernate spatial [SEC=UNCLASSIFIED]

Steve Cameron
Thanks

Apologies for not reading the documentation.

Stephen Cameron
Antarctic Fisheries Computing and Database Support Provider
Australian Antarctic Division
Kingston, Tasmania


Phone: 03 62323571

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Karel Maesen
Sent: Thursday, 22 March 2012 7:25 AM
To: Hibernate Spatial Users Discussion
Subject: Re: [hibernatespatial-users] connection to SQl Server using JPA with Hibernate spatial [SEC=UNCLASSIFIED]

Hi,

You're using a version of Hibernate that is not compatible with Hibernate Spatial.

Currenlty HS 1.1.1 works with Hibernate 3.6.

For Hibernate 4, no Hibernate Spatial version has been released (yet). We are currently working on integrating Hibernate Spatial as a module into Hibernate Core. This will happen for Hibernate 5.

Regards,

Karel Maesen


On 20 Mar 2012, at 06:23, Steve Cameron wrote:

> Hi,
>  
> I am new to ORMs and am putting together a demo using Hibernate JPA annotations against and SQL Server database.
>  
> All is well so far and I'm now trying to add a spatial field into one of the tables.
>  
> I'm getting the following error:
>  
> 20/03/2012 3:59:32 PM org.hibernate.annotations.common.Version
> <clinit>
> INFO: HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
> 20/03/2012 3:59:32 PM org.hibernate.Version logVersion
> INFO: HHH000412: Hibernate Core {4.1.1}
> 20/03/2012 3:59:32 PM org.hibernate.cfg.Environment <clinit>
> INFO: HHH000206: hibernate.properties not found
> 20/03/2012 3:59:32 PM org.hibernate.cfg.Environment
> buildBytecodeProvider
> INFO: HHH000021: Bytecode provider name : javassist
> 5 [main] INFO org.hibernatespatial.HBSpatialExtension - Initializing
> HBSpatialExtension
> 6 [main] INFO org.hibernatespatial.HBSpatialExtension - Attempting to
> load Hibernate Spatial Provider
> org.hibernatespatial.sqlserver.DialectProvider
> 7 [main] INFO org.hibernatespatial.HBSpatialExtension - Checking for default configuration file.
> 8 [main] INFO org.hibernatespatial.cfg.HSConfiguration - No configuration file hibernate-spatial.cfg.xml on the classpath.
> 20/03/2012 3:59:33 PM org.hibernate.dialect.Dialect <init>
> INFO: HHH000400: Using dialect:
> org.hibernatespatial.sqlserver.SQLServerSpatialDialect
> Exception in thread "main" java.lang.NoSuchFieldError: INTEGER
>        at org.hibernatespatial.sqlserver.SQLServerSpatialDialect.<init>(SQLServerSpatialDialect.java:61)
>        at org.hibernatespatial.sqlserver.DialectProvider.getDefaultDialect(DialectProvider.java:49)
>        at org.hibernatespatial.HBSpatialExtension.forceConfigure(HBSpatialExtension.java:159)
>        at org.hibernatespatial.HBSpatialExtension.configure(HBSpatialExtension.java:151)
>        at org.hibernatespatial.HBSpatialExtension.getDefaultSpatialDialect(HBSpatialExtension.java:200)
>        at org.hibernatespatial.GeometryUserType.configure(GeometryUserType.java:65)
>        at org.hibernatespatial.GeometryUserType.initialize(GeometryUserType.java:82)
>        at org.hibernatespatial.GeometryUserType.sqlTypes(GeometryUserType.java:233)
>        at org.hibernate.type.CustomType.<init>(CustomType.java:73)
>        at org.hibernate.type.CustomType.<init>(CustomType.java:67)
>        at org.hibernatespatial.GeometryUserType.<clinit>(GeometryUserType.java:61)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
>        at java.lang.reflect.Constructor.newInstance(Unknown Source)
>        at java.lang.Class.newInstance0(Unknown Source)
>        at java.lang.Class.newInstance(Unknown Source)
>        at org.hibernate.type.TypeFactory.custom(TypeFactory.java:188)
>        at org.hibernate.type.TypeFactory.custom(TypeFactory.java:179)
>        at org.hibernate.type.TypeFactory.byClass(TypeFactory.java:103)
>        at org.hibernate.type.TypeResolver.heuristicType(TypeResolver.java:130)
>        at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:295)
>        at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:288)
>        at org.hibernate.mapping.Property.isValid(Property.java:238)
>        at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:468)
>        at org.hibernate.mapping.RootClass.validate(RootClass.java:270)
>        at org.hibernate.cfg.Configuration.validate(Configuration.java:1290)
>        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1732)
>        at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94)
>        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)
>        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)
>        at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
>        at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
>        at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)
>        at au.gov.aad.fisheries.test.TestMain.main(TestMain.java:24)
>  
>  
> The documentation here mentions making some changes to hibernate.cfg.xml, so far I've not had to make use of this file, just persistence.xml, through which I pass hibernate properties as follows:
>  
> <persistence xmlns="http://java.sun.com/xml/ns/persistence"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
> version="1.0">
>    <persistence-unit name="manager1" transaction-type="RESOURCE_LOCAL">
>      <properties>
>          <property name="javax.persistence.jdbc.driver" value="net.sourceforge.jtds.jdbc.Driver"/>
>          <property name="javax.persistence.jdbc.user" value="test"/>
>          <property name="javax.persistence.jdbc.password" value="password1"/>
>          <property name="javax.persistence.jdbc.url"value="jdbc:jtds:sqlserver://localhost:1433;databaseName=JPA_Demo;"/>
>          <property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect"/>
>          <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
>              <property name="hibernate.connection.pool_size" value="0"/>
>          <property name="hibernate.max_fetch_depth" value="3"/>
>       </properties>
>    </persistence-unit>
> </persistence>
>  
> In my classpath I have the following jars.
>  
> jts-1.8.jar
> hibernate-spatial-1.1.1.jar
> hibernate-spatial-sqlserver-1.1.1.jar
> hibernate-jpa-2.0-api-1.01.Final.jar
> + others
>  
> I'd be happy to get some ideas.
>  
> Thanks
>  
> Steve Cameron
>  
>  
> Stephen Cameron
> Antarctic Fisheries Computing and Database Support Provider Australian
> Antarctic Division Kingston, Tasmania
>  
> <image001.jpg>
> Phone: 03 62323571
>  
> ______________________________________________________________________
> _____
>
>     Australian Antarctic Division - Commonwealth of Australia
> IMPORTANT: This transmission is intended for the addressee only. If
> you are not the intended recipient, you are notified that use or
> dissemination of this communication is strictly prohibited by
> Commonwealth law. If you have received this transmission in error,
> please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and DELETE the message.
>         Visit our web site at http://www.antarctica.gov.au/ 
> ______________________________________________________________________
> _____
>
> _______________________________________________
> hibernatespatial-users mailing list
> [hidden email]
> http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespat
> ial-users

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

    Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
        Visit our web site at http://www.antarctica.gov.au/
___________________________________________________________________________
_______________________________________________
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: connection to SQl Server using JPA with Hibernate spatial [SEC=UNCLASSIFIED]

Benoit Besson
This post has NOT been accepted by the mailing list yet.
Hi,

I understand from Karel that hibernate spatial for hibernate versions from 4.0 is currently in development on a hibernate core dedicated branch (aka HHH-6509).
Firstly annonced for Hibernate 4.1 it is finally scheduled for Hibernate 5.

I can't see any annoncement for this next major release.

I start a new project and I wonder if I link to hibernate V3.X, hibernate 4 and schedule spatial development for later, or use the dedicated "experimental" branch until H5 is out.
Could you give little information on the stability of this branch ? Is it merged on the fly with new H4 releases (the one out this morning for example) ? Is there a simple way to get a binary or to compile sources ? Do you have any information of the date for the target release.

Thanks,

Benoit.