LEI Virtual document activity

Dear All Developers,

For this virtual document activity i am using DB2 backend database and now my question is

suppose we will insert record in db2 via some java application

and now iwant that record in notesddatbase ,i have tried it with virtual document activity but it is not working because in case of virtual document activity you have to create some default 4 column EINOTEID etc but how to decide value of these column at run time while inserting record with java application

thanks in advance