By using an external jta manager like atomikos or bitronix, is it possible to combine a spring transaction and a non-spring transaction? If possible, do I still need to annotate the method as transactional - what if the transactions span across methods or classes?
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in HIBERNATE
- Hibernate Query Exception: Cannot create critieria on owning entity
- Using like to non-string columns in Grails
- Play Framework Unable to build entity manager factory when Working with PostGIS
- How namedparameter query blocks SQL injection
- Is it necessary to create an repository and a service for each entity?
- JPA, Hibernate can I do composite primary key which one element is foreign kay @OneToMany?
- How to convert Hibernate List to String?
- Hibernate Lazy loading not work in OneToOne relation
- Hibernate Search Faceting not working
- JPA and web app
- How to add an extra constraint to joined-subclass in hibernate
- JPA findDistinctPropertyBy magic method doesn't work as expected when using spring-boot-starter-jpa
- How to initialize the log4j system properly?
- i'm stuck when I'm trying to make two primary key's in hibernate
- JPA, how can i have two queries, one use lazy and one use eager for fetching?
Related Questions in SPRING-DATA
- LightAdmin - Customise parsing DateTime with app timezone
- ClassNotFound: UpdateableState in spring-data-neo4j-rest 3.3.0
- Spring Data JPA Many to Many save to set
- Inherited properties of related entities are not visible in spring-data-neo4j-rest
- Guice + Jersey + Spring data
- org.hibernate.exception.SQLGrammarException: could not prepare statement; nested exception is javax.persistence.PersistenceException
- Caused by: java.sql.SQLSyntaxErrorException: [SQL0205] Column MITMAS_MMCONO not in table OOLINE in schema
- Spring HATEOAS + JPA links
- Mongo @DBRef unique
- What is the exact meaning of @RestResource(exported=false) in Spring-Data?
- How is the RowMapper Method working from Spring 1.2?
- Spring boot don't let me create a repository without database
- Delete ObjectDetails from Object Spring Data
- How to have a different Elastic Spring Data index per request
- JPA - how to prevent an unnecessary join while querying many to many relationships
Related Questions in ATOMIKOS
- Atomikos + OpenJpa +DB2 XA standalone - setAutocommit(true) not allowed
- How to insert into database when using JTA + JPA with Spring
- Atomikos transaction logs com.atomikos.icatch.enable_logging=false
- Spring boot Testing: preparing database with @Sql in multitenant env with XA
- Atomikos, Tomcat, transaction logs and not observing system properties
- Atomikos with Spring Data and Spring JPA - persistency issue
- ResourceException: XA resource 'jdbc/wmsDatasource': resume for XID '..' raised -4: the supplied XID is invalid for this XA resource
- How to properly use standalone TransactionManager in web application?
- Atomikos threads piling up in spring batch application
- Atomikos with Spring Boot gives atomikos.icatch.SysException: No Assembler Service found - please make sure that the right jars are in your class path
- How to increase Atomikos default jta timeout based on the thread during Spring retry
- how to reduce the getConnection time consume in Atomikos
- How to use Atomikos Transaction Essentials with Hibernate >= 4.3
- Strange Atomikos exception - Error in init(): Log already in use?
- Records omitted from query using JPAPagingitemReader
Related Questions in BITRONIX
- Uncommitted transaction using Hibernate + Bitronix
- Bitronix configuration with tomcat throw jndi exception
- Creating bitronix transaction manager in spring-boot
- Bitronix transaction appears to be committing prematurely
- Is it possible to use bitronix PoolingDataSource without BTM?
- JTA(Bitronix)/JPA/Hibernate - How I can get XAResource from an Entitymanager?
- bitronix- Unable to locate current JTA transaction
- JTA Transactional Resource Implementation by Example
- Bitronix PoolingConnectionFactory making multiple connections that won't close
- Bitronix - JMS and JDBC - Message is dequeued on Exception
- Hibernate - Bitronix - Spring - cannot enlist more than one non-XA resource
- Integrating Bitronix with Jtds driver
- Change BTM tlog file location
- Using Solace with Bitronix JTA Transaction Manager
- Bitronix with DB2 in spring boot
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?
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)
Then you should allow the other library use the same JTA library which you configured in Spring with either Bitronix or Atomikos.
This way, you have a a JTA transcation manager configured in Spring and a single JTA DataSource which you need to pass to the outer library via the
hibernate.connection.datasourceconfiguration property.