Solved

Lotus Reminder via SQL

Posted on 2003-11-12
5
209 Views
Last Modified: 2013-12-18
Hi,
i´m trying to insert an appointment (type 4) and alarm into the maildb via jdbc.
I don´t know how to insert the alarmoptions.
Any help ?
Thanks
0
Comment
Question by:barkus
  • 2
5 Comments
 
LVL 31

Expert Comment

by:qwaletee
ID: 9733845
The problem with AlarmOptons is that it is more than a data change; the appointment document also needs to move into a hidden ($Alarms) folder, or the Notes client will not process the alarm.  So you can set the alarm data all you want, but it will be useless without this additional change.

So, what to do?  Don't use JDBC.  Use the Domino Object Model, which is available to Java.  On a Notes workstation, it uses, I think, NCSO.jar, as a JNI implementation.  If Notes is not installed on teh workstation, you would need to remote a call to a Domino server to do this, via IIOP/CORBA.  (The JDBC driver requires a local Notes workstation, so this should not be an issue for you.)

0
 

Author Comment

by:barkus
ID: 9738447
Thanks qwaletee,
I used the remote calls via Corba and it worked fine (you helped with VB Samples).
But what I need is a solution without starting a Corba-process on the Domino Server.
I have a standalone Java-app and Notes installed on the workstation.
Thanks in advance.
0
 
LVL 31

Accepted Solution

by:
qwaletee earned 50 total points
ID: 9750674
If you have a Notes workstation installed, you can use teh identical Java code as you used in teh CORBA solution.  The only difference will be in how you initialize NotesFactory.

Well, one other difference. When you login via CORBA, you are supplying user/assword basic authentication credentials.  When you use teh local Notes code, you will always be using the workstation Notes ID.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question