Separate in three projects to support hibernate3 and hibernate4