Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jta-dev] Enhancement of the @Transactional Annotation

Thank you for raising the topic!

I think an important consideration when adding things to Jakarta Transactions is what can the XAResource API support?

Rearding isolation levels, I don't think we have a way to inform the XAResource of isolation level and so adding that something like that to Jakarta Transactions it is not clear to me what an implementation would do with that information? Reading https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/transaction/annotation/Isolation.html#DEFAULT it seems intended to be specific to JDBC and so it seems maybe Spring has a way to merge a concept of datasource with their Transactional annotation? I am not sure the same would be appropriate for Jakarta Transactions.

On Sun, 4 Dec 2022 at 15:44, Benedict Eisenkrämer <benedict@xxxxxxxxxxxxxx> wrote:

Hello there,

I am new to this mailing list so maybe a few short words to myself first: I am a Software Engineer in Germany responsible for our JavaEE, soon to be JakartaEE framework. I am quiet interested in  JakartaEE and its development.

The topic I would like to discuss is the enhancement of the @Transactional Annotation for JakartaEE 11. A good template would be the Spring specific Annotation of the same name which supports among other things :

  • Isolation levels
  • timeout
  • readOnly

I already found a issue on github regarding the Topic, which unfortunately has not seen any attention given to it since 2016. So I wanted to spark a discussion.

In my opinion these enhancement could be quiet helpful.


Thanks in advance and best regards

Benedict Eisenkrämer

_______________________________________________
jta-dev mailing list
jta-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jta-dev

Back to the top