Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] EclipseLink JPA in z/OS batch runtime

Hi,

I currently try to run a Java program in the z/OS batch runtime with Eclipselink as JPA provider. The program is basically a Java SE programming but the database connection is managed by the batch container.

Two questions/notices:
1.) How to get EclipseLink to use DriverManager according to this document:
http://www.redbooks.ibm.com/redbooks/pdfs/sg248116.pdf
See chapter 2.6.3.

With my configuration eclipse link seems to complain a missing config with URL, user and password being null. Any ideas?


2.) There seems to be a bug in some component regarding file encoding.

When running with file.encoding=IBM-273 the javax.persistence api (dependency via maven eclipselink jpa 2.6.0) fails to load the  eclipse jpa service provider. According to the JavaDoc of the ServiceLoader class, the services file needs to be in utf-8, so the eclipse link jpa jar file seems to be correct.

Any ideas in which component the error may resides?

With kind regards
Thomas

Back to the top