ported fix from 3.1
Merge pull request #151 from lat-lon/deegree-master_merge-OraclePrimitiveConverter

ported fix from 3.2-master