Hi All,

The database tables(MySql 4) for the application I am currently developing are 
currently being populated via
non OJB means i.e. not using the ojb to generate primary key id's. (basically a 
standalone application/sql client).  The application uses OJB to query the DB.

This approach is currently more time/workload efficient however we *will* be porting 
this functionality over to the web-app which will then use OJB as the peristence 
mechanism.

My question/s are :

1)  will OJB's Sequence manager/internal tables be able to cope with the fact that 
there are externally generated id's in some/all of the tables and be able to integrate 
smoothly.

2) is it possible for the standalone application to use the ojb_seq and ohb_hl_seq 
directly.  Would that make my life easier?  I am assuming it is not much more 
complicated than getting the last value and adding n to it.  Please correct me if I'm 
wrong

3) has anybody used this approach (i am aware that it is not ideal but it is most 
convenient for now)

many thanks for your time

Jin

Reply via email to