Closed kensinzl closed 3 months ago
may I check could someone please have a look at this ticket? thank you so much.
the answer is that Geolatte (and Hibernate Spatial) use prepared statements. The geometry object is constructed and bound to the prepared statement. The geometry object is not turned into a textual presentation that needs to be parsed as SQL.
@maesenka thanks for your response.
the answer is that Geolatte (and Hibernate Spatial) use prepared statements. => Here, I want to double check could you please share the example for the prepared statements you mentioned? is it just a normal insert query? thanks so much
@maesenka can I check how is going on for the above message? thank you so much.
Dear
I use this package for Oracle Spatial type. Meanwhile, I am using Java JPA for this.
This is the table structure
I have a Polygon object which has over 6,000 Lon&Lat Points.
Good news, if I am using JPA em.persist(GRID_POINT_BOUNDARY object), it works well,
But for me, this JPA will eventually be parsed into the pure SQL query, and the parsed SQL query is
So my question is
From the SQL query, if the point size is over 1000, Oracle will throw the exception to show over the max argument, it makes sense
I am curious how does the geolatte handle this issue to work around the oracle?
Any information is welcome