There's a jdbcTemplate available for you to query the database with.

Matt

On Nov 14, 2007 4:15 AM, Campa <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> I'd like to have unit test that commit something to the DB,  as default
> seems they never commit.
> I'm right ?
>
> I see the message:
>
> [webCps] INFO [main] AnamnesiTest.startNewTransaction(323) | Began
> transaction (1): transaction manager
> [EMAIL PROTECTED]; default rollback
> = true
>
> How I can have some test committing ?
>
> I'm using JPA, my test extends org.appfuse.dao.BaseDaoTestCase
>
> Thanks in advance.
> Stefano
>
> --
> View this message in context: 
> http://www.nabble.com/UnitTests-HowTo-Commit-tf4804294s2369.html#a13744515
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to