Sure…
But it’s a fastfix (it’s work for me), but it’s not a final solution.
*** mappedobject.vm.org Mon Sep 5 09:08:50 2005
--- mappedobject.vm Mon Sep 5 09:08:50 2005
***************
*** 17,28 ****
* by MyEclipse Hibernate tool integration.
*/
public abstract class $!{mappedObject.AbstractClassName}
- #if ($mappedObject.isSubClass())
- extends ${mappedObject.SuperClassName}
implements Serializable
- #else
- implements Serializable
- #end
{
#if ($mappedObject.hasPrimaryKey())
/** The cached hash code value for this instance. Settting to 0 triggers re-calculation. */
--- 17,23 ----
And if you don’t like redundant “implements Serializable” (I don’t)
*** mappedobjectsub.vm.org Mon Sep 5 09:08:50 2005
--- mappedobjectsub.vm Mon Sep 5 09:08:50 2005
***************
*** 5,11 ****
package $!{mappedObject.PackageName};
#end
- import java.io.Serializable;
/**
* A class that represents a row in the '${mappedObject.TableName}' table.
--- 5,10 ----
***************
*** 14,20 ****
*/
public class ${mappedObject.ClassName}
extends ${mappedObject.AbstractClassName}
- implements Serializable
{
/**
* Simple constructor of ${mappedObject.ClassName} instances.
--- 13,18 ----
Greetings.