Getting OCIError: ORA-00932: inconsistent datatypes From Rails 3
问题 Here is the scenario. I'm writing my geo-ruby oracle adapter for Ruby On Rails which supports working with SDO_GEOMETRY out of box. It was going well. I wrote codes for selecting SDO_GEOMETRY objects from Oracle DB successfully. Everything ruins up when I wanted to write insert and update parts. Following is what's in my mind. I want to be able to do this statement: g = GeoShape.new(name:"point1", shape: Point.from_x_y(-34,-43,4326)) g.save I generated following sql query from the above