Re: Why not OpenJPA map BigDecimal to NUMERIC(precision, scale) on database support NUMERIC

2012-10-17 Thread YaoCL
> I looked back through my emails from when I backed this change out and > can't figure out which test I regressed. The reason that I backed the > change out rather than fix the problem is because we were in the middle of > trying to cut a release. I'll open a new JIRA soon here and just recommit >

Why not OpenJPA map BigDecimal to NUMERIC(precision, scale) on database support NUMERIC

2012-10-12 Thread Yaocl
d to fix it, but finally backed out changes because a test regression. DOUBLE cannot represent decimal fractions exactly. Maybe we should consider to change it to NUMERIC. Regards, YaoCL

Re: Schema generation uses auto-commit mode; breaks on XA data sources

2010-10-14 Thread Yaocl
Hi On Thu, Oct 14, 2010 at 4:16 PM, crispyoz [via OpenJPA] < ml-node+5634141-491366881-296...@n2.nabble.com > wrote: > Yao please send your persistence.xml, DB and driver details. > I figured out the problem. My Environment: Openjpa-1.1.0 Glassfish-2.1.1 JDK_1.6.0_21 postgresql-9.0-801.jdbc4.jar