Code Monkey home page Code Monkey logo

Comments (6)

Tapac avatar Tapac commented on May 14, 2024 1

Yes, it's possible with spring-transaction or exposed-spring-boot modules.

from exposed.

Tapac avatar Tapac commented on May 14, 2024

Implemented SpringTransactionManager class (subclass of spring DataSourceTransactionManager).
Please look at ExposedTransactionManagerTest.kt for example and feel free to report any problems.

from exposed.

sdeleuze avatar sdeleuze commented on May 14, 2024

Thanks for adding such support.

I tried to update Geospatial Messenger project but I got a blocking error: IllegalStateException: Already value [org.jetbrains.exposed.sql.Transaction@3672276] for key [org.jetbrains.exposed.spring.SpringTransactionManager@255e5e2] bound to thread [main]. Maybe there is something to fix in SpringTransactionManager. See sdeleuze/geospatial-messenger@transactional

Please also make sure that spring-transaction will be deployed with the right groupId and version since I had to tweak Exposed build.gradle to be able to use org.jetbrains.exposed:spring-transaction:0.5.0-SNAPSHOT dependency.

from exposed.

dragossusi avatar dragossusi commented on May 14, 2024

What about multiplatform?

from exposed.

Tapac avatar Tapac commented on May 14, 2024

@dragossusi , how is it related to that issue?

from exposed.

dragossusi avatar dragossusi commented on May 14, 2024

My goal is to be able, potentially with some extensions, to be able to annotate service functions with @transactional and just rely on our regular JDBC based transaction management (more details here).

I thought he wants to use @transactional with exposed methods

from exposed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.