Blade_The_DayWalker wrote:
The causes seems to lie with the schema created. The two schemes produce different coloum ordering for the bean properties. Therefore wondering if anyone has encountered the same problem and if they managed to solve this, how did they go about.
The order of columns isn't deterministic, since hbm2ddl (the schema generator) stores columns in a HashMap (see org.hibernate.tool.hbm2ddl.TableMetadata). If you have code that relies on a particular ordering of columns, it needs fixing ;-)