Hi all,
I have a project where I am developing an application that will
initially be deployed to run against oracle, but should also be able to
run against postgis (or mysql for that matter). To that end, I added
both provider jars to my maven dependencies, and set up some seemingly
simple switches in our database "setup" classes to be able to connect to
either database. My data objects are using Hibernate annotations. I was
able to get each database to work with my simple junit test case
individually, but am having trouble coming up with a way to support both
at the same time.
What I've found is that the when running against oracle, I have to
supply a "sqltype" by using the following:
@Column(columnDefinition = "MDSYS.SDO_GEOMETRY
_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users