This thread contains a combination of bug reports / feature requests / support questions.
Please use a separate thread for every topic and use the issue tracking for clear ObjectDB bugs.
Regarding logging - the ordinary ObjectDB log file should contain a full stack trace of the Enhancer exception, at least when you run command line enhancement. Build 2.2.8_08 adds information about the type (adding information about the exact field is more difficult, since most exceptions are caused during loading of a class by the JVM, for example because of a missing type, and reference to the relevant field is unavailable).
The static initializer issue cannot be reproduced with a simple empty static initializer. Maybe your static initializer throws an exception when the class is loaded during enhancement? If not, please provide a sample case that demonstrates the problem.
Please create separate forum threads with descriptive titles for questions regarding enhancement (and please read these posting instructions).
ObjectDB - Fast Object Database for Java (JPA/JDO)