Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » UltraLite - Java Programming » UltraLiteJ application development » Code examples

 

Java SE example: Encrypting data

This example demonstrates a technique for encrypting data in a database. In this scenario, decrypting the data incurs a performance penalty.

 Run the Encrypted.java example
  1. Change to the following directory: %SQLANYSAMP12%\UltraLiteJ\J2SE.

  2. Run the following command (the command is case sensitive):

    rundemo Encrypted

This example is for Java SE. For a complete BlackBerry encryption sample, see %SQLANYSAMP12%\UltraLiteJ\BlackBerryEncryption.