When using Object Relational Mapping, you typically have two options, using the Active Record Pattern or using the Repository Pattern. Active Record Pattern: Entity e = Entity.create(); e.setSomeField("abc"); e.save(); Repository Pattern: E...