I like iBatis and have been contemplating creating something similar to
Stripersist for iBatis. I've got something very primitive at the moment but
it does work in a simple use case. I need to do some testing in a multiuser
environment (aka, webapp) but it works almost identical to Stripersist with
2 exceptions:
1. I don't create TypeConverters for entities automatically. This would
involve parsing the config file to find all the entities and then parsing
the entity xml files to find the classes. Too much for me to do right now.
2. iBatis uses checked exceptions so I'm considering wrapping all the
sqlMapClient methods into Striperbater and throwing runtime exceptions
instead.
One other thing I need to do is pick up the location of the SqlMapConfig
file on a per project bases. right now its name and location are hardcoded
to be SqlMapConfig.xml at the root of the classpath. While I think this is
perfectly ok, others might not.
Here you can see how similar its use is to Stripersist.
http://gist.github.com/58261
If anyone is interested in this, let me know. I'll try and package
something up in the next couple of days.
Gregg
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users