Re: Unit Testing DAOs

2011-02-04 Thread matt...@mustardgrain.com
On 2/4/11 1:49 PM, matt...@mustardgrain.com wrote: On 2/4/11 1:45 PM, Thiago H. de Paula Figueiredo wrote: On Fri, 04 Feb 2011 19:37:03 -0200, matt...@mustardgrain.com wrote: Hello, Hi! org.hibernate.MappingException: Unknown entity: com.mustardgrain.clientdailyupdate.entities.User

Re: Unit Testing DAOs

2011-02-04 Thread matt...@mustardgrain.com
On 2/4/11 1:45 PM, Thiago H. de Paula Figueiredo wrote: On Fri, 04 Feb 2011 19:37:03 -0200, matt...@mustardgrain.com wrote: Hello, Hi! org.hibernate.MappingException: Unknown entity: com.mustardgrain.clientdailyupdate.entities.User even though I'm using the i

Unit Testing DAOs

2011-02-04 Thread matt...@mustardgrain.com
Hello, I'm attempting to unit test my Hibernate DAOs and I haven't yet been successful in connecting to the database and adding an entity, although I believe I'm close to getting something successfully added. Currently my test looks like this: @Test public void userTest() { R