Skip to main content

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

Hi
We use RESOURCE_LOCAL

Mit freundlichen Grüssen / With best regards
Steffen Herter 
Finanzen, Controlling, IT ZF-Konzern/Finance, Controlling, IT ZF Group
Informatik ZF-Konzern/Information Technology ZF Group
FC Engineering Applikationen ZF-Konzern/FC Engineering Application ZF Group

ZF Friedrichshafen AG
D-88038 Friedrichshafen, Deutschland/Germany
Telefon/Phone +49 -7541 77-8801, Telefax/Fax +49 7541 77-908801
mailto:steffen.herter@xxxxxx 
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Prof. Dr. Giorgio Behr 
Vorstand/Board of Management: Dr. Stefan Sommer (Vorsitzender/CEO), Dr. Konstantin Sauer, Jürgen Holeksa, Michael Hankel, Wilhelm Rehm, Rolf Lutz
Sitz/Headquarters: Friedrichshafen 
Handelsregistereintrag Amtsgericht Ulm HRB 630206/Trade register of the municipal court of Ulm HRB 630206 


-----Ursprüngliche Nachricht-----
Von: eclipselink-users-bounces@xxxxxxxxxxx [mailto:eclipselink-users-bounces@xxxxxxxxxxx] Im Auftrag von Tom Ware
Gesendet: Freitag, 24. Mai 2013 14:24
An: eclipselink-users@xxxxxxxxxxx
Betreff: Re: [eclipselink-users] EclipseLink problems with Postgres 9.1

How are you connecting to the database.  Are you using a JTA datasource?  A non-JPA-datasource?  A RESOURCE_LOCAL connecton?  How is it configured

If you change the EclipseLink logging level to FINER, do you see SQL logged when you do an insert/update? (persistence unit property eclipselink.logging.level=FINER)

-Tom

On 24/05/2013 6:07 AM, Vladimir Blagojevic wrote:
> 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
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


Back to the top