-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default array mapping doesn't work for Oracle #1818
Comments
I don't think it's the right approach, but we should check if this solution is doable and solve the issue. |
@DavideD debugged array test with Oracle DB today. The |
@blafond, make sure to check the chat I had with Thomas: eclipse-vertx/vertx-sql-client#1392 I'm not sure how this array is created, but we need to do the same: https://github.com/hibernate/hibernate-orm/blob/d90d6e63f017b5ebe4294b5850e0fad155acdd4f/hibernate-core/src/main/java/org/hibernate/dialect/OracleArrayJdbcType.java#L114 |
@DavideD ORM's Vertx connection framework only implements it's own connection hierarchy ending up with an I'm not finding a path to get the actual DB connection through Vertx... which I wouldn't expect I guess. |
note that |
What do you mean? This is the method we need to call: https://docs.oracle.com/en/database/oracle/oracle-database/21/jajdb/oracle/jdbc/OracleConnection.html#createARRAY_java_lang_String_java_lang_Object_ |
For Oracle, Hibernate ORM define custom types to map arrays.
We can create the same types with Vert.x SQL client but when we try an insert we have an exception.
Vert.x doesn't support user types at the moment: eclipse-vertx/vertx-sql-client#1392
We test arrays in JavaTypesArrayTest
We've created a PR for Vert.x that should be able to help us fix this issue, but we are waiting for the team to review it.
The text was updated successfully, but these errors were encountered: