TRUNK-4286: OrderType classes and xml added, Hibernate configuration added