+

Search Tips   |   Advanced Search

eclversion command

Use this command-line tool to find out information about the installed version of the Java Persistence API (JPA) 2.1 specification provider, Eclipselink, for the product.

Run the JPA eclversion command from the profile_root/bin directory to make sure that we have the latest version of the command for our release.


Syntax

The command syntax is as follows:

(UNIX) (ZOS)

eclversion.sh 
(Windows)
eclversion.bat

The version tool can be useful when debugging problems with JPA in applications and providing customer support teams with the information about the current JPA environment.

The command is run from the profile_root directory.


Examples

Find the version information of our JPA installation example output:

[root@atlanta bin]# ./eclversion.sh 
Eclipse Persistence Services (EclipseLink)  
      Build Version:   2.6.2.WAS  
      Build Qualifier: WAS  
      Build Date:      20160304  
      Build Time:      1110  
      SVN Revision:    NA

(Windows) On Windows operating systems, the output looks like the following example:

D:\Users\user\WASV9\IBM\WebSphere\AppServer\profiles\AppSrv01\bin>eclversion.bat 
Eclipse Persistence Services (EclipseLink)  
      Build Version:   2.6.2.WAS  
      Build Qualifier: WAS  
      Build Date:      20160304  
      Build Time:      1110  
      SVN Revision:    NA