Random Ramblings of a Neo-Post-Modern Geek (I have no idea what that means)
Using Domino’s Database.remove method
When using the Lotus Domino Java API Database.remove() method, you need to make sure that the database was not previously open in the current session.
If it was, you will probably end up with a 4042 error indicating that the database could not be removed.
The best way to do the remove is create a database object and just hang on to it. When you are ready to remove the database, invoke the remove() method on the original database object instead of trying to create a new one.
Although the Database class has open() and isOpen() methods, it does not have a close() method.
Popularity: 1%
| Print article | This entry was posted by david on 13 July 2004 at 11:59 am, and is filed under Java, Technical Tidbits. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
