0 Replies Latest reply on Jan 11, 2008 5:06 PM by d-rock

    Can someone clarify SINGLE_TABLE inheritance behavior?

      If I have the following hierarchy:

      public abstract class A {...}

      public class B extends A {...}

      public class C extends A {...}

      Should I be able to take an instance from the DB that maps to type B and resave it as type C? I'm using JPA so this would be a merge. I'm thinking I'm going to have to delete the existing instance and then insert the new instance, but I wanted to see if Hibernate could handle that in some fashion.

      Thanks,

      Derek