I have an existing ibatis infrastructure and I would like to integrate smartGWTEE into it. Has this been done before? I would appreciate any guidance on this.
thanks
I have an existing ibatis infrastructure and I would like to integrate smartGWTEE into it. Has this been done before? I would appreciate any guidance on this.
thanks
Hi spike00lee,
The best reference for this is the ORM DataSource example. Note that to really fulfill the DataSource protocol, which allows ad-hoc querying on every field, you might have some serious issues with Ibatis (where queries are specified in advance).
You might have to have a big library of possible Ibatis queries covering all the cases, or use Ibatis limited conditionals to remove parts of the query.. all in all, vastly more work than SQL Templating with the SQL DataSource, which you might consider, since you can most likely copy and paste your Ibatis queries as SQL templates and simplify things considerably.