org.tynamo.jpa.internal
Class EntityPersistentFieldStrategy
java.lang.Object
org.apache.tapestry5.internal.services.AbstractSessionPersistentFieldStrategy
org.tynamo.jpa.internal.EntityPersistentFieldStrategy
- All Implemented Interfaces:
- org.apache.tapestry5.services.PersistentFieldStrategy
public class EntityPersistentFieldStrategy
- extends org.apache.tapestry5.internal.services.AbstractSessionPersistentFieldStrategy
Persists Hibernate entities by storing their id in the session.
- See Also:
PersistedEntity
| Methods inherited from class org.apache.tapestry5.internal.services.AbstractSessionPersistentFieldStrategy |
didReadChange, discardChanges, gatherFieldChanges, postChange |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityPersistentFieldStrategy
public EntityPersistentFieldStrategy(javax.persistence.EntityManager entityManager,
org.apache.tapestry5.services.Request request)
convertApplicationValueToPersisted
protected Object convertApplicationValueToPersisted(Object newValue)
- Overrides:
convertApplicationValueToPersisted in class org.apache.tapestry5.internal.services.AbstractSessionPersistentFieldStrategy
convertPersistedToApplicationValue
protected Object convertPersistedToApplicationValue(Object persistedValue)
- Overrides:
convertPersistedToApplicationValue in class org.apache.tapestry5.internal.services.AbstractSessionPersistentFieldStrategy
Copyright © 2009-2010. All Rights Reserved.