Open GoogleCodeExporter opened 9 years ago
[deleted comment]
I think this is an interesting idea. The current implementation of the example
class works the way it does because of limitations in the dynamic XML tags. It
is somewhat better in MyBatis3 over iBatis2, but I tried to keep a consistent
API between the two.
There is certainly an opportunity with MyBatis3 to make things better. I do
think that what you describe is probably only possible with annotations/sql
providers, but it is worth looking into.
I'll spend some time thinking about this. Let me know your progress and feel
free to ask questions on the user list.
Original comment by jeffgbut...@gmail.com
on 9 Mar 2012 at 6:58
Effectivly, the solution presented dosen't work with XML and only work with
annotations and sql providers.
I know that you have to keep a consistant API. Perhaps, this new API could be
an option in the configuration file of the generator. So users will be able to
use the current API or the new one.
Original comment by flumi...@gmail.com
on 9 Mar 2012 at 7:16
Enclosed a proposal patch for an implementation for the fluent API.
I introduced a new type for the javaClientGenerator tag :
ANNOTATEDMAPPER_FLUENT.
Not sure this is a really good name, feel free to give me a new name. My
english is poor, and I'm not good in finding new names.
If you are interested in this API, I could work on the XML version of the API.
Do not hesitate to make feedbaks.
Original comment by flumi...@gmail.com
on 14 Jan 2013 at 3:00
Attachments:
Original issue reported on code.google.com by
flumi...@gmail.com
on 5 Mar 2012 at 4:29Attachments: