Jakarta Persistence (JPA) Method

T apply(
  C connection
)


Compute a result using the given connection.
Parameters:
connection - the connection to use
Returns:
the result.
Throws:
Exception - if a problem occurs calling the connection, usually a java.sql.SQLException.
Since:
Jakarta Persistence (JPA) 1.0