|
|
|
Patel, Ronak Avinash (US SSA)
|
Hi,
I am using Hibernate version 3.2.6 and Hibernate EntityManager 3.3.2.GA. Thanks, Ronak Patel Message: 1 Date: Mon, 2 Feb 2009 11:36:49 -0800 From: "Patel, Ronak Avinash \(US SSA\)" <[hidden email]> Subject: [hibernatespatial-users] hibernatespatial warnings To: <[hidden email]> Cc: "Froumis, James A \(US SSA\)" <[hidden email]>, "Morgan, Michael L \(GXP\) \(US SSA\)" <[hidden email]>, "Ellison, Aaron S \(US SSA\)" <[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset="us-ascii" 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 ------------------------------ Message: 2 Date: Mon, 2 Feb 2009 22:18:31 +0100 From: Karel Maesen <[hidden email]> Subject: Re: [hibernatespatial-users] hibernatespatial warnings To: Hibernate Spatial Users Discussion <[hidden email]> Cc: "Froumis, James A \(US SSA\)" <[hidden email]>, "Morgan, Michael L \(GXP\) \(US SSA\)" <[hidden email]>, "Ellison, Aaron S \(US SSA\)" <[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed 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/hibernatespatia l-users End of hibernatespatial-users Digest, Vol 18, Issue 1 ***************************************************** _______________________________________________ hibernatespatial-users mailing list [hidden email] http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |