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 Provides Derby specific behavior.
Attunity AttunityPlatform Platform class that works with Attunity's Connect JDBC driver.
dBASE DBasePlatform Provides dBASE specific behavior, including:
  • Writes Time & Timestamp as strings (because they are not supported)
Firebird FirebirdPlatform Provides Firebird specific behavior.
H2 H2Platform Provides H2 specific behavior.
HyperSQL DataBase (HSQL) HSQLPlatform Provides HSQL specific behavior. Supports HSQL functionality as of 1.8.1. Features include:
  • DDL creation
  • IDENTITY sequencing
  • SEQUENCE objects
  • Functions
  • Pagination
IBM Cloudscape CloudscapePlatform Provides CloudScape DBMS specific behavior.
IBM DB2 Mainframe DB2MainframePlatform Provides DB2 Mainframe specific behavior. This provides for some additional compatibility in certain DB2 versions on OS390. Features include:
  • Specialized CONCAT syntax
IBM DB2 DB2Platform Provides DB2 specific behavior, including:
  • 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 Provides Informix specific behavior, including:
  • Types for schema creation.
  • Native sequencing using @@SERIAL.
Microsoft Access AccessPlatformPlatform Provides Microsoft Access specific behavior. .
Microsoft SQLServer SQLServerPlatform Provides Microsoft SQL Server specific behavior, including:
  • Native SQL for byte[], Date, Time, & Timestamp.
  • Native sequencing using @@IDENTITY.
MySQL MySQLPlatform Provides MySQL specific behavior, including:
  • 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 Provides Oracle Database specific behavior, including:
  • LOB
  • NChar
  • XMLType
  • TIMESTAMP (TZ, LTZ)
  • 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 Provides Oracle TimesTen database specific behavior.
Oracle TimesTen7 TimesTen7Platform .
PointBase PointBasePlatform Provides Oracle TimesTen 7 database specific behavior.
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 .


Eclipselink-logo.gif
Version: 2.2.0 DRAFT
Other versions...