ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Prudzilko <aprud...@welho.com>
Subject Persitence Interface
Date Sun, 29 Oct 2006 19:50:47 GMT
Hello,

I have one interface Template and several Subclasses for it, 
AbstractTemplate, PageTemplate and so on.
They are all persisted in the same table though, distinguished by a 
column called "type".

I was wondering how I can tell ibatis to create instances of the right 
classes based on the column value.

My guess was creating a resultObjectFactory. But I can't find any good 
documentation on how to do this.

Any ideas?

- Andreas

Mime
View raw message