Fix for ticket #467: Transaction went wrong

See http://tracker.deegree.org/deegree-services/ticket/467.