spring-boot
とで遊んでいspring-boot-data-jpa
ます。@Entity class A {...}
そのuseshsqlDatasource
と@Entity class B {...}
useが必要ですmssqlDatasource
。どうすればそれを達成できますか?
私はこのようなことをしたいと思います:
@Repository
@UseDatasource("hsql")
interface A extends CrudRepository....
spring-boot
とで遊んでいspring-boot-data-jpa
ます。@Entity class A {...}
そのuseshsqlDatasource
と@Entity class B {...}
useが必要ですmssqlDatasource
。どうすればそれを達成できますか?
私はこのようなことをしたいと思います:
@Repository
@UseDatasource("hsql")
interface A extends CrudRepository....