-
1. Re: DBUnit disappearing columns
bmajsak Oct 10, 2012 7:01 AM (in response to nickarls)Hi Nicklas,
that is very strange indeed. Can you share some details about the structure of data sets and tests you are executing? That would help me trying to reproduce the problem.
If the data sets are not that big how about trying another format to see if the problem remains?
-
2. Re: DBUnit disappearing columns
nickarls Oct 10, 2012 7:22 AM (in response to bmajsak)The excel is very simple (7 rows of 31 columns of data) and the columns are mapped correctly the first time it's lazily loaded. The test is a
@PersistenceContext
private EntityManager em;
@Test
@UsingDataSet("datasets/t_myy405.xls")
public void test()
{
Assert.assertEquals(7, em.createQuery("select a from Asetukset a", Asetukset.class).getResultList().size());
}
running against an AS7
-
3. Re: DBUnit disappearing columns
bmajsak Oct 10, 2012 7:25 AM (in response to nickarls)1 of 1 people found this helpfulWould it be possible to share it somehow?
-
4. Re: DBUnit disappearing columns
nickarls Oct 10, 2012 7:42 AM (in response to bmajsak)Thanks. Spammed you by email.
-
5. Re: DBUnit disappearing columns
nickarls Oct 29, 2012 6:34 AM (in response to nickarls)BTW, did you ever find time to look into it?
-
6. Re: DBUnit disappearing columns
bmajsak Oct 29, 2012 10:24 AM (in response to nickarls)Not yet, sorry... Hopefully will manage to work on it this week.