Looks like a bug.but I can't believe nobody has hit it before.Can you create a JIRA issue for it?Cheers,ClintonOn 10/26/06,
Reuben Firmin <[EMAIL PROTECTED]> wrote:
I have the following code:public class Buyer{...private Address mailingAddress;...public class Address{private List a
Hi, All,
I am a newer to ibatis And met some
problems when I deal with one-to-many relationship.
There are two classes:
public class Order {
private int
id;
private double
total;
private Set orderLineItems = new
HashSet();
}
public class OrderLineItem
{
private
iBATIS doesn't try to solve this problem (well, the DAO framework used to, but that was just deprecated).I strongly suggest you look at Spring before writing your own.Cheers,Clinton
On 10/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
One more question, in a servlet environment where threads a
Hi,I had a similar problem with timestamps and ended up solving the problem by using an Oracle function in the select statement to convert the timestamp to a string. This solution may work for you depending on the capabilities of the database you are using.
CheersMichaelOn 23/10/06, Chema <[EMAIL P
I have the following code:
public class Buyer
{
...
private Address mailingAddress;
...
public class Address
{
private List addressLine;
...
public List getAddressLine()
{
In my insert statement, I'm addressing this as:
#mailingAddress.addressLine[0]#, #mailingAddress.addre
One more question, in a servlet environment where threads are reused to serve requests, am I obliged to demarcate transactions (so that connections are acquired and released properly) or are there any sort of provisions in iBATIS to solve this problem? I'm wondering if I'd need to build a front con
Yes.
Larry
On 10/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Maybe I haven't understood the architecture then. What will happen when I
perform
startTransaction()/commitTransaction()/endTransaction() or
getCurrentConnection() in a SqlMapClient object, what's happening? Is iBATIS
holding
Maybe I haven't understood the architecture then. What will happen when I perform startTransaction()/commitTransaction()/endTransaction() or getCurrentConnection() in a SqlMapClient object, what's happening? Is iBATIS holding ThreadLocal instances itself to make things work in a multi-threaded appl
You can keep it as a singleton, using either spring or a static
variable somewhere.
There is no need to keep it in a threadlocal variable.
Larry
On 26 Oct 2006 19:34:28 -, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
Is there a way to avoid reparsing the configuration file every time a
Is there a way to avoid reparsing the configuration file every time a
SqlMapClient object is needed? From my understanding, a construct such as:
Reader reader = Resources.getResourceAsReader("sqlMap-config.xml");
SqlMapClient sqlMap = SqlMapClientBuilder.buildSqlMapClient(reader);
is needed to
I'm not a commiter so I don't if my opinion is going to be taken into
account, but +1 !
Clinton Begin escribió:
Hi all,
I'd like to suggest that we deprecate the PaginatedList interface, all
implementations of it, and the SqlMapClient methods that use it.
Why?
1. It's currently overused
I have this persistente layer:
mydomain.persistence where I have ifaces and
implementation of DAOs. One DAO from each Class of my business. In addition it
has the XML needed by iBatis.
I have business beans in different proyects (jars).
Then iBatis must have these jars. OK.
Well, t
12 matches
Mail list logo