hibernatespatial warnings

2 messages Options
Embed this post
Permalink
Patel, Ronak Avinash (US SSA)

hibernatespatial warnings

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 either Oracle9iDialect or Oracle10gDialect instead|#]

It seems that the org.hibernatespatial.oracle.OracleSpatial10gDialect
extends the deprecated interface Oracle9Dialect. Will this be fixed in
the latest versions of the hibernatespatial API?

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
Karel Maesen

Re: hibernatespatial warnings

Reply Threaded More More options
Print post
Permalink
Hi,

That is just a warning, not an error.  Do you use Hibernate version 3.3?

For the next version we will support Hibernate 3.3, and in that  
context the deprecation issues you mention will be resolved.

Regards,

Karel Maesen



On 02 Feb 2009, at 20:36, Patel, Ronak Avinash ((US SSA)) wrote:

> 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 either Oracle9iDialect or Oracle10gDialect instead|#]
>
> It seems that the org.hibernatespatial.oracle.OracleSpatial10gDialect
> extends the deprecated interface Oracle9Dialect. Will this be fixed in
> the latest versions of the hibernatespatial API?
>
> 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

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