Hello, I'm trying to check the size of the return list in one of my
method in DAO. But it always return 0;
When executing "mvn test -Dtest=NameDaoTest" does it create and populate
new data in my database? I noticed that all my data in database is gone.
I guest it automatically call the "mvn hib
The tests rollback any transactions that modified data when you're in
the database. However, if you're only doing a get, it should work
fine. Does your sample-data.xml populate the database with 142,882
countries?
Matt
On Mon, Oct 19, 2009 at 2:07 AM, Nelson Biasura
wrote:
>
> Hello, I'm trying
Thanks Matt. I have heard of this thing called a "personal life" and I too
hope to experience it one day.
mraible wrote:
>
> The reason that AppFuse developer has stalled is mainly because I
> haven't had (or made) the time to work on it. I often have it on my
> "todo" list, but it drops to th
Hello all!
I have a strange error, I can't figure out the cause. Perhaps someone
has had the same problem once...
When I run my application with jetty (using mvn jetty:run-war)
everything works fine. When I deploy the war to Tomcat (5.5) I get a
NullPointerException in LocaleFilter in the line
"c
I've never seen this before. I would try remote debugging and see if that helps.
Matt
On Mon, Oct 19, 2009 at 2:25 PM, Arthur Erdös wrote:
> Hello all!
>
> I have a strange error, I can't figure out the cause. Perhaps someone
> has had the same problem once...
>
> When I run my application with
No, i don't use sample-data.xml to populate it. I populated my database
using sql file that i created
from mysqldump. What do you mean "if you're only doing a get, it should
work fine"?..
Thanks a lot Matt.
Matt Raible wrote:
The tests rollback any transactions that modified data when you're
By default, DbUnit does a CLEAN_INSERT, which means it wipes out your
data and populates your database with what's in sample-data.xml. If
you want to change this, modify the following property:
CLEAN_INSERT
Options are as follows:
http://mojo.codehaus.org/dbunit-maven-plugin/operation-mojo.html#