Hi,

I upgraded from ojb0.9.5 to 1.0 rc4.
Some of my unit tests fail because sometimes foreign key values (1 - N relationship) 
are not stored :

Example : 
-------------------------
            // Create productgroup
            ProductGroup pg = new ProductGroupBean();
            pg.setGroupName("TESTPRODUCTGROUP");
            pg.setGroupDescription("DESCRIPTION");
            broker.store(pg);

            // Create 2 articles for this productgroup
            for (int j = 1; j <= 2; j++) {
                Article ar = new ArticleBean();
                ar.setArticleName("ARTICLE " + j);
                ar.setProductGroupId(pg.getGroupId());  -------> NOT stored in the 
database
                broker.store(ar);
            }

Is this a bug ?

Thanks,

Frank Renaers

Reply via email to