Get rid of to_date function.
Change debugMessage method from (String) to (String, int).
Merge DBConnection branch to head.
Currently, some document in xml_document table doesn't have entries inxml_access table. This is okay during the old access policy.But we changed the access policy( see bug 437 ) and if there is no entry inxml_access table, except owner, other person can not access it....