Re: [DISCUSSION] IEP-123: ORM API (Create tables from Java classes) Ignite3

2024-05-23 Thread Vadim Kolodin
Greetings, 1. Both key and value can be annotated with @Table, key will be processed first. Everything will be added to the resulting query. 2. Perhaps just need to rewrite an example to eliminate confusion. Effectively, there is no restriction on how to compose pojo, as it will be converted to a

Re: [DISCUSSION] IEP-123: ORM API (Create tables from Java classes) Ignite3

2024-05-17 Thread Andrey Mashenkov
HI, I have a few questions. Assume, a user creates table via key-value annotated classes: ignite.catalog().create(PojoKey.class, PojoValue.class).execute(); 1. What is the difference between having @Table annotation on the key class or on the value class? When both classes are annotated, which on

[DISCUSSION] IEP-123: ORM API (Create tables from Java classes) Ignite3

2024-05-16 Thread Mikhail Pochatkin
Igniters, Please review the proposal [1] and let me know what you think [1] IEP-123: ORM API (Create tables from Java classes) - Apache Ignite - Apache Software Foundation