@Deprecated
  public <T> T withTransaction(Supplier<T> block) {
    """
	Run a block of code in a JPA transaction.
	
	@param block Block of code to execute
	@deprecated Deprecated as of 2.7.0. Use {@link #withTransaction(Function)} instead.
    """
    return withTransaction("default", false, block);
  }
@Deprecated
  public <T> T withTransaction(Supplier<T> block) {
    return withTransaction("default", false, block);
  }
@ Deprecated public < T > T withTransaction ( Supplier < T > block ) { return withTransaction ( "default" , false , block ) ; }
Run a block of code in a JPA transaction.

@param block Block of code to execute
@deprecated Deprecated as of 2.7.0. Use {@link #withTransaction(Function)} instead.
Run a block of code in a JPA transaction .