Recent Notes

Displaying keyword search results 1 - 6
Created by Fang on November 10, 2011 09:26:12    Last update: November 10, 2011 09:26:12
Syntax highlighted XML schema for JSF 2.0 Application Configuration Resource File ( faces-config.xml ). Almost 3000 lines! <?xml version="1.0" encoding="UTF-8"?> <xsd:sch...
Created by Dr. Xi on June 20, 2010 14:35:17    Last update: June 20, 2010 14:35:17
This XML signature validator comes from the Apache XML Security project. It validates the signature according to the core validation processing rules . It does not verify that the key used to generate the signature is a trusted key. You can override the KeySelector class to make sure that the signing key is from a trusted store. import javax.xml.crypto.*; import javax.xml.cry...
Created by Dr. Xi on April 07, 2010 15:46:14    Last update: April 07, 2010 15:46:14
SQL> desc user_role_privs; Name ... Further reference: Oracle Database Security Guide (11g Release 2)
Created by Dr. Xi on February 24, 2010 21:13:05    Last update: February 24, 2010 21:19:54
This program demonstrates the use of the java.nio package to implement a single thread echo server. import java.io.IOException; import java.net.Ine...
Created by Dr. Xi on March 24, 2009 23:28:19    Last update: March 24, 2009 23:29:35
The COALESCE function returns the first non-null expression in the expression list. It returns null when all expressions evaluate to null . This example is from Oracle documentation : SELECT product_id, list_price, min_price, COALESCE... Result: PRODUCT_ID LIST_PRICE MIN_PRICE Sale ...
Created by Dr. Xi on September 19, 2008 21:35:55    Last update: September 19, 2008 21:35:55
The Oracle NVL function lets you use an alternative value when a null is encountered. -- list name with email or 'N/A' if not availa...