how can i inject a TransactionManager to a Repository created in a "Standalone Way"
RepositoryFactorySupport factory = … // Instantiate factory here
UserRepository repository = factory.getRepository(UserRepository.class);
The Problem.. i need each Repository twice..
On the one hand to have transactional access to the db-master , and on the other hand to have "read only" access " to the db-slave
Using the <jpa:repositories.. there is the possibility to inject a special TransactionManager, but i can not use this in that way.