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:
- if a problem occurs calling the connection, usually aExceptionjava.sql.SQLException.
- Since:
- Jakarta Persistence (JPA) 1.0