Examples of AllFieldsTypeTest


Examples of org.apache.openjpa.persistence.kernel.common.apps.AllFieldsTypeTest

    }

    public void testBigDecimalsLoseTrailingZeros() {
        EntityManager pm1 = currentEntityManager();
        startTx(pm1);
        AllFieldsTypeTest aftt = new AllFieldsTypeTest();
        aftt.setId(1);
        aftt.setTestBigDecimal(new BigDecimal("5.760000"));
        pm1.persist(aftt);

        endTx(pm1);

        EntityManager pm2 = currentEntityManager();
View Full Code Here

Examples of org.apache.openjpa.persistence.kernel.common.apps.AllFieldsTypeTest

    }

    public void testBigDecimalsLoseTrailingZeros() {
        EntityManager pm1 = currentEntityManager();
        startTx(pm1);
        AllFieldsTypeTest aftt = new AllFieldsTypeTest();
        aftt.setId(1);
        aftt.setTestBigDecimal(new BigDecimal("5.760000"));
        pm1.persist(aftt);

        endTx(pm1);

        EntityManager pm2 = currentEntityManager();
View Full Code Here

Examples of org.apache.openjpa.persistence.kernel.common.apps.AllFieldsTypeTest

    public void testHashSet() {
        assertEquals(1, add(new Object[]{ "Foo" }, 1).getHashSet().size());
        assertEquals(1, add(new Object[]{ "Foo" }, 2).getHashSet().size());

        assertEquals(2, add(
            new Object[]{ "Foo", new AllFieldsTypeTest() }, 3)
            .getHashSet().size());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.