Retrieving database entries  Appendix E: Accessing Portal Interface Content with Pocket PC

Appendix D: Using the Enterprise Portal Samples

Updating and deleting database entries

You can update a database entry by inserting a row with the same UID, PID, TID, and name. Do this by calling the AddBinding API.To delete a name value pair that is associated with a UID, PID and TID, use the RemoveBinding API. For more information, see the deleteAllRowsForThisEntry method in AddressBookDBAccess.java.The Personalization APIs do not support transactions. To perform a bulk deletion, check the return values from the RemoveBinding method or catch the DataAccessException to determine the next course of action if a method call fails.





Copyright © 2004. Sybase Inc. All rights reserved. Appendix E: Accessing Portal Interface Content with Pocket PC

View this book as PDF