Using Ibatis when all setter functions are not available

A place to discuss the implementation and style of computer programs.

Moderators: phlip, Moderators General, Prelates

User avatar
Afif_D
Posts: 184
Joined: Wed Oct 06, 2010 2:56 pm UTC

Using Ibatis when all setter functions are not available

Postby Afif_D » Sun Jul 05, 2015 6:32 am UTC

Consider the following situation:
class X
{
private int a;
private int b;
private int c;

public setA(int a)
{
this.a=a
}

public setBC(int b,int c)
{
this.b=b;
this.c=c;
}
};

Can I use ibatis in this scenario where the TABLE is of form
a INT
b INT
c INT
?

How will the xml files be defined? How will the queries be written?
Image

Return to “Coding”

Who is online

Users browsing this forum: No registered users and 10 guests