support for oracle

modified some file for oracle support