You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I use SessionFactoryAttribute in my repository to read and write enitites from one session. I want change my database to slave and master. I want write entites to master and read them from slave. Is there any approach to implement this using SessionFactoryAttribute? May be there is a better solution?
The text was updated successfully, but these errors were encountered:
AlexanderSysoev
changed the title
Separate write and read commands using SessionFactoryKeyAttribute
Separate write and read commands using SessionFactoryAttribute
Jul 26, 2016
Hello!
I use SessionFactoryAttribute in my repository to read and write enitites from one session. I want change my database to slave and master. I want write entites to master and read them from slave. Is there any approach to implement this using SessionFactoryAttribute? May be there is a better solution?
The text was updated successfully, but these errors were encountered: