Skip to content

Conversation

psilberk
Copy link
Contributor

@psilberk psilberk commented Jul 8, 2025

Motivation and Context

Addressing #321

  1. Why is this change required?: adding Oracle implementation.
  2. What problem does it solve?: NA
  3. What scenario does it contribute to?: NA
  4. If it fixes an open issue, please link to the issue here.

Description

We added the Oracle implementation. Following the similar approach of other vendors.

Contribution Checklist

psilberk and others added 30 commits April 22, 2025 09:33
@karianna
Copy link
Member

Still seeing failures. I recommend running the same ./mvnw command as is listed in the GH Action locally:

Error: Medium: A prepared statement is generated from a nonconstant String in com.microsoft.semantickernel.data.jdbc.oracle.OracleVectorStoreQueryProvider.search(String, List, VectorSearchOptions, VectorStoreRecordDefinition, VectorStoreRecordMapper) [com.microsoft.semantickernel.data.jdbc.oracle.OracleVectorStoreQueryProvider] At OracleVectorStoreQueryProvider.java:[line 470] SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING
Error: Medium: A prepared statement is generated from a nonconstant String in com.microsoft.semantickernel.data.jdbc.oracle.OracleVectorStoreQueryProvider.upsertRecords(String, List, VectorStoreRecordDefinition, UpsertRecordOptions) [com.microsoft.semantickernel.data.jdbc.oracle.OracleVectorStoreQueryProvider] At OracleVectorStoreQueryProvider.java:[line 295] SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING
Error: Medium: com.microsoft.semantickernel.data.jdbc.oracle.OracleVectorStoreQueryProvider$Builder.withObjectMapper(ObjectMapper) may expose internal representation by storing an externally mutable object into OracleVectorStoreQueryProvider$Builder.objectMapper [com.microsoft.semantickernel.data.jdbc.oracle.OracleVectorStoreQueryProvider$Builder] At OracleVectorStoreQueryProvider.java:[line 830] EI_EXPOSE_REP2
Error: Medium: com.microsoft.semantickernel.data.jdbc.oracle.OracleVectorStoreRecordMapper$Builder.withAnnotatedTypeMapping(Map) may expose internal representation by storing an externally mutable object into OracleVectorStoreRecordMapper$Builder.annotatedTypeMapping [com.microsoft.semantickernel.data.jdbc.oracle.OracleVectorStoreRecordMapper$Builder] At OracleVectorStoreRecordMapper.java:[line 145] EI_EXPOSE_REP2
Error: Medium: com.microsoft.semantickernel.data.jdbc.oracle.OracleVectorStoreRecordMapper$Builder.withSupportedDataTypesMapping(Map) may expose internal representation by storing an externally mutable object into OracleVectorStoreRecordMapper$Builder.supportedDataTypesMapping [com.microsoft.semantickernel.data.jdbc.oracle.OracleVectorStoreRecordMapper$Builder] At OracleVectorStoreRecordMapper.java:[line 140] EI_EXPOSE_REP2
Error: Medium: Unread field: com.microsoft.semantickernel.data.jdbc.oracle.OracleVectorStoreRecordMapper$Builder.annotatedTypeMapping [com.microsoft.semantickernel.data.jdbc.oracle.OracleVectorStoreRecordMapper$Builder] At OracleVectorStoreRecordMapper.java:[line 145] URF_UNREAD_FIELD

@psilberk
Copy link
Contributor Author

Hi @karianna @johnoliver if you can please take a look we'd appreciate. Thanks

@karianna
Copy link
Member

Error: Failures:
Error: OracleVectorStoreRecordCollectionTest.exactSearch:221 expected: <30.3399> but was: <30.34000015258789>
Error: OracleVectorStoreRecordCollectionTest.searchWithFilter:261 expected: <30.34000015258789> but was: <30.3399>

fmeheust and others added 8 commits August 18, 2025 15:01
* integration tests

* Added oracle module to BOM
* integration tests

* Added oracle module to BOM

* Disable spotless for oracle store and result of spotless apply
@karianna karianna requested a review from johnoliver August 19, 2025 01:52
@johnoliver johnoliver merged commit 6dad4b7 into microsoft:main Aug 27, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants