public static void beginTransaction ( ) { ifNullThen ( localConnection . get ( ) , ( ) -> { Connection connection = getSql2o ( ) . beginTransaction ( ) ; localConnection . set ( connection ) ; } ) ; }
Begin a transaction .