title: How to tell hibernate to ignore abstract method
body: <p>I have an abstract class and 2 classes that inherit from it. This class has an abstract method </p>
  
  <pre><code>@Transient
  public abstract String getFullName();
  </code></pre>
  
  <p>this methods should not be mapped into db. However it is causing a problem since I can not run my application. If I remove it everything works fine. So how do I tell hibernate to ignore this method.</p>
  
  <p>Implementing method is the same in both classes </p>
  
  <pre><code>@Transient
  @Override
  public String getFullName() {
      return this.getShot().getFullName() + "/" + this.getName();
  }
  </code></pre>
  
  <p>Abstract class is annotationed like so</p>
  
  <pre><code>@Entity
  @Table(name = "Components")
  @Inheritance(strategy = InheritanceType.SINGLE_TABLE)
  @DiscriminatorColumn(name = "Type", discriminatorType = DiscriminatorType.STRING)
  </code></pre>
  
  <p>other annotations are on the getter methods and they work fine. If I remove the abstract method that should not be put into db (hence transient) it all works fine. So my problem is with this abstract method above</p>
  
  <p>The error given to me is </p>
  
  <p>java.lang.RuntimeException: Exception constructing service 'ValueEncoderSource': Error invoking service contribution method org.apache.tapestry5.hibernate.HibernateModule.contributeValueEncoderSource(MappedConfiguration, boolean, HibernateSessionSource, Session, TypeCoercer, PropertyAccess, LoggerSource): Exception constructing service 'HibernateSessionSource': Error invoking constructor public org.apache.tapestry5.internal.hibernate.HibernateSessionSourceImpl(org.slf4j.Logger,java.util.List): Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]</p>
  
  <p>The underlining cause </p>
  
  <p>Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:105)
      ... 87 more
  Caused by: org.hibernate.PropertyNotFoundException: Could not find a setter for property fullName in class com.bomahabo.flow.domain.project.shot.ShotComponent
      at org.hibernate.property.BasicPropertyAccessor.createSetter(BasicPropertyAccessor.java:262)
      at org.hibernate.property.BasicPropertyAccessor.getSetter(BasicPropertyAccessor.java:255)
      at org.hibernate.mapping.Property.getSetter(Property.java:309)
      at org.hibernate.tuple.entity.PojoEntityTuplizer.buildPropertySetter(PojoEntityTuplizer.java:304)
      at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:156)
      at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:77)
      ... 92 more</p>
  
  <p>Any ideas? </p>