refactoring oracle sql timestamp

fixing/refactoring previous pullrequest https://github.com/deegree/deegree3/pull/152
description http://tracker.deegree.org/deegree-services/ticket/589