1 |
|
26/05/2003 |
2 |
|
---------- |
3 |
|
- dbObject requires a global 'initialisation' function that may be called to |
4 |
|
set up things like DB datafiles root directory etc. |
5 |
|
- Perform lock_detect() when initialising the database. |
6 |
|
|
7 |
|
|
8 |
|
26/05/2003 ** DONE ** |
9 |
|
---------- |
10 |
|
Build mapping tables: |
11 |
|
|
12 |
|
groupMapWS |
13 |
|
group -> wservice |
14 |
|
|
15 |
|
groupMapUser |
16 |
|
group -> username |
17 |
|
|
18 |
|
userMapWS |
19 |
|
user -> wservice |
20 |
|
|
21 |
|
userMapGroup |
22 |
|
user -> group |
23 |
|
|
24 |
|
|
25 |
|
22/05/2003 ** DONE 29052003 ** |
26 |
|
---------- |
27 |
|
Write a perl script that takes a very simple definition file for a DB table |
28 |
|
and generates the object header files. |
29 |
|
|
30 |
|
Format would be something like: |
31 |
|
|
32 |
|
:tablename |
33 |
|
column_name type size key/data |
34 |
|
..... |
35 |
|
column_name type size key/data |
36 |
|
|
37 |
|
:tablename |
38 |
|
column_name type size key/data |
39 |
|
..... |
40 |
|
column_name type size key/data |
41 |
|
|
42 |
|
|
43 |
|
etc, repeating for all tables, or an individual file for each. |