Java code inserts data from Notes documents into a SQL table
Prepared statements let Lotus Notes Domino users update and insert data into tables. Check out this Java code, which retrieves data from documents and tests to see if the data exists in a SQL table. If it does exist, the data is updated. If it doesn't exist, the Java code inserts the data.
![]() |
||||
|
![]() |
|||
![]() |
This Java code shows how to retrieve data from Lotus Notes documents, but with a twist. The code tests to see if the data already exists in a SQL table. If it does, the data is updated. If it doesn't exist, then the data is inserted.
(Click on code for enlarged view and script download.)
Do you have comments on this tip? Let us know.
This tip was submitted to the SearchDomino.com tip library by member Michael Marcavage. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.