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
- Spring context unable to resolve among multiple entity managers
- The previous persisted data always being overlapped after the new persisting
- Error while accessing EntityManager in spring boot
- NoClassDefFoundError: org/hibernate/ejb/HibernatePersistence
- QueryDSL Predicate (Data JPA) which will query all the records by some rule and group them?
- How to create forms for multiple database tables?
- Name for parameter binding must not be null or empty! For named parameters you need to use @Param for query method parameters on Java versions
- Delete ObjectDetails from Object Spring Data
- Spring Boot Spring Data JPA JBoss EAP 6.4
- Example Spring integration DSL for JPA Inbound Channel adapter
- Spring Data JPA "null value in column xxx violates not-null constraint" on serial column with postgresql
- Spring Boot Webapplication + Spring Data Jpa + Hibernate-Search - Index is not created if Repository save Method is used
- Inheritance Type Joined JPA - query for property in Spring JPA
- How to store an entity together with its relations?
- Getting 500 Server Error with Spring Boot REST application JpaRepository
Related Questions in SPRING-INTEGRATION
- Custom XML Validator Factory
- spring-integration-dsl-groovy-http return null when i use httpGet method
- having spring integration tcpserver to manage clients and send them messages
- Syntax error on tokens, delete these tokens - kafka spring integration demo application
- how to respond from plain tcp client to MessagingTemplate's sendAndReceive
- How to send basicAck to inbound adapter after publisher confirm from outbound adapter
- Maximum simultaneous connection when using ftp adapter
- Spring Integration: SMTP server
- Spring Integration and returning schema validation errors
- Error handling using poller
- spring-integration Aggregator annontation attributes
- spring-integration end point
- Spring integration FileTailingMessageProducer: Remember current line when restarting
- Send Excel or xls file to remote directory using spring integration
- Which Spring Integration Channel should be used for MQTT
Related Questions in SPRING-INTEGRATION-JDBC
- Prevent automatic table creation or drop when using `JdbcChannelMessageStore`
- Spring integration jdbc poller thread hangs or polls in consistently
- How to ask spring to create corresponding schema for JdbcMetadataStore?
- I am trying to insert values into DB using jdbc:outbound-gateway, getting below error
- time to live of DefaultLockRepository has no effect for 2 threads in the same java process when using JdbcLockRegistry
- JDBCMetadataStore vs transaction manager
- how can spring integration 5.5.x use mysql as message store
- Spring Integration - JDBC Inbound Channel - Process a group of mutually related rows at one go
- 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 jdbc distributed lock: multiple threads and transactions
- Parallelism within a channel message group
- JdbcMetadataStore: initialize schema, but for Spring app NOT using Boot
- JMS message processing with spring integration in cloud environment
- Spring Integration Mail: Send email after all database inserts
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 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: