Jakarta Persistence (JPA) Method

Y convertToDatabaseColumn(
  X attribute
)


Converts the value stored in the entity attribute into the data representation to be stored in the database.
Parameters:
attribute - the entity attribute value to be converted
Returns:
the converted data to be stored in the database column.
Since:
Jakarta Persistence (JPA) 1.0