My Oracle Support Banner

JDBC Quick Start Guide for TimesTen (Doc ID 558016.1)

Last updated on DECEMBER 25, 2019

Applies to:

Oracle TimesTen In-Memory Database - Version 7.0.0.0.0 to 11.2.1 [Release 7.0 to 11.2]
Information in this document applies to any platform.
Checked for currency 09 July 2010
Checked for currency 09 Jan 2012 ; version applicability extended to V11.2.1
Checked for currency 05 Dec 2014


Goal

This article explains how to write and run a simple JDBC program that connects to a TimesTen datastore using direct connection method.

The procedure described in this article assumes the versions as follows,
OS : RedHat Enterprise Linux 4
TimesTen : 7.0.3.3
JDK : 1.5

It works with other OS, TimesTen and Java versions also. And also, this articles assumes that TimesTen has been installed in directory "/opt/TimesTen/tt7033" and JDK has been installed in directory "/usr/java/jdk1.5.0_14". So, if you have installed them in different directories, wherever it applies change the directory names accordingly.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Compiling and Running a JDBC program
 Common errors while running the program
 Explanation of the sample program

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.