Sergey, I understand and support the proposed idea. Just curious how to implement it. Do you already have some prototype?
пт, 31 янв. 2020 г. в 11:48, schernolyas <sergey.chernol...@gmail.com>: > > Hi! > > It is proposed to use the same annotation(RepositoryConfig). But value of > field "cacheName" can be constant or Spring EL expression. > Correct cases are: > 1) By Spring EL expression > @Repository > @RepositoryConfig(cacheName = "@cacheNames.calendarCacheName") > public interface CalendarRepository extends IgniteRepository<Calendar, > String> { > List<Calendar> findByName(String name); > } > 2) By constant > @Repository > @RepositoryConfig(cacheName = "Calendar") > public interface CalendarRepository extends IgniteRepository<Calendar, > String> { > List<Calendar> findByName(String name); > } > > Any other ideas? > > > > -- > Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/ -- Best regards, Ivan Pavlukhin