Jump to: navigation, search

EclipseLink/UserGuide/JPA/Advanced JPA Development/Platform Specific Configurations

EclipseLink JPA

Database and Application Server Support

EclipseLink supports a number of database platforms and application servers, as described below.

Database Support

EclipseLink supports any relational database that is compliant with SQL and has a compliant JDBC driver. EclipseLink has extended support for several database platforms. The extended support mainly consists of providing native sequencing support, schema creation, and certain database functions.

The following databases are supported. Click the names below to see the Javadoc that describes the support for that platform. The classes are in the org.eclipse.persistence.platform.database package.

Supported Database Platforms
Database JavaDoc Features
Apache Derby DerbyPlatform .
Attunity AttunityPlatform .
dBASE DBasePlatform Writing Time & Timestamp as strings (because they are not supported)
Firebird FirebirdPlatform .
H2 H2Platform .
HyperSQL DataBase (HSQL) HSQLPlatform
  • DDL creation
  • IDENTITY sequencing
  • SEQUENCE objects
  • Functions
  • Pagination
IBM Cloudscape CloudscapePlatform .
IBM DB2 Mainframe DB2MainframePlatform Specialized CONCAT syntax
IBM DB2 DB2Platform
  • Schema creation
  • Native SQL for byte[], Date, Time, & Timestamp
  • Table qualified names.
  • Stored procedures
  • Temporary tables
  • Casting
  • Database functions
  • Identity sequencing
  • SEQUENCE sequencing
IBM Informix InformixPlatform
  • Types for schema creation.
  • Native sequencing using @@SERIAL.
Microsoft Access AccessPlatformPlatform . .
Microsoft SQLServer SQLServerPlatform
  • Native SQL for byte[], Date, Time, & Timestamp.
  • Native sequencing using @@IDENTITY.
MySQL MySQLPlatform
  • Native SQL for Date, Time, & Timestamp
  • Native sequencing
  • Mapping of class types to database types for the schema framework
  • Pessimistic locking
  • Platform specific operators
Oracle OraclePlatform
  • LOB
  • NChar
  • XMLType
  • Native batch writing
  • Structured object-relational data-types
  • PLSQL datatypes and stored procedures
  • VPD, RAC, proxy authentication
  • XDK XML parser
  • Hierarchical selects (Select by prior)
  • Returning clause
  • Flashback history and queries
  • Stored procedures, output parameters and output cursors
  • Stored functions
  • Oracle AQ
Oracle JavaDB JavaDBPlatform Allows to use JavaDBPlatform as a synonym for DerbyPlatform
Oracle TimesTen TimesTenPlatform .
Oracle TimesTen7 TimesTen7Platform .
PointBase PointBasePlatform .
PostgreSQL PostgreSQLPlatform
  • Native SQL for Date, Time, & Timestamp
  • Native sequencing
  • Mapping of class types to database types for the schema framework
  • Pessimistic locking
  • Platform specific operators
  • LIMIT/OFFSET query syntax for select statements

See also PostgreSQL

SAP MaxDB MaxDBPlatform See MaxDBPlatform. .
SAP SyBase SQLAnywhere SQLAnywherePlatform Provides SQL Anywhere specific behaviour.
Sybase SybasePlatform
  • Native SQL for byte[], Date, Time, & Timestamp
  • Native sequencing using @@IDENTITY
Fujitsu Symfoware SymfowarePlatform
  • DDL Generation
  • Outer Join
  • Subquery (with limitations)
  • Stored Procedure Calls
  • Stored Procedure Generation
  • Native Sequences/Identifier fields
  • JPA Bulk Update/Delete (with limitations)
  • Batch Reading
  • Batch Writing
  • Pessimistic Locking (with limitations)
  • First Result/Limit (with limitations)
  • Expression Framework (with limitations)
  • Delimiters
  • Auto Detection

See also Fujitsu Symfoware Support

It also possible to extend EclipseLink to add extended support for additional platforms. There are also several user contributed platforms in the EclipseLink incubator project. See Platform Incubator.

Application Server Support

EclipseLink can be used with any Java EE application server that meets the software requirements through the EclipseLink API.

EclipseLink provides integration support for the following servers. See the Javadoc for more information.

Server Name Javadoc See Also
JBoss Application Server org.eclipse.persistence.platform.server.jboss .
Oracle Containers for J2EE (OC4J) org.eclipse.persistence.platform.server.oc4j
Oracle WebLogic Server org.eclipse.persistence.platform.server.wls .
SAP NetWeaver Application Server org.eclipse.persistence.platform.server.sap .
IBM WebSphere Application Server org.eclipse.persistence.platform.server.was .
Sun Application Server org.eclipse.persistence.platform.server.sunas .

Version: 2.2.0 DRAFT
Other versions...