Using the Session

The declarative base and ORM mapping functions described at Mapper Configuration are the primary configurational interface for the ORM. Once mappings are configured, the primary usage interface for persistence operations is the Session.