You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adam Fisk <af...@speedymail.org> on 2004/09/22 06:52:35 UTC

maven hibernate testing

Does anyone have any advice on hibernate testing with Maven?  I'd like 
to do as much testing outside a container as possible (as little Cactus 
as possible), testing the majority of my code that is not dependent on 
containers.  I've read Eric Pugh's piece at:

http://www.hibernate.org/123.html

but it's pretty dated at this point.  I've also looked at Eric's 
hibernate plugin.  I'm a little new to hibernate and J2EE programming 
generally, so I'm just looking for any words of advice to point me in 
the write direction.  I've glanced at dbunit as well.  Does the path 
Eric suggests in the above link still make sense?

Thanks folks.

-Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: maven hibernate testing

Posted by Carlos Sanchez <ap...@carlos.cousas.net>.
Hi,

I use it. With Spring and DBUnit it's pretty straightforward.

Regards

Carlos Sanchez
A Coruña, Spain
http://www.jroller.com/page/carlossg/Weblog

Oness Project
http://oness.sourceforge.net


> -----Original Message-----
> From: Konstantin Priblouda [mailto:kpriblouda@yahoo.com] 
> Sent: Wednesday, September 22, 2004 9:51 AM
> To: Maven Users List
> Subject: Re: maven hibernate testing
> 
> 
> --- Adam Fisk <af...@speedymail.org> wrote:
> 
> > Does anyone have any advice on hibernate testing with 
> Maven?  I'd like 
> > to do as much testing outside a container as possible (as little 
> > Cactus as possible), testing the majority of my code that is not 
> > dependent on containers.  I've read Eric Pugh's piece at:
> 
> I do it all the time. It's really piece of cake.
> I'm using picocontainer, and it's pretty easy to setup it 
> with all my DAOs & configs. 
> 
> Even without pico you could create base test class which rigs 
> up hibernate infrastructure. 
> 
> I found it pretty usefull to use hypersonic as database ( 
> where possible ) 
> 
> regards,
> 
> =====
> ----[ Konstantin Pribluda ( ko5tik ) ]---------------- Zu 
> Verstdrkung meines Teams suche ich ab Sofort einen 
> Softwareentwickler[In] f|r die Festanstellung. 
> Arbeitsort: Mainz
> Skills:  Programmieren, Kenntnisse in OpenSource-Bereich 
> ----[ http://www.pribluda.de ]------------------------
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven hibernate testing

Posted by Konstantin Priblouda <kp...@yahoo.com>.
--- Adam Fisk <af...@speedymail.org> wrote:

> Does anyone have any advice on hibernate testing
> with Maven?  I'd like 
> to do as much testing outside a container as
> possible (as little Cactus 
> as possible), testing the majority of my code that
> is not dependent on 
> containers.  I've read Eric Pugh's piece at:

I do it all the time. It's really piece of cake.
I'm using picocontainer, and it's pretty easy to setup
it with all my DAOs & configs. 

Even without pico you could create base test class
which rigs up hibernate infrastructure. 

I found it pretty usefull to use hypersonic as
database 
( where possible ) 

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programmieren, Kenntnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org