Is there a recommend way to extend everything so I wouldn't have edit source files? For instance I have a table called "actor" and the generated class is "Actor". Everything is cool but I need to override Actor.equals(), so I was thinking of making a ActorCustom extends Actor class so I don't have to touch Actor, but the _SqlMap.xml still will be referencing Actor. I'm already extending the DAO to prevent this, but not sure how to do it with the _SqlMap.xml file. Any pointers?

On Feb 28, 2008, at 3:28 PM, Jeff Butler wrote:

Members added to Java files are preserved with the Eclipse plugin only. So you would need to rebuild the plugin to make this work. Outside of Eclipse, you have to do a manual merge.

Some day I'll learn Antlr and fix this for good! It's just too easy in Eclipse :)

Jeff Butler



On Thu, Feb 28, 2008 at 12:23 PM, Jared Blitzstein <[EMAIL PROTECTED] > wrote:
(Sorry if this is a repost (or possibly a 3 post), something is messed
up with my out going email but I think I fixed it)

I'm pretty sure adding methods in the generated spring DAO impl/
interface in the current abator release were preserved when you
regenerated, but they're not being preserved when doing a regen from
trunk. Can anyone confirm if that is what is supposed to happen?


Reply via email to