insert
Inserts a record into the database.
Parameters
entity
The object to be inserted.
Throws
if the class is not annotated with @Table.
if there is an error executing the query.
Inserts a record into the database.
The object to be inserted.
if the class is not annotated with @Table.
if there is an error executing the query.