Marco Mistroni wrote:
not being a db whiz, i m not clear on what is the difference between creating this index as opposed tocreate a primary key...

anyone could help?
Does this work OK outside DBUnit? What is the exception and stack track? Just a tip regarding DBUnit, what I find often works in applications is to use something like an InitializingBean to seed the database (generally via the services layer, although by a JdbcTemplate etc would be fine as well), and then use AbstractTransactionalSpringContextTests to run your tests but not commit the changes they make. In applications I've been involved in, this largely avoids the need for heavy management of database state.

Cheers
Ben


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to