users@jaxb.java.net

field order in implementation classes

From: Damon Fensterman <dfensterman_at_yahoo.com>
Date: Thu, 17 Apr 2003 08:00:54 -0600

when I generate class from my schema using xjc, I end up with, among other things, a MyPackage.impl package containing a MyObjectTypeImpl.java.

Question: does anyone know the rhyme or reason to field order in the TypeImpl class? It seems to be totally random.

This is affecting my code because I have a method that reflects the implementation class in order to create an error report for the user. Normal bean utilities do not seem to work so I had to create my own.