1 ----------------------------------README---------------------------------------
2 This contains an example program that demonstrates usage of odbc interface through gateway on cached table.
7 It inserts 10 rows in cached table t1.
8 Select rows with f1 value 51 to 60 and displays
13 Use the make command to compile
19 1. Set CACHE_TABLE=true in csql.conf file
21 2. Set the necessary enviroment variables using the setup script
22 under the csql root directory
26 3. Add an entry into csqlds.conf using csqlds tool mentioned as below.
28 $ csqlds -U <tdbusername> -P <password> -D <dsnname> -N <tdbname> -a
30 Note# tdb->target database
36 5. Create table t1 with two fields f1 integer(primary key) and f2 char(10) in mysql and cache the table.
40 6. Run the class file created by make
45 Connected to the Data Source SUCCESSFULLY..
47 Fetching starts on table t1 :