mshannongit

Results 14 comments of mshannongit

Additionally , keyColumnAssignmentMethod("EMBEDDED_OID") needs support added. final OracleDocument metadata = cl.createMetadataBuilder().contentColumnName("DATA").keyColumnName("ID").keyColumnType("VARCHAR2").keyColumnMaxLength(255).keyColumnAssignmentMethod("EMBEDDED_OID").versionColumnName("VERSION").versionColumnMethod("UUID").lastModifiedColumnName("LAST_MODIFIED").creationTimeColumnName("CREATED_ON").schemaName(targetUser).tableName("COMPANY").build(); Currently the following exception is seen ... OracleException occurred : Invalid argument value "EMBEDDED_OID".

createCollection() - OracleException occurred : Invalid argument value "EMBEDDED_OID". oracle.soda.OracleException: Invalid argument value "EMBEDDED_OID". at oracle.soda.rdbms.impl.SODAUtils.makeException(SODAUtils.java:53) at oracle.soda.rdbms.impl.CollectionDescriptor$Builder.keyColumnAssignmentMethod(CollectionDescriptor.java:1553) at oracle.soda.rdbms.impl.CollectionDescriptor.jsonToBuilder(CollectionDescriptor.java:918) at oracle.soda.rdbms.impl.CollectionDescriptor.jsonToBuilder(CollectionDescriptor.java:1070) at oracle.soda.rdbms.impl.OracleDatabaseImpl.callCreatePLSQL(OracleDatabaseImpl.java:1669) at oracle.soda.rdbms.impl.OracleDatabaseImpl.createCollection(OracleDatabaseImpl.java:703) at oracle.soda.rdbms.impl.OracleDatabaseImpl.createCollection(OracleDatabaseImpl.java:638) at oracle.soda.rdbms.impl.OracleDatabaseImpl.createCollection(OracleDatabaseImpl.java:933)...

Looks like even PL/SQL doesn't work .. and the only hope is just using ORDS http request directly ... createCollection() - SQLException occurred : ORA-40842: unsupported value EMBEDDED_OID in the...

Using a SODA REST client, I can create the mongo compatible collection. That collection though cannot be read using OracleRDBMSClient cl = new OracleRDBMSClient(); OracleDatabase db = cl.getDatabase(conn); OracleCollection col...

``` > Task :dockerBuildNative Building image using context '/Users/mshannon/developer/git/reproducer/build/docker/native-main'. Using Dockerfile '/Users/mshannon/developer/git/reproducer/build/docker/native-main/DockerfileNative' Using images 'reproducer'. Step 1/12 : FROM ghcr.io/graalvm/native-image:ol8-java17-22.0.0.2 AS graalvm ---> 4f88414443ef Step 2/12 : WORKDIR /home/app --->...

Possibly related to https://github.com/micronaut-projects/micronaut-data/issues/1504

Doesn't Micronaut data take care of taking the supplied Query value and generating a prepared statement of sorts? If so, can Micronaut data not substitute the table name token with...

Can above not be achieved at compile too though? We are simply wanting to replace some token like $REPOSITORY_TABLE$ in the @Query string with the table name extracted from the...

The developer would put something static like @Query(select * from $REPOSITORY_TABLE$) in the source code. At compile time as part of the annotation processing, I'm hoping Micronaut Data processors could...

If behind corp proxy, need to add in Intellij a no proxy for entry to "internal.resources"