rewrite JdbcToXsdTypeMapper in scala