Search in sources :

Example 1 with PersistedEntity

use of org.apache.tapestry5.internal.jpa.PersistedEntity in project tapestry-5 by apache.

the class JpaTest method trySomething.

@Test
public void trySomething() {
    ThingOne thingOne = new ThingOne();
    thingOne.setId(1);
    PersistedEntity entity = JpaInternalUtils.convertApplicationValueToPersisted(entityManagerManager, thingOne);
}
Also used : PersistedEntity(org.apache.tapestry5.internal.jpa.PersistedEntity) ThingOne(org.apache.tapestry5.jpa.test.entities.ThingOne) Test(org.testng.annotations.Test)

Aggregations

PersistedEntity (org.apache.tapestry5.internal.jpa.PersistedEntity)1 ThingOne (org.apache.tapestry5.jpa.test.entities.ThingOne)1 Test (org.testng.annotations.Test)1