TweetSo I keep getting this error complaining about org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class ” for connect URL ‘null’ in a Hibernate DAO JUnit 4 test case I have and this is the full trace: Link to this post!
READ MORE »Posts tagged Hibernate
Composite Primary Key pattern in Hibernate
TweetI was trying to create a relationship without using surrogate primary keys the other day in Hibernate. I started searching around for examples, but did not find many examples that used Annotations. Link to this post!
READ MORE »Weblogic 10.3 hangs on JNDI data source lookup during deployment
TweetI have been working on a Spring based web application for a couple weeks. This application uses Hibernate Generic DAO’s with a JNDI template via spring to create the data source. This procedure works very well with DBUnit and Spring to test all of my data access objects in isolation and to get very high [...]
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 »PersistenceException issue with Cobertura and the hibernate3-maven-plugin
TweetI have been using the hibernate3-maven-plugin for some time with a good deal of success in unit testing my data access layers through dbunit. I always separate my data access into a separate module, called data-services, for many reasons. Mostly so I can separate my testing to just database integration testing, and not unit testing [...]
READ MORE »
