Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ public void testStageBatchingUpdate(VertxTestContext context) {
.thenCompose( v -> getSessionFactory().withStatelessTransaction( s -> s
.createQuery( "from GuineaPig p order by p.id", GuineaPig.class )
.getResultList()
.thenApply( pigs -> {
.thenCompose( pigs -> {
pigs.get( 0 ).setName( "One updated" );
pigs.get( 1 ).setName( "Two updated" );
return s.update( 10, pigs.toArray() );
Expand All @@ -383,7 +383,7 @@ public void testStageBatchingUpdateMultiple(VertxTestContext context) {
.thenCompose( v -> getSessionFactory().withStatelessTransaction( s -> s
.createQuery( "from GuineaPig p order by p.id", GuineaPig.class )
.getResultList()
.thenApply( pigs -> {
.thenCompose( pigs -> {
pigs.get( 0 ).setName( "One updated" );
pigs.get( 1 ).setName( "Two updated" );
return s.updateMultiple( pigs );
Expand All @@ -402,7 +402,7 @@ public void testStageBatchingUpdateNoBatchSizeParameter(VertxTestContext context
.thenCompose( v -> getSessionFactory().withStatelessTransaction( s -> s
.createQuery( "from GuineaPig p order by p.id", GuineaPig.class )
.getResultList()
.thenApply( pigs -> {
.thenCompose( pigs -> {
pigs.get( 0 ).setName( "One updated" );
pigs.get( 1 ).setName( "Two updated" );
return s.update( pigs.get( 0 ), pigs.get( 1 ) );
Expand Down
Loading