Looks like we're doing all the linking/resolving for references to PersistenceContext/PersistenceUnits inside the Assembler which is a big no-no, this is my bad mostly as I added code there first and it just grew. We need to move it into the config phase where we can better deal with simple failures before the app is actually built.

And while trying to write this "head up" email I found it hard to explain why it's a big no-no and it becomes clear to me we need more docco on how things work in this area. It started out as a really big email and I figured it'd just put it into a doc all by myself :) Here it is:

  http://cwiki.apache.org/OPENEJB/configuration-and-assembly.html


-David

Reply via email to