[jboss-user] [JBoss Seam] - Re: DBUnit Data

2008-01-12 Thread dhinojosa
I had the same exception. It was just misconfiguration. If you are using seam-gen Check: persistence-test.xml and make sure that the jta-data-source is correct as specified by the bootstrap. Make sure that the jboss.entity.manager.factory.jndi.name matches on the persistence-test.xml and

[jboss-user] [JBoss Seam] - Re: DBUnit Data

2007-11-07 Thread neilac333
As Stewie on Family Guy might say, "Victory is mine!" I discovered why the data was disappearing. As I said, the DBUnit Ant task was populating the database as I wanted, but something was happening when I ran my SeamTest, which retrieved that data through JPA. Well, the persistence unit throu

[jboss-user] [JBoss Seam] - Re: DBUnit Data

2007-11-06 Thread neilac333
This has nothing to do with the exception at hand, but I saw Christian wrote that certain methods in DBUnitSeamTest are tailored to HSQLDB. See here: http://docs.jboss.com/seam/2.0.0.CR3/api/org/jboss/seam/mock/DBUnitSeamTest.html However, I am using Oracle. Once I resolve this exception, with

[jboss-user] [JBoss Seam] - Re: DBUnit Data

2007-11-06 Thread neilac333
I'm still getting the same exception: | java.lang.RuntimeException: org.dbunit.dataset.DataSetException: java.net.MalformedURLException | at org.jboss.seam.mock.DBUnitSeamTest$DataSetOperation.(DBUnitSeamTest.java:170) | at org.jboss.seam.mock.DBUnitSeamTest$DataSetOperation.(DBU

[jboss-user] [JBoss Seam] - Re: DBUnit Data

2007-11-05 Thread neilac333
Actually, I did notice that in the wiki example. I gave DBUnitSeamTest a quick shot because of my disappearing data situation doing things the conventional way, but I kept getting a MalformedURLException wrapped in a DBUnit DatasetException. I was probably doing something silly with the path t

[jboss-user] [JBoss Seam] - Re: DBUnit Data

2007-11-05 Thread [EMAIL PROTECTED]
Have you seen that we have support for DBUnit SeamTests in Seam 2.0.0.GA? Its super easy to use (see the seamdiscs tests for an example, and its documented in the testing chapter). Actually, I've pretty much given up trying to write persistence tests without it. I also want to try to get some

[jboss-user] [JBoss Seam] - Re: DBUnit Data

2007-11-05 Thread neilac333
For some reason, the Ant target didn't come through. Here it is again: | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102010#4102010 Reply to the post :