This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
The test program belches on this line with the message
Now I know my persistence file isn't in the standard place but it =seems= to be getting found at least - changing the value of
to some other directory where the file is not will cause a FileNotFound error. So maybe there's some flaw in pu2 that causes IAE error?
I've structured my configuration this way for I plan to add support for multiple databases via multiple EntityFactories and DataSources.
So can anyone spot what I've done wrong/not done right? And are there any improvements to be made? What's the 'best-practices' zen of achieving multiple database transaction management with JPA2/Hibernate ?