1. How to make safe frequent DataSource switches for AbstractRoutingDataSource? stackoverflow.comI implemented Dynamic DataSource Routing for Spring+Hibernate according to this article. I have several databases with same structure and I need to select which db will run each ... |
2. Spring @Async and the AbstractRoutingDataSource stackoverflow.comI've been using the AbstractRoutingDataSource with great success, but have hit upon an issue I can't resolve: when I kick off an asynchronous method using |
3. Using AbstractRoutingDataSource to dynamically change the database schema/catalog stackoverflow.comAccording to this article, you can use the AbstractRoutingDataSource from Spring Framework to dynamically change the data source used by the application. However, the data sources used are defined by ... |
4. MyBatis + AbstractRoutingDataSource forum.springsource.orgCode: /** * Load an existing Po entity * */ @Transactional public Po getPoByPoNumber(String poNumber) { // Get Po by Po number from the default CMC Reporting data source Po po ... |
5. Some ideas about AbstractRoutingDataSource forum.springsource.orgSome ideas about AbstractRoutingDataSource Hello. I'm using AbstractRoutingDataSource for dynamic data source routing and i have a problem. My app have many identicals schemas. The schema is choosed using the URL ... |
6. AbstractRoutingDataSource not routing when used with Hibernate (sample attached) forum.springsource.orgAbstractRoutingDataSource not routing when used with Hibernate (sample attached) I'm trying to do some simple physical sharding using AbstractRoutingDataSource along with Hibernate. I don't want to use Hibernate Shards, since we ... |
7. Help to understand some concepts of AbstractRoutingDataSource forum.springsource.orgHelp to understand some concepts of AbstractRoutingDataSource I need som help understanding AbstractRoutingDataSource. There are some aspects of my AbstractRoutingDataSource I do not understand. This is my recipe: 1: Created an ... |
8. Problem compiling AbstractRoutingDataSource implementation forum.springsource.orgProblem compiling AbstractRoutingDataSource implementation I am not sure if this is a Maven2 issue or an Spring issue, but since my problem occours when compiling my implementation of the AbstractRoutingDataSource I ... |
9. Routing data sources with AbstractRoutingDataSource forum.springsource.orgRouting data sources with AbstractRoutingDataSource Hi, I've implemented horizontal partioning with Spring's AbstractRoutingDataSource and hibernate. I've used this article as reference: http://blog.springsource.com/main/20...ource-routing/ Although my code is running I've ran into some ... |
10. JPA and AbstractRoutingDataSource? forum.springsource.orgIs it possible to use JPA annotations and AbstractRoutingDataSource together. My application will spin up a new catalog for each new customer site. I'd like to use JPA annotations, but I ... |
11. Can I call setTargetDataSources on an AbstractRoutingDataSource after initialisation? forum.springsource.orgThe subject says it all really. I have a bean that is autowired to a custom AbstractRoutingDataSource which, post construction, creates a Map of Strings to DataSources and does a setTargetDataSources ... |
12. AbstractRoutingDataSource for failover? forum.springsource.orgAbstractRoutingDataSource for failover? We have a situation where our data is loaded into one (Oracle) database instance, and then is streamed to another. In the event that the main instance fails, ... |
13. AbstractRoutingDataSource and Potential Thread safety issue forum.springsource.orgAbstractRoutingDataSource and Potential Thread safety issue Since the EntityManagerFactory is shared across EntityManagers, if you are calling setDataSource() on the EMF, then you could have a potential threading issue. The scenario ... |
14. AbstractRoutingDataSource and Potential Thread safety issue forum.springsource.orgAbstractRoutingDataSource and Potential Thread safety issue Since the EntityManagerFactory is shared across EntityManagers, if you are calling setDataSource() on the EMF, then you could have a potential threading issue. The scenario ... |
15. AbstractRoutingDataSource and AbstractTransactionalSpringContextTests forum.springsource.orgFeb 26th, 2010, 10:52 AM #1 jsimone View Profile View Forum Posts Private Message Junior Member Join Date Sep 2008 Posts 3 AbstractRoutingDataSource and AbstractTransactionalSpringContextTests We are using an AbstractRoutingDataSource implementation ... |
16. Database routing using AbstractRoutingDataSource forum.springsource.orgDatabase routing using AbstractRoutingDataSource Hi all, I'm currently working with an ASP solution based on Spring where we have a requirement to work towards several databases (through Hibernate). One for each ... |
17. Problem using AbstractRoutingDataSource and JdbcCursorItemReader forum.springsource.orgProblem using AbstractRoutingDataSource and JdbcCursorItemReader I am not sure this is an issue with my spring batch config or my data source config but I am getting an exception when trying ... |
18. AbstractRoutingDataSource - Multitenant forum.springsource.orgHi, I am trying to setup a webapplication using spring mvc, spring security and hibernate/JPA for multiple customers using multiple data sources. I looked at AbstractRoutingDataSource It looks like I can ... |