David Graham wrote:
--- Vic Cekvenich <[EMAIL PROTECTED]> wrote:

And.... even a simple DAO interface, to be used optionaly be people, so they can go back and forth from iBatis to Hibreante or what ever.


I started the Mapper project in the commons for this exact reason.  It
doesn't belong in Struts.

http://jakarta.apache.org/commons/sandbox/mapper/

David



I like the goal.


Thanks for the link, I looked at it.... but my idea was more of a utra simple CRUD DAO interface, taking Collections or XML as arguments. .. following the Sun DAO patern (what most people do) but simpler.

ex:
public interface OptionalDAO {
Document retrieveAsXML(Map arg); // so people can implement a DAO that executes a retrieve any way they please.
List retrieveAsList(Map arg);
boolean saveXML(Document arg); // so people can implement a DAO that saves any way they please.
boolean saveList(List arg);
void beginTran() ;
void endTran();


along those lines.
.V




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to