TweetI ran into an issue running some DBUnit tests trying to seed a database where tables do not have primary keys such as CollectionTables in JPA. This blog illustrates how to the http://www.dbunit.org/properties/primaryKeyFilter property to refresh a table that do not have primary keys. You can basically choose the columns to pseudo ignore during processing. Link [...]
READ MORE »Posts tagged JPA (JSR-220)
No subclass matches this class; for this Aggregate mapping with inheritance.
TweetNo subclass matches this class [class com.baselogic.test.CustomerFixture$2$1] for this Aggregate mapping with inheritance I have been writing a chapter for my new book “Java EE6 Cookbook for Securing, Tuning and Extending Enterprise applications” today, and I ran across an interesting error based on a JPA testing pattern. Link to this post!
READ MORE »Common Hibernate JPA Data Services Component
TweetI have been using Hibernate JPA, with a Java Generics based data access layer for some time now. But each time I go to a new project, I find that I have to do quite a bit of rework just to integrate this component. So what I wanted to do, is find a way to [...]
READ MORE »
