Use this command line tool to find out information about the installed version of Java Persistence API (JPA) for WebSphere® Application Server.
The Feature Pack
for OSGi Applications and JPA 2.0 introduces support for Apache OpenJPA
2.0.
Run the JPA commands
(.bat on Windows or .sh on UNIX) from the <profile_root>/bin directory,
rather than from the <app_server_root>/bin directory
to make sure you have the latest version of the commands for your
release level.
The command syntax is as follows:
wsjpaversion.sh
wsjpaversion.bat
The version tool can be very useful when debugging problems with JPA in applications and for providing customer support teams with the information about the current JPA environment.
The
command is run from the <profile_root> directory.
C:\was70-GM>profiles\a1002.07\bin\wsjpaversion.bat WSJPA 2.0.0-SNAPSHOT version id: WSJPA-2.0.0-SNAPSHOT-r1118:1843 revision: 1118:1843 OpenJPA 2.0.0-SNAPSHOT version id: openjpa-2.0.0-SNAPSHOT-r422266:897308 Apache svn revision: 422266:897308 os.name: Windows XP os.version: 5.1 build 2600 Service Pack 2 os.arch: x86 java.version: 1.6.0 java.vendor: IBM Corporation java.class.path: C:\was70-GM\feature_packs\jpa\dev\JavaEE\j2ee.jar C:\was70-GM\feature_packs\jpa\plugins\com.ibm.ws.jpa.jar C:\was70-GM\plugins\com.ibm.ws.prereq.commons-collections.jar user.dir: C:\was70-GM\plugins\com.ibm.ws.jpa.jar