On Sun, 9 Aug 2009 20:32:02 +1000 "C N Davies" <c...@cndavies.com> wrote:
> Hi, > > > > Following on my earlier issue with BigDecimal precision, I switched > to using doubles instead. This works fine except that OpenJPA is > creating DOUBLE columns as unsigned doubles while they should be > signed doubles. I can't see anything in the docs that tells me how I > can force OpenJPA to create the required type. > > > > Did I miss something? > > > > Chris > > > Hi Chris I set the DB dictioanary and that helps me solve a problem I had with h2. There may be something similar for Oracle. The persistence.xml entry looks like this. <property name="openjpa.jdbc.DBDictionary" value="org.apache.openjpa.jdbc.sql.H2Dictionary(useGetObjectForBlobs=false)"/> -- Best Regards David Beer http://www.thebeerfamily.com