Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.2
Mapping documents:
@Entity
@Inheritance(strategy = InheritanceType.JOINED)
abstract public class Exposure implements Serializable {
......
protected List<BetOption> betOpList;
......
}
@Entity
public class ExposureNew extends Exposure
@Entity
public class ExposureCommited extends Exposure
Name and version of the database you are using:
MySql 5.0
I'd like to Convert and exsiting(in database) instant of Type ExposureNew to that of ExposureCommited .
that means delete record in table ExposureNew
insert record to table ExposureCommited
leave record in table Exposure no changed...
How can i do this?