Skip to content

Commit

Permalink
Disable transactions for R2DBC
Browse files Browse the repository at this point in the history
These are not supported with Micronaut 3.x
  • Loading branch information
melix committed Oct 9, 2023
1 parent 8943d24 commit a1cf4cc
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import io.micronaut.testresources.jdbc.AbstractJDBCSpec
import io.micronaut.testresources.jdbc.Book
import jakarta.inject.Inject

@MicronautTest(environments = ["customized-jdbc"] )
@MicronautTest(environments = ["customized-jdbc"], transactional = false )
class JdbcWithCustomizationMariaDBSQLTest extends AbstractJDBCSpec {

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.micronaut.testresources.jdbc.AbstractJDBCSpec
import io.micronaut.testresources.jdbc.Book
import jakarta.inject.Inject

@MicronautTest(environments = ["standalone"] )
@MicronautTest(environments = ["standalone"], transactional = false )
class StandaloneStartMariaDBSQLTest extends AbstractJDBCSpec {
@Inject
ReactiveBookRepository repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.micronaut.testresources.jdbc.AbstractJDBCSpec
import io.micronaut.testresources.jdbc.Book
import jakarta.inject.Inject

@MicronautTest(environments = ["jdbc"] )
@MicronautTest(environments = ["jdbc"], transactional = false )
class WithJdbcStartMariaDBSQLTest extends AbstractJDBCSpec {

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.micronaut.testresources.jdbc.AbstractJDBCSpec
import io.micronaut.testresources.jdbc.Book
import jakarta.inject.Inject

@MicronautTest(environments = ["standalone"] )
@MicronautTest(environments = ["standalone"], transactional = false )
class StandaloneStartMSSQLTest extends AbstractJDBCSpec {
@Inject
ReactiveBookRepository repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.micronaut.testresources.jdbc.AbstractJDBCSpec
import io.micronaut.testresources.jdbc.Book
import jakarta.inject.Inject

@MicronautTest(environments = ["jdbc"] )
@MicronautTest(environments = ["jdbc"], transactional = false )
class WithJdbcStartMSSQLTest extends AbstractJDBCSpec {

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.micronaut.testresources.jdbc.AbstractJDBCSpec
import io.micronaut.testresources.jdbc.Book
import jakarta.inject.Inject

@MicronautTest(environments = ["standalone"] )
@MicronautTest(environments = ["standalone"], transactional = false )
class StandaloneStartMySQLTest extends AbstractJDBCSpec {
@Inject
ReactiveBookRepository repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.micronaut.testresources.jdbc.AbstractJDBCSpec
import io.micronaut.testresources.jdbc.Book
import jakarta.inject.Inject

@MicronautTest(environments = ["jdbc"] )
@MicronautTest(environments = ["jdbc"], transactional = false )
class WithJdbcStartMySQLTest extends AbstractJDBCSpec {

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import io.micronaut.testresources.jdbc.Book
import jakarta.inject.Inject
import spock.lang.IgnoreIf

@MicronautTest(environments = ["standalone"] )
@MicronautTest(environments = ["standalone"], transactional = false )
@IgnoreIf({ !jvm.java11Compatible })
class StandaloneStartOracleTest extends AbstractJDBCSpec {
@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import io.micronaut.testresources.jdbc.Book
import jakarta.inject.Inject
import spock.lang.IgnoreIf

@MicronautTest(environments = ["jdbc"] )
@MicronautTest(environments = ["jdbc"], transactional = false )
@IgnoreIf({ !jvm.java11Compatible })
class WithJdbcStartOracleTest extends AbstractJDBCSpec {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import io.r2dbc.pool.ConnectionPool
import io.r2dbc.spi.ConnectionFactory
import jakarta.inject.Inject

@MicronautTest(environments = ["standalone"] )
@MicronautTest(environments = ["standalone"], transactional = false )
class StandaloneStartPostgreSQLTest extends AbstractJDBCSpec {
@Inject
ReactiveBookRepository repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import io.r2dbc.pool.ConnectionPool
import io.r2dbc.spi.ConnectionFactory
import jakarta.inject.Inject

@MicronautTest(environments = ["jdbc"] )
@MicronautTest(environments = ["jdbc"], transactional = false )
class WithJdbcStartPostgreSQLTest extends AbstractJDBCSpec {

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.micronaut.testresources.jdbc.AbstractJDBCSpec
import io.micronaut.testresources.jdbc.Book
import jakarta.inject.Inject

@MicronautTest(environments = ["standalone"] )
@MicronautTest(environments = ["standalone"], transactional = false )
class StandaloneStartPostgreSQLTest extends AbstractJDBCSpec {
@Inject
ReactiveBookRepository repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.micronaut.testresources.jdbc.AbstractJDBCSpec
import io.micronaut.testresources.jdbc.Book
import jakarta.inject.Inject

@MicronautTest(environments = ["jdbc"] )
@MicronautTest(environments = ["jdbc"], transactional = false )
class WithJdbcStartPostgreSQLTest extends AbstractJDBCSpec {

@Inject
Expand Down

0 comments on commit a1cf4cc

Please sign in to comment.