Metadata import without Hibernate (work in progress)