By default Hibernate will process the HBM mappings before it processes annotation mappings. Can you specify the following property in your hibernate configuration:
hibernate.mapping.precedence=class,hbm
This will basically tell Hibernate to process classes before hbm. |