Skip to main content

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

#1) The document you referenced is using a type 2 JCC driver (which uses C-compiled binaries), where a type 4 JCC driver is completely Java and a bit more portable.  Are you sure you wouldn't prefer to use type 4?  DeveloperWorks has a good article that goes into depth about the various DB2 driver types: http://www.ibm.com/developerworks/data/library/techarticle/dm-0512kokkat/

#2) Looks like you already got it covered with Bug 462828.

On Fri, Mar 20, 2015 at 11:07 AM, Thomas Meyer <thomas@xxxxxxxx> wrote:
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
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


Back to the top