Archive for the ‘Test Driven Development (TDD)’ Category

 

Cannot create JDBC driver of class ” for connect URL ‘null’

March 17th, 2010

So 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:

  • Share/Bookmark

Read full article | No Comments »

How to convince developers and management to use JUnit testing

May 18th, 2009

I am currently on a project that provides configuration management support for >350 production application. Many are internal, but there are many dozens of them that are client facing.

  • Share/Bookmark

Read full article | No Comments »

Weblogic 10.3 hangs on JNDI data source lookup during deployment

May 1st, 2009

I 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 [...]

  • Share/Bookmark

Read full article | No Comments »

Common Hibernate JPA Data Services Component

April 10th, 2009

I 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 [...]

  • Share/Bookmark

Read full article | No Comments »

PersistenceException issue with Cobertura and the hibernate3-maven-plugin

March 16th, 2009

I 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 [...]

  • Share/Bookmark

Read full article | No Comments »