mraible wrote:
> 
> There's a jdbcTemplate available for you to query the database with.
> Matt
> 

Thx Matt,

Can I do it without go down on jdbcTemplate using only GenericManagers or
its extensions ?
Here a trace of my code:

public class AnamnesiTest extends BaseDaoTestCase{
   public void testSave() {
        GenericManager<StrutturaPsichiatricha, Long> 
strutturaPsichiatrichaManager
=  (GenericManager<StrutturaPsichiatricha, Long>)
applicationContext.getBean("strutturaPsichiatrichaManager");

...
        StrutturaPsichiatricha sp = new StrutturaPsichiatricha();
                        sp = strutturaPsichiatrichaManager.save(sp);
...

After the test execution the framework rollback all... 
Can I disable the rollback for the unittests ?



-- 
View this message in context: 
http://www.nabble.com/UnitTests-HowTo-Commit-tf4804294s2369.html#a13748544
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to