As per documentation, JDBCMetadataStore requires an instance of DataSourceTransactionManager and this makes sense. What if I'm using JPA as primary transaction manager in the application? How can I tell to JDBCMetadataStore which transaction manager it should make use when calling the @Transactional methods - assuming I have to have 2 flavours of transaction manager beans in the application. Suggestions are welcome!
JDBCMetadataStore vs transaction manager
148 Views Asked by André Diniz At
1
There are 1 best solutions below
Related Questions in SPRING-DATA-JPA
- How to create jasper report in spring boot rest api with jpa
- Hibernate SQL Error: Missing FROM-clause entry for table "th1_1"
- Is there a way to fetch Associated Entity from second level Cache instead of hitting the DB in Hibernate?
- Spring JPA Data Auditing - How to design it?
- How to insert values from two forms (spring boo)t into same row in SQL database row
- The return type is incompatible with '@NonNull Page<M>' returned from PagingAndSortingRepository<M,String>.findAll(Pageable)
- Spring Data Mongo Property Expression Query not returning any results
- Spring Boot JPA (HSQLDB): INSERT using SELECT from data.sql, unexpected token: SELECT
- Javers in microservice architecture
- Not able to fetch results based on OrderBy using CriteriaBuilder
- Apply a common criteria to all Spring JPA repository methods
- Concurrently open statements
- Spring Java API returning byte[] variable with ""
- Returing List vs Set of Entity in Spring Data JPA
- What is the best way to validate that a foreign key is valid with Spring Data?
Related Questions in SPRING-INTEGRATION
- Starting first job causes - Dispatcher has no subscribers for channel exception when declared multiple DirectChannels
- Azure Service Bus With Spring Integration Executor Channel Error Handling
- How does taskExecutor with Queue size set work with AcceptOnceFileListFilter filter for file input adapter
- Spring Integration JMS MessageDrivenChannelAdapter connection status
- Spring integration rotating server advice with SFTP outbound gateway
- Spring integration sftp new version upgrade issues
- Spring integration- Add check not to process inbound files older than 2 days and empty file
- JmsOutboundGateway retries to connect to mq -> GatewayReplyListenerContainer refreshConnectionUntilSuccessful (maxAttempts=unlimited)
- RequestHandlerCircuitBreakerAdvice doesn't work if somethings fail in descending Service activator
- Spring Integration and Spring Batch transaction manager collision
- Taking too long to send first message to JMS topic from Spring Integration
- Unable to process failed jobs in spring batch when using remote chunking
- Spring Integration Java DSL with Kafka
- Spring Integration nullChannel reference in Non-DSL
- Spring Integration 6.x http outbound gateway http uri variable expression not evaluating application properties
Related Questions in SPRING-INTEGRATION-JDBC
- Spring integration jdbc distributed lock: multiple threads and transactions
- Parallelism within a channel message group
- time to live of DefaultLockRepository has no effect for 2 threads in the same java process when using JdbcLockRegistry
- I am trying to insert values into DB using jdbc:outbound-gateway, getting below error
- how can spring integration 5.5.x use mysql as message store
- JdbcMetadataStore: initialize schema, but for Spring app NOT using Boot
- Spring Integration - JDBC Inbound Channel - Process a group of mutually related rows at one go
- Spring integration jdbc poller thread hangs or polls in consistently
- Prevent automatic table creation or drop when using `JdbcChannelMessageStore`
- JDBCMetadataStore vs transaction manager
- Spring JDBC Outbound Gateway To Return Original Payload
- How to attribute more priority on a specific IntegrationFlow process when there are several IntegrationFlow with SpringIntegration
- Spring Integration Mail: Send email after all database inserts
- JMS message processing with spring integration in cloud environment
- How to ask spring to create corresponding schema for JdbcMetadataStore?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I suggest you to extend that
JdbcMetadataStoreand override all the transactional methods with delegation to super and@Transactionalwith the specific TX manager: