Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] EclipseLink problems with Postgres 9.1

Hi,

I have a working J2EE web application using EclipseLink 2.4.1,
Postgres 8.4 and JBoss 7.1. I even made an option in persistence.xml
to switch between Hibernate and Eclipselink. Everything worked great
until I needed to upgrade to Postgres 9.1 database. I updated Postgres
driver to 9.1-901.jdbc4, first tried Hibernate persistence and
everything worked without a hiccup. However, for some reason
EclipseLink simply does not write to a Postgres 9.1 DB. I thought this
might be related to Java/platform specifics I am running (Linux Fedora
16/jdk7u21) so I tried it on a colleagues Windows laptop - the exact
same issue occurs - there are no writes to the database. I tried
different versions of Postgres driver, trying 9.2-1002 .jdbc4 and even
8.4-703.jdbc4 that I used with Postgres 8.4 installation to no avail.
Mind you DDL generation works fine, everything seems normal in the
logs [1] and yet when the writes are supposed to happen my database
does not record any changes.

What could be the culprit?

Regards,
Vladimir


[1]
10:57:51,532 INFO  [stdout]  [EL Info]: 2013-05-24
10:57:51.52--ServerSession(1448020230)--EclipseLink, version: Eclipse
Persistence Services - 2.4.1.v20121003-ad44345
10:57:51,987 INFO  [stdout] [EL Info]: connection: 2013-05-24
10:57:51.986--ServerSession(1448020230)--vfs:/content/acme.war/WEB-INF/classes/_acme
login successful


Back to the top