You'll need to define as many PUs in your persistence.xml as there are different databases, inject/lookup all the EMs, and then use the EM that corresponds to your account ID.
Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=255465