Re: Welcome to the "hibernatespatial-users" mailing list (Digest mode)

1 message Options
Embed this post
Permalink
Patel, Ronak Avinash (US SSA)

Re: Welcome to the "hibernatespatial-users" mailing list (Digest mode)

Reply Threaded More More options
Print post
Permalink
Hello,

I just started using the Hibernate Spatial library inside of my JPA
Hibernate EntityManager Configuration. I have an Oracle 11g database
backend.

However, I seem to be getting the following error:

[#|2009-01-30T15:48:20.086-0800|INFO|sun-appserver9.1|org.hibernate.dial
ect.Dial
ect|_ThreadID=14;_ThreadName=pool-1-thread-4;|Using dialect:
org.hibernatespatia
l.oracle.OracleSpatial10gDialect|#]

[#|2009-01-30T15:48:20.374-0800|WARNING|sun-appserver9.1|org.hibernate.d
ialect.O
racle9Dialect|_ThreadID=14;_ThreadName=pool-1-thread-4;_RequestID=04f845
51-68e2-
40c7-9f55-f8318dc250d4;|The Oracle9Dialect dialect has been deprecated;
use eith
er Oracle9iDialect or Oracle10gDialect instead|#]

It seems that the org.hibernatespatial.oracle.OracleSpatial10gDialect
extends the deprecated interfaces Oracle9Dialect. Is this fixed in the
latest versions of the hibernatespatial tool?

I'm using the following maven configuration to load the dependency:

<dependency>
        <groupId>org.hibernatespatial</groupId>
        <artifactId>hibernate-spatial-oracle</artifactId>
        <version>1.0-M2</version>
                       
        <!--  Exclude the Oracle Driver from the Build -->
        <exclusions>
                <exclusion>
                        <groupId>com.oracle.jdbc</groupId>
                        <artifactId>ojdbc14</artifactId>
                </exclusion>
        </exclusions>
</dependency>

I exclude the Oracle 1.4 driver and replace it with the Oracle 11g
driver ojdbc15.jar.

Thanks for any help you can provide,

Ronak Patel

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