head	1.2;
access;
symbols
	REL7_4_29:1.1
	REL7_4_28:1.1
	REL7_4_27:1.1
	REL7_4_26:1.1
	REL7_4_25:1.1
	REL7_4_24:1.1
	REL7_4_23:1.1
	REL7_4_22:1.1
	REL7_4_21:1.1
	REL7_4_20:1.1
	REL7_3_21:1.1
	REL7_4_19:1.1
	REL7_3_20:1.1
	REL7_4_18:1.1
	REL7_3_19:1.1
	REL7_4_17:1.1
	REL7_3_18:1.1
	REL7_4_16:1.1
	REL7_4_15:1.1
	REL7_3_17:1.1
	REL7_4_14:1.1
	REL7_3_16:1.1
	REL7_3_15:1.1
	REL7_4_13:1.1
	REL7_3_14:1.1
	REL7_4_12:1.1
	REL7_3_13:1.1
	REL7_4_11:1.1
	REL7_3_12:1.1
	REL7_4_10:1.1
	REL7_3_11:1.1
	REL7_4_9:1.1
	REL7_2_8:1.1
	REL7_3_10:1.1
	REL7_4_8:1.1
	REL7_2_7:1.1
	REL7_3_9:1.1
	REL7_4_7:1.1
	REL7_4_6:1.1
	REL7_3_8:1.1
	REL7_2_6:1.1
	REL7_2_5:1.1
	REL7_4_5:1.1
	REL7_3_7:1.1
	REL7_4_4:1.1
	REL7_4_3:1.1
	REL7_4_2:1.1
	REL7_3_6:1.1
	REL7_4_1:1.1
	REL7_3_5:1.1
	REL7_4:1.1
	REL7_4_RC2:1.1
	REL7_4_STABLE:1.1.0.14
	REL7_4_RC1:1.1
	REL7_4_BETA5:1.1
	REL7_4_BETA4:1.1
	REL7_4_BETA3:1.1
	REL7_4_BETA2:1.1
	WIN32_DEV:1.1.0.12
	REL7_4_BETA1:1.1
	REL7_3_4:1.1
	REL7_3_2:1.1
	REL7_2_4:1.1
	REL7_3_STABLE:1.1.0.10
	REL7_2_3:1.1
	REL7_2_STABLE:1.1.0.8
	REL7_2:1.1
	REL7_2_RC2:1.1
	REL7_2_RC1:1.1
	REL7_2_BETA5:1.1
	REL7_2_BETA4:1.1
	REL7_2_BETA3:1.1
	REL7_2_BETA2:1.1
	REL7_2_BETA1:1.1
	REL7_1_2:1.1
	REL7_1_STABLE:1.1.0.6
	REL7_1_BETA:1.1
	REL7_1_BETA3:1.1
	REL7_1_BETA2:1.1
	REL7_1:1.1
	REL7_0_PATCHES:1.1.0.4
	REL7_0:1.1
	REL6_5_PATCHES:1.1.0.2
	REL6_5:1.1;
locks; strict;
comment	@# @;


1.2
date	2004.01.19.20.07.08;	author pgsql;	state dead;
branches;
next	1.1;

1.1
date	99.01.25.21.22.04;	author scrappy;	state Exp;
branches;
next	;


desc
@@


1.2
log
@
JDBC is now on GBorg
@
text
@
The CORBA example is the most complicated of the examples. It
aims to show how to use JDBC & Java2's ORB to access PostgreSQL.

To compile:

Type "make corba" to build the example. This will create a new directory
stock which contains the stubs needed by the orb, and all required classes
under the example/corba directory.

To run:

NOTE: To run, you will need 3 shells on Win32 (under unix you can get away
with two shells):

1: Start the naming service

Unix:	tnameserv -ORBInitialPort 1050 &
Win32:	tnameserv -ORBInitialPort 1050

2: Start the StockServer

	java example.corba.StockServer 3 jdbc:postgresql:dbase user passwd -ORBInitialPort 1050

Where:
	3	Number of concurrent sessions to allow
	dbase	The database (including a hostname if required)
	user	The PostgreSQL user name
	passwd	The password

3: Using a fresh shell, run the client:

	java example.corba.StockClient -ORBInitialPort 1050

@


1.1
log
@
From: Peter T Mount <peter@@retep.org.uk>

This implements some of the JDBC2 methods, fixes a bug introduced into the
JDBC1 portion of the driver, and introduces a new example, showing how to
use the CORBA ORB thats in Java2 with JDBC.

The Tar file contains the new files, the diff the changes to the others.
CHANGELOG is separate as I forgot to make a .orig ;-)
@
text
@@

