Incidentally, I’d like to offer you an example of how the lack of this capability is impacting my use of another Apache project…
I just mocked up a set of DAOs and SQLMaps using resultset objects created by XMLBeans, not realizing the problem with Factory creation vs. the newInstance method. XMLBeans are perfect for holding the results of my queries because the receiving application code can choose from a variety of xml or Java methods for data access. However, XMLBeans require object creation via a Factory and cannot be created via iBatis. For example, a PurchaseOrderDocument is created via PurchaseOrderDocument.Factory.newInstance(). Quite frustrating…
Just my 2 cents.
Joe Celentano |