Persistence classes for use with ORMs and JDBC