Changed testcases to use resource files stored in the test java package, rather than relying them to be on the filesystem. Anyone should now be able to run the test, rather than needed to set their PC up manually.
Rejigged a few things to make junit work locally, now that main code uses JNDI database. Included moving the test context to the src area so that is in jar and available for junit testing in other projects. Changed name of createCredential to createCredentials. More consistent with other methods. Fixed a transaction bug - this method was defined as createCredentials in the Spring xml file.
Rejigged the link from the child node to the parent to point from the child node (rather than child node version). This restricts us to a design where we always create new nodes for new versions of a parent. Also made the lookup of child nodes manual (rather than loaded automatically by hibernate). Doesn't use lazy loading - goes direct to database to find node. Not so nice. But the changes have almost doubled the throughput in my testing.
Change name from com.lamsinternational to org.lamsfoundation. Changed all the entries I can find but the jar file still contains a folder reference it appears.