Configuring Oracle Timesten In-Memory Database 11.2.2 For J2Ee Application Servers and Object - Relational Mapping Frameworks
Configuring Oracle Timesten In-Memory Database 11.2.2 For J2Ee Application Servers and Object - Relational Mapping Frameworks
Introduction ....................................................................................................... 3
Conventions ....................................................................................................... 3
Prerequisites ....................................................................................................... 3
Troubleshooting ................................................................................................ 4
TimesTen for JBoss EAP 6.2 .......................................................................... 6
Configuring the TimesTen JDBC driver ................................................... 6
Configuring TimesTen data sources .......................................................... 8
Using JBoss JPA with TimesTen.............................................................. 12
TimesTen for Oracle WebLogic Server 12.1 .............................................. 13
Configuring the TimesTen JDBC driver ................................................. 13
Configuring TimesTen data sources ........................................................ 13
Using WebLogic Server JPA with TimesTen ......................................... 19
TimesTen for Oracle GlassFish Server 3.1 ................................................. 20
Configuring the TimesTen JDBC driver ................................................. 20
Configuring TimesTen connections ........................................................ 20
Configuring a TimesTen JDBC connection pool .................................. 21
Configuring a TimesTen JDBC resource ................................................ 23
Using Oracle GlassFish Server JPA with TimesTen ............................. 24
TimesTen for WebSphere Application Server 8.5...................................... 25
Configuring TimesTen connections ........................................................ 25
Configuring a TimesTen JDBC provider ................................................ 26
Configuring TimesTen data sources ........................................................ 28
Using WebSphere Application Server JPA with TimesTen ................. 30
TimesTen for EclipseLink 2 .......................................................................... 31
Configuring the TimesTen JDBC driver for EclipseLink .................... 31
TimesTen for Hibernate 4 ............................................................................. 32
Configuring the TimesTen JDBC driver for Hibernate ........................ 32
Hibernate configuration properties for TimesTen ................................ 32
TimesTen for OpenJPA 2 .............................................................................. 35
Configuring the TimesTen JDBC driver for OpenJPA ........................ 35
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 2
Configuring Oracle TimesTen In-Memory Database
11.2.2 for J2EE Application Servers and Object-
Relational Mapping Frameworks
INTRODUCTION
This white paper is for application developers who use and administer TimesTen
JDBC and for system administrators who configure and manage the TimesTen
database. It provides information about configuring J2EE application servers and
object–relational mapping frameworks for use with TimesTen 11.2.2.
Additional information and code examples demonstrating the use of TimesTen with
Java technologies are available in the TimesTen Quick Start. The TimesTen Quick
Start is an optional component of a TimesTen installation.
CONVENTIONS
PREREQUISITES
The sample configurations provided in this document require that you install both
TimesTen and the target J2EE application server or object-relational mapping
framework on the same machine. In addition, the following TimesTen items are
required:
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 3
• A TimesTen direct driver DSN called SAMPLEDB_1122. This is already
defined in the .odbc.ini ODBC configuration file or in the ODBC
Data Source Administrator dialog on Windows platforms.
• An internal TimesTen user account with the user name 'scott' and
password 'tiger' needs to be defined in the database associated with the
SAMPLEDB_1122 DSN.
Test and configure the two DSNs and the scott/tiger user account with the
TimesTen ttIsql utility before following the procedures and using the
configurations included in this document.
TROUBLESHOOTING
• The TimesTen JDBC driver loads native shared libraries at runtime. This
requires the Java Virtual Machine (JVM) to use the same architecture as the
TimesTen JDBC driver. For example, a 32-bit JVM cannot connect to a
TimesTen database using a 64-bit version of the TimesTen JDBC driver
and vice versa. Attempts to mix architectures in this way results in a
runtime error when the Java application attempts to connect to the
TimesTen database.
• The TimesTen JDBC driver includes a tracing facility that can help
diagnose problems. To enable the tracing facility you must enable a Java
system property called timesten.tracefile for the JVM accessing
the TimesTen JDBC driver. You can enable tracing from the Java
command line with the syntax -Dtimesten.tracefile=filename
where filename is the complete path to a local output file.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 4
b. Try increasing the maximum amount of shared memory available
to the system. See the Oracle TimesTen In-Memory Database Installation
Guide for platform specific details.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 5
TIMESTEN FOR JBOSS EAP 6.2
Configuring JBoss Enterprise Application This section provides descriptions and examples of configuring the TimesTen JDBC
Platform
and TimesTen driver for use with JBoss Enterprise Application Platform 6.2. This section requires
that you install both TimesTen and JBoss EAP on the same machine, and that a
standalone JBoss server instance is in use.
Before you can use JBoss with TimesTen databases, the JBoss server environment
must have access to the TimesTen shared libraries and the TimesTen JDBC driver
jar file.
2. Restart the JBoss server for the environment changes to take effect.
5. In the top-left pane of the Runtime tab, expand the Server node and, then
select Manage Deployments.
6. In the DEPLOYMENTS tab, click Add, and then click Choose File in the
Create Deployment dialog.
7. Specify the location of the TimesTen JDBC driver jar file. If JBoss server is
using JDK 1.7, then select the Java 7 runtime version of the TimesTen
JDBC driver jar file located at
tt_install_dir/lib/ttjdbc7.jar. See Figure 1.1. If JBoss
server is using JDK 1.6, then select the
tt_install_dir/lib/ttjdbc6.jar file.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 6
Figure 1.1 Deployment Selection dialog
8. Click Next.
9. Click Save.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 7
Figure 1.2 Available Deployments
Each type of TimesTen JDBC driver connection requires a unique JBoss data source
configuration. The key difference between the configurations is the TimesTen driver
class name and the TimesTen URL. TimesTen connections that support local
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 8
transactions use the com.timesten.jdbc.TimesTenDriver class.
Connections that require distributed transaction support through JTA use the
com.timesten.jdbc.xa.TimesTenXADataSource class.
The next procedure describes how to configure a direct access TimesTen data
source that supports local transactions by the use of the JBoss management console.
3. In the top-left pane of the Profile tab, expand the Subsystems node, then
expand Connector node, and then select Datasources.
4. Click Add.
6. Click Next.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 9
7. In the JDBC Driver step of the Create Datasource dialog, select the
TimesTen JDBC driver deployment called ttjdbc7.jar or
ttjdbc6.jar. See Figure 1.4.
8. Click Next.
9. In the Connection Settings step of the Create Datasource dialog, enter the
TimesTen JDBC URL and TimesTen database user credentials for the
connection. See Figure 1.5.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 10
Figure 1.5 Step 3/3: Connection Settings
11. In the DATASOURCES tab, click Enable, and then click Confirm to
enable the data source.
12. To verify that the data source can connect to TimesTen, click the
Connection link, and then click Test Connection. See Figure 1.6.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 11
Figure 1.6 Datasource Connection dialog
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 12
TIMESTEN FOR ORACLE WEBLOGIC SERVER 12.1
Configuring Oracle WebLogic Server This section provides descriptions and examples of configuring the TimesTen JDBC
and TimesTen
driver for use with Oracle WebLogic Server 12.1.2.0. This section requires that you
install both TimesTen and Oracle WebLogic Server on the same machine.
Before you can use WebLogic Server to connect to TimesTen databases, the server
environment must have access to the TimesTen JDBC driver jar file and the native
TimesTen shared libraries.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 13
• Client/server access with non-XA transactions - The TimesTen
database can reside on a remote machine that is running the TimesTen
server. The WebLogic Administration Console lists this driver type as
Oracle TimesTen Client Connection's Driver (Type 4).
Each type of TimesTen JDBC driver connection requires a unique WebLogic Server
data source configuration. The next example references a TimesTen direct
connection DSN named SAMPLEDB_1122. This DSN must be configured in the
.odbc.ini or sys.odbc.ini file or the Windows Data Source Administrator
before the example can work.
Use the next procedure as an example for configuring a TimesTen data source
within the WebLogic Server Administration Console.
2. In the Domain Structure tree, expand the Services node, and then click
Data Sources.
5. Enter the JNDI name for the data source in the JNDI Name field.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 14
Figure 2.1 JDBC Data source properties
7. Click Next.
8. In the resulting screen, the Database Driver drop-down list will include two
of the next four options:
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 15
Figure 2.2 Transaction Options
11. In the Connection Properties screen, enter a name in the Database Name
field. You must use the name of the TimesTen DSN that the data source
will connect to. This example uses the name SAMPLEDB_1122. The
Host Name field and Port field are not relevant to TimesTen and may be
left blank. Specify the TimesTen database user name in the Database User
Name field and the TimesTen database user password in the Password
and Confirm Password fields. See Figure 2.3.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 16
Figure 2.3 Connection Properties
13. In the Test Database Connection screen, fill all available fields. Figure 2.4
shows an example with a DSN named SAMPLEDB_1122 and a TimesTen
database user called scott.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 17
Figure 2.4 Test Database Connection
Click Next.
15. In the Select Targets screen, select the WebLogic servers to be associated
with the data source. Click Finish.
16. The message “All changes have been activated. No restarts are necessary.”
indicates that the configuration is complete.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 18
Using WebLogic Server JPA with TimesTen
WebLogic Server supports the Java Persistence API (JPA) through the EclipseLink
object-relational mapping framework. TimesTen supports EclipseLink applications.
For additional information, see the “TimesTen for EclipseLink 2” section in this
document and the TimesTen Quick Start.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 19
TIMESTEN FOR ORACLE GLASSFISH SERVER 3.1
Configuring Oracle GlassFish This section provides descriptions and examples of configuring the TimesTen JDBC
Application Server
and TimesTen driver for use with Oracle GlassFish Server 3.1. This section requires that you install
both TimesTen and Oracle GlassFish Server on the same machine.
Before you can use Oracle GlassFish Server to access TimesTen databases, the
server environment must have access to the TimesTen JDBC driver jar file and the
TimesTen shared libraries.
1. Copy the TimesTen JDBC driver jar file called ttjdbc6.jar from
tt_install_dir/lib to the
gs_install_dir/glassfish/domains/gs_domain/lib
directory.
The TimesTen JDBC driver supports four different types of database connections:
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 20
Properties of TimesTen connections
TimesTen Class:
com.timesten.jdbc.ObservableConnectionDS
TimesTen Class:
com.timesten.jdbc.xa.TimesTenXADataSource
TimesTen Class:
com.timesten.jdbc.ObservableConnectionDS
TimesTen Class:
com.timesten.jdbc.xa.TimesTenXADataSource
2. In the left pane, expand Resources, then expand JDBC, and select JDBC
Connection Pools.
3. Click New.
4. In the New JDBC Connection Pool (Step 1 of 2) screen, enter a name for
the new pool in the Name field. In the Resource Type drop-down list,
select javax.sql.ConnectionPoolDataSource, if the
application requires only local transaction support. If the application
requires XA distributed transaction support, then select
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 21
javax.sql.XADataSource. In the Database Driver Vendor drop-
down list, select 'Oracle'. See Figure 3.1.
5. Click Next.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 22
Figure 3.2 Additional Properties
You must create a JDBC resource and associate it to the TimesTen connection pool
for applications to access the TimesTen database. To perform this task, follow the
next steps:
2. In the left pane, expand Resources, then expand JDBC, and expand
JDBC Resources.
3. Click New.
4. In the New JDBC Resource screen, enter a JNDI name for the resource.
In the Pool Name field, select the name of the TimesTen connection pool
you previously created. Figure 3.3 shows an example for a TimesTen
connection pool called TptbmPool.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 23
Figure 3.3 New JDBC Resource
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 24
TIMESTEN FOR WEBSPHERE APPLICATION SERVER 8.5
Configuring IBM WebSphere This section provides descriptions and examples of configuring the TimesTen JDBC
Application Server
and TimesTen driver for use with IBM WebSphere Application Server 8.5.5.1. This section requires
that you install both TimesTen and WebSphere Application Server on the same
machine.
The TimesTen JDBC driver supports four different types of database connections.
TimesTen Class:
com.timesten.jdbc.ObservableConnectionDS
TimesTen Class:
com.timesten.jdbc.xa.TimesTenXADataSource
TimesTen Class:
com.timesten.jdbc.ObservableConnectionDS
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 25
• Client/server access with XA distributed transaction support:
TimesTen Class:
com.timesten.jdbc.xa.TimesTenXADataSource
Before you can use WebSphere to access TimesTen databases, you must set the
server environment to have access to the TimesTen JDBC driver jar file and the
native shared libraries. In WebSphere, you can do this by configuring a JDBC
provider in the WebSphere administration console. Follow the next steps:
2. In the left pane, expand Resources, then expand JDBC, and then select
JDBC Providers.
4. Click New.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 26
Figure 4.1 Create new JDBC provider
Click Next.
6. In the Enter database class path information screen, enter the path to the
TimesTen JDBC driver located at
tt_install_dir/lib/ttjdbc6.jar. See Figure 4.2.
Click Next.
8. In the JDBC providers screen, click the TimesTen provider name that you
just created.
9. In the General Properties section of Configuration tab, enter the path to the
TimesTen shared libraries in the Native library path field. On UNIX
platforms, the path is tt_install_dir/lib. On Windows platforms,
the path is tt_install_dir/bin. See Figure 4.3.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 27
Figure 4.3 General properties
Click Apply.
WebSphere data sources are associated to the specific JDBC providers defined in the
previous section. Follow these steps to configure TimesTen data sources from the
WebSphere administration console.
2. In the left pane, expand Resources, then expand JDBC, and then select
Data sources.
4. Click New.
5. In the Enter basic data source information screen, enter a name and a JNDI
name for the data source. Click Next.
6. In the Select JDBC provider screen, select the TimesTen JDBC Provider
you created in the previous section. Click Next.
7. In the Enter database specific properties for the data source screen, use
com.ibm.websphere.rsadapter.GenericDataStoreHelpe
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 28
r for the Data store helper class name field. Make sure that the Use this
database in container managed persistence (CMP) checkbox is
checked. Click Next.
10. In the Data sources screen, click on the name of the TimesTen data source
that you just created.
12. Click the url property. (If the property does not exist, then create it by
clicking New.)
13. In the value field, enter the TimesTen JDBC URL for the DSN that this
data source should connect to. A TimesTen URL takes the form:
jdbc:timesten:<direct|client>:<DSN>. Click OK.
14. Click the user property, and enter the TimesTen database user name for the
connection in the value field. Click OK.
15. Click the password property, and enter the TimesTen database password
for the connection in the value field. Click OK.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 29
Figure 4.4 Data Sources Custom Properties
17. Click the Save link near the top of the screen to save the new configuration.
18. Restart the WebSphere server before attempting to make connections to the
new TimesTen data source.
WebSphere Server supports the Java Persistence API (JPA) using the OpenJPA
object-relational mapping framework. TimesTen supports OpenJPA applications.
For additional information, see the “TimesTen for OpenJPA 2”section in this
document and the TimesTen Quick Start.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 30
TIMESTEN FOR ECLIPSELINK 2
Configuring EclipseLink 2 This section provides descriptions and examples of configuring the TimesTen JDBC
and TimesTen
driver for use with EclipseLink 2.5.1 JPA. EclipseLink is a further development of
the Oracle TopLink object-relational mapping framework. This section requires that
you install both TimesTen and EclipseLink on the same machine.
Set the LD_LIBRARY_PATH (or equivalent for your OS) environment variable to
include the path to the TimesTen shared libraries located at
tt_install_dir/lib. On Windows platforms, the PATH environment
variable should be set to the tt_install_dir/bin directory where TimesTen
DLLs are located.
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<class>com.timesten.tptbmas.Tptbm</class>
<properties>
<property name="eclipselink.logging.level" value="INFO"/>
<property name="eclipselink.target-database"
value="org.eclipse.persistence.platform.database.TimesTen7Platform"/>
<property name="javax.persistence.jdbc.driver"
value="com.timesten.jdbc.TimesTenDriver"/>
<property name="javax.persistence.jdbc.url"
value="jdbc:timesten:direct:SAMPLEDB_1122"/>
<property name="javax.persistence.jdbc.password" value="tiger"/>
<property name="javax.persistence.jdbc.user" value="SCOTT"/>
</properties>
</persistence-unit>
</persistence>
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 31
TIMESTEN FOR HIBERNATE 4
Configuring Hibernate This section provides descriptions and examples of configuring the TimesTen JDBC
and TimesTen
driver for use with Hibernate 4. This section requires that you install both TimesTen
and Hibernate on the same machine.
To access a TimesTen database from a Hibernate application, you must set the
CLASSPATH environment variable to include the TimesTen JDBC driver jar file.
When using the Java 6 runtime, add tt_install_dir/lib/ttjdbc6.jar
to the CLASSPATH. When using the Java 7 runtime, add the
tt_install_dir/lib/ttjdbc7.jar file to the CLASSPATH.
Set the LD_LIBRARY_PATH (or equivalent for your OS) environment variable to
include the path to the TimesTen shared libraries located at
tt_install_dir/lib. On Windows platforms, the PATH environment
variable should be set to the tt_install_dir/bin directory where TimesTen
DLLs are located.
A Hibernate SQL dialect class called
org.hibernate.dialect.TimesTenDialect1122 has been developed for
use with TimesTen. This dialect is optimized for the latest SQL features of
TimesTen, and it is the recommended dialect for TimesTen use with Hibernate
applications. This dialect is not included in current versions of the Hibernate
distribution. The dialect is available as part of the TimesTen Quick Start example
programs that are included as an optional component of a TimesTen installation.
The java source code for the dialect is located in the tt_install_dir/
quickstart/sample_code/orm/config/hibernate4 directory of
the TimesTen installation. This directory includes an Ant build script and
instructions for compiling and using the dialect in TimesTen in conjunction with
Hibernate applications.
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 32
When using TimesTen with Hibernate, set the next property values:
hibernate.dialect=org.hibernate.dialect.TimesTenDialect1122
hibernate.connection.driver_class=com.timesten.jdbc.TimesTenDriver
hibernate.connection.url=jdbc:timesten:<direct|client>:<DSN>
The following property values are recommended when using TimesTen with Hibernate:
hibernate.connection.isolation=2
hibernate.jdbc.use_get_generated_keys=false
hibernate.jdbc.use_scrollable_resultset=false
hibernate.jdbc.batch_size=256
<hibernate-configuration>
<property name="hibernate.show_sql">false</property>
<property name="hibernate.connection.pool_size">4</property>
</session-factory>
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 33
</hibernate-configuration>
When using Hibernate with the JPA API, the same TimesTen properties can be
specified in the persistence.xml configuration file. An example JPA
configuration file (persistence-hibernate.xml) for a TimesTen Hibernate
application is located under the quickstart directory in your TimesTen
installation.
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<class>com.timesten.tptbmas.Tptbm</class>
<properties>
<property name="hibernate.connection.url"
value="jdbc:timesten:direct:SAMPLEDB_1122"/>
<property name="hibernate.connection.driver_class"
value="com.timesten.jdbc.TimesTenDriver"/>
<property name="hibernate.dialect"
value="org.hibernate.dialect.TimesTenDialect1122"/>
<property name="hibernate.jdbc.use_streams_for_binary"
value="false"/>
<property name="hibernate.jdbc.use_get_generated_keys"
value="false"/>
<property name="hibernate.jdbc.use_scrollable_resultset"
value="false"/>
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 34
TIMESTEN FOR OPENJPA 2
Configuring OpenJPA 2 This section provides descriptions and examples of configuring the TimesTen JDBC
and TimesTen
driver for use with OpenJPA 2.2.2. This section requires that you install both
TimesTen and OpenJPA on the same machine.
When accessing a TimesTen database from an OpenJPA application, you must set
the CLASSPATH environment variable to include the TimesTen JDBC driver jar
file. When using the Java 6 runtime, add
tt_install_dir/lib/ttjdbc6.jar to the CLASSPATH. When using the
Java 7 runtime, add the tt_install_dir/lib/ttjdbc7.jar file to the
CLASSPATH.
Set the LD_LIBRARY_PATH (or equivalent for your OS) environment variable to
include the path to the TimesTen shared libraries located at
tt_install_dir/lib. On Windows platforms, the PATH environment
variable should be set to the tt_install_dir/bin directory where TimesTen
DLLs are located.
You can configure OpenJPA with a property called
openjpa.jdbc.DBDictionary, which defines a SQL dialect for a database
provider. For TimesTen connections, the recommended value for this property is
'oracle'. An example persistence-openjpa2.xml configuration file
for OpenJPA and TimesTen is located under the quickstart directory in your
TimesTen installation.
<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provid
er>
<class>com.timesten.tptbmas.Tptbm</class>
<class>com.timesten.tptbmas.TptbmPKey</class>
<properties>
<property name="openjpa.ConnectionUserName" value="SCOTT"/>
<property name="openjpa.ConnectionPassword" value="tiger"/>
<property name="openjpa.ConnectionURL"
value="jdbc:timesten:direct:SAMPLEDB_1122"/>
<property name="openjpa.ConnectionDriverName"
value="com.timesten.jdbc.TimesTenDriver"/>
Configuring TimesTen 11.2.2 for J2EE Application Servers and Object-Relational Mapping Frameworks Page 35
Configuring Oracle TimesTen In-Memory Database 11.2.2 for Application Servers and Object-Relational Mapping Frameworks
April 2014
Oracle Corporation
World Headquarters
500 Oracle Parkway
Redwood Shores, CA 94065
U.S.A.
Worldwide Inquiries:
Phone: +1.650.506.7000
Fax: +1.650.506.7200
oracle.com