getting Stored Proc return code

2007-08-02 Thread lgothard
I'm using bean mapping and was wondering if there is a way get the return code from a stored proc without modifying the bean. Here's a bean example public class Insert { private String param; public void setParam(String param){this.param = param}; public String getParam() {return pa

Re: Result Map Issue

2007-08-02 Thread Brandon Goodin
Why don't you just handle that in your dao. public Account getAccount(Integer accountId) { Account account = sqlMapClient.queryForObject("getAccount",accountId); Profile profile = sqlMapClient.queryForObject("getProfile",Account account); account.setProfile(profile); return account; } Brandon O

This is not an urgent message :-) (non-xml config?)

2007-08-02 Thread Alex Shneyderman
But an important nevertheless: I wonder what are the options of configuring iBatis sqlMapClient non-xml way? Some documentation, tips, samples would be of great help. -- Thanks, Alex.

Query with SUBSTR and DESC.

2007-08-02 Thread Davy
I have a question. I have the following query which must be converted to Ibatis. But I don't know how I must write the SUBSTR and DESC in Ibatis private final String select1 = "SELECT refnumber, rownumber, begindate, enddate, officenumber, " + FROM " + ConnectDB.schema1 + ".office " +

Re: This is not an urgent message :-) (non-xml config?)

2007-08-02 Thread Jeff Butler
There are essentially no options for this now. The parser code does much more than parsing - there is a lot of validation and preparation work mixed in with the parse. It would be very difficult to separate those functions with the current code base. This is a high priority to fix in the next ve

Re: This is not an urgent message :-) (non-xml config?)

2007-08-02 Thread Shan Syed
Are you trying to create mappings dynamically, or protect your configuration from being tampered with or messed up? On 8/2/07, Alex Shneyderman <[EMAIL PROTECTED]> wrote: > > But an important nevertheless: > > I wonder what are the options of configuring iBatis sqlMapClient non-xml > way? > Some d

Re: This is not an urgent message :-) (non-xml config?)

2007-08-02 Thread Clinton Begin
I recently just added some "better" APIs for this. Unfortunately they're still not fantastic, but they're getting there. It's a slow refactoring process, because historically iBATIS was a purposely XML focused framework. The idea was to use this new API to offer new configuration options like a

Re: iBATIS Survey (10 Minutes)

2007-08-02 Thread Larry Meadors
Just one more step on the way to total global domination...nothing major. ;-) Larry On 8/2/07, ITVGuy2000 <[EMAIL PROTECTED]> wrote: > > I am curious, what are your findings? > > What are you up to? > > ITVGuy2000 > > > Clinton Begin wrote: > > > > Hi everyone, > > > > I've put together a simple

Re: iBATIS Survey (10 Minutes)

2007-08-02 Thread ITVGuy2000
I am curious, what are your findings? What are you up to? ITVGuy2000 Clinton Begin wrote: > > Hi everyone, > > I've put together a simple survey to help us set the direction for > future versions of iBATIS. > > Please fill it out to ensure that iBATIS remains or becomes the > product you wa