Package ejava.examples.orm.core.mapped
Class Tank
- java.lang.Object
-
- ejava.examples.orm.core.mapped.Tank
-
public class Tank extends Object
This class an example of what to do with extra getter/setter fields (or fields) that should not be considered part of the persistence. The getMakeModel() convenience method will cause processing to fail because there is no matching setter(). Marking it with Transient in the orm.xml file fixes this.