ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maomaode <maoma...@gmail.com>
Subject Abator - Generated beans extend a base model?
Date Wed, 05 Sep 2007 02:38:02 GMT
Hi,

I ready have a base model, and is it possible to generate the java beans 
and those beans extend the base model?

Let say i have a blog.post table, and abator will generate a Post bean, 
but most of the attributes in the Post, already exist in Entry class

So, I'm wondering, if it's possible to customize the generated Post 
bean, and generate a bean like this

public class Post extends Entry {
 ...
}

Thanks in advance,
James

Mime
View raw message