cartridge-springdata
cartridge-springdata copied to clipboard
Spring Data Tarantool
cartridge-springdata cannot be run with JRE17 because of strong internals encapsulation policy: https://openjdk.java.net/jeps/403 The problem is cartridge-springdata's TarantoolTemplate map parameters: https://github.com/tarantool/cartridge-springdata/blob/v0.5.3/src/main/java/org/springframework/data/tarantool/core/BaseTarantoolTemplate.java#L387 That mapping uses converter: https://github.com/tarantool/cartridge-springdata/blob/v0.5.3/src/main/java/org/springframework/data/tarantool/core/convert/MappingTarantoolWriteConverter.java#L103 The converter tries to...
https://github.com/tarantool/cartridge-springdata/blob/78c8d1ab1668de848f04afbcd3ab90f04322c4a9/src/main/java/org/springframework/data/tarantool/core/BaseTarantoolTemplate.java#L245-L264 Git blame points at you @akudiyar. May you remember why it's done this way?
java.sql.* may be used in projects formerly using a JDBC driver and supporting these types may reduce the code changes when moving to the Cartridge Spring Data module.
Create a new project with an example and add a link to it to the README. References: https://www.baeldung.com/spring-data-mongodb-tutorial https://github.com/pacphi/spring-boot-mongodb-example https://www.concretepage.com/spring-5/spring-data-mongotemplate
Example to reproduce: ```lua local simple_object_with_linked_list = box.schema.space.create( 'simple_object_with_linked_list', { format = { { name = 'id', type = 'unsigned' }, { name = 'list', type = 'any' }, {...
Now it doesn't work like that, see the test here: https://github.com/tarantool/cartridge-springdata/pull/87 It is also worth considering that findMergedAnnotation is a performance-heavy method, so should cache getting annotations or come up...
Right now it's not working as expected. Later there are checks for void, but it's better to check here. https://github.com/tarantool/cartridge-springdata/blob/d9e2ec1ea8d0ca54024a8761cd08a5a10b3ea544/src/main/java/org/springframework/data/tarantool/core/query/TarantoolTupleRepositoryQueryExecutor.java#L23-L40 
The problem was introduced [here](https://github.com/tarantool/cartridge-springdata/pull/80) because of limitations of cartridge-java. See related issues: https://github.com/tarantool/cartridge-java/issues/166 https://github.com/tarantool/cartridge-java/issues/117
We cannot, as far as I tried, pass the tuple in the argument (well, so that it makes the List in the correct order and passes it to cartridge-java) to...