|
From: David S. <DS...@mi...> - 2007-04-05 14:15:47
|
I looked over the iBATIS API. One way to do this is to dynamically generate the SqlMapConfig.xml file in-memory, and then pass it on to com.ibatis.sqlmap.client.SqlMapClientBuilder. I was going to mention another way but after closer inspection of iBatis's configuration parsing code, it's not possible to completely do away with their xml file since there are some attributes which can't (easily if at all) bet set via get/set --ers; only via their XML configuration parsing code. If I manage to find the time one of these nights, I'll code up the in-memory XML file method for Spring and send a patch. I filed a feature request on this shortcoming with iBatis: https://issues.apache.org/jira/browse/IBATIS-416 ~ David Smiley Juergen Hoeller-2 wrote: > > This has been in consideration but we haven't looked at whether the iBATIS > API allows for doing these things programmatically yet. Feel free to check > this out and create an enhancement report in JIRA :-) > > Juergen > -- View this message in context: http://www.nabble.com/iBatis%2C-inline-SqlMapConfig-configuration--tf3529186.html#a9856660 Sent from the springframework-developer mailing list archive at Nabble.com. |