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
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
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.
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 " +
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
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
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
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
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