Skip to content

An experiment in bridging blocking JDBC calls with Kotlin coroutines.

Notifications You must be signed in to change notification settings

andrewoma/coroutine-jdbc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kotlin coroutines meets JDBC

An experiment in bridging blocking JDBC calls with Kotlin coroutines.

It supports re-entrant transactions allowing services to be composed.

See DatabaseTest.kt for examples and Database.kt for the implementation.

Credits

  • Roman Elizarov for the original idea of the fixed thread pool for bridging and how to obtain the current coroutine context

About

An experiment in bridging blocking JDBC calls with Kotlin coroutines.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages