domains and sql mapped - i manually created the sql because i wanted to know what hibernate was doing