title: Targeting a Java app at Oracle AND Postgres
body: <p>Does anyone have any experience with creating database agnostic apps in Java, particularly with Hibernate, and simultaneously targeting Oracle and Postgres databases?</p>
  
  <p>In particular I am looking at Oracle Spatial and PostGIS.
  We want to create a Java based SOA which can be used with both Oracle Spatial and PostGIS back ends.
  I've used Hibernate with both these databases but never with the intention of targeting both.
  I can create scenarios where the same code can generate different results depending on which database is used.</p>
  
  <p>It maybe that hibernate can handle this but it would be nice to hear if there are any known problems.</p>
  
  <p>Ken</p>