Title: Need Help with JNDI Connection
Looks like you need to specify the "DataSource"
property. My config looks like this:
dataSource>
transactionManager>
From: Ali
Your network does not permit the PROPFIND operation. Talk to your
network admin.
-Original Message-
From: Erica Cody [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 2:50 PM
To: user-java@ibatis.apache.org
Subject: Using Tortoise to get SVN
I am having trouble getting the newest
e definition of
'PurchaseHdrAddr.getPurchaseHdrAddr_shipTo'?
This should definitely work...
Niels :)
-Original Message-----
From: Voorhoeve, Niels {PBG} [mailto:[EMAIL PROTECTED]
Sent: maandag 20 maart 2006 18:40
To: user-java@ibatis.apache.org
Subject: Complex property ques
Hi,
I have a class PurchaseHeader with several complex address properties
(shipToAddress, chargeToAddress, requestorAddress) that are all keyed by
PurchaseHeader.orderNo. I am trying to map the addresses to the correct
property, but Ibatis is complaining about my result map (see the result
map be
I beg to differ. I think one of the primary goals of OO is to make the
semantics of the object transparent, hence comprehensible, hence
reusable. Your approach completely negates that goal and in fact
obfuscates the code (unless you are the privileged programmer who wrote
it in the first place an
Yes.
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 2:15 PM
To: user-java@ibatis.apache.org
Subject: ibatis and best practices
Hi
Recently i had asked question about designing java
classes for resultset,
So if i have desgined my java clas
If you're asking the db server to create a prepared statement or stored
procedure with column names or table names as params, then it may not
work (definitely not in the case of table names). I tried that with
oracle once to no avail.
-Original Message-
From: Henry Lu [mailto:[EMAIL PROT
use the sql rtrim function in your query for the select and
the comparison.
From: Michael TALLET
[mailto:[EMAIL PROTECTED] Sent: Friday, January 06,
2006 10:09 AMTo: user-java@ibatis.apache.orgSubject: How
to deal with a char column in select statement
Hi,
I hav
There is a problem with the cache in the 2.1.5 release. It does not
properly cache null objects. Maybe that is the reason for your problem.
The version in SVN works for me, so maybe it will solve this issue for
you.
-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED] On Behalf Of
[E
I'm using the 2.1.6 SVN version and it's been working well for me.
Caching and all...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Larry Meadors
Sent: Tuesday, November 22, 2005 10:38 AM
To: user-java@ibatis.apache.org
Subject: Re: Which is the current
Try this:
Get rid of the last static 'AND'. Then put prepend="AND" in your dynamic
tag. Move the parentheses inside the dynamic tag. Hope it works.
SELECT -- (Omit)
FROM EH.BETS_PAYMENT p, EH.BETS_CORPORATION c, EH.BETS_ADDRESS a
WHERE p
non-result
from an empty result? I would find this super valuable. While you're at it,
I don't think caching
works unless you pass in parameters; I have MANY parameterless queries and I
haven't been able to
see them get cached yet (stay tuned).
--- "Voorhoeve, Niels {PBG}&quo
Hi,
How difficult / desirable would it be to code a feature in the cacheing
mechanism to keep track of queries that do not return any objects? In our
case, we end up hitting the database many times for queries that don't
return objects. It would be nice to check a cache of non-results to avoid
t
available. ;-)
public Dao getDao(Class iface, String contextId);
...
...
Larry
On 11/4/05, Voorhoeve, Niels {PBG} <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a situation where I need to read the same table from a couple of
> different servers. I'm using the ibatis dao fra
Hi,
I have a situation where I need to read the same table from a couple of
different servers. I'm using the ibatis dao framework on top of ibatis
sqlmaps. I've thought of a couple of solutions and was wondering what the
best practice is?
1.
a. Copy the sqlmap config file for the tabl
I've got a problem with the following config below.
I am testing with a UserCostCenterDept object with the userId set as a
param. When I pass in an object with the costCenter property set and dept
null, it formulates the query but returns no row. On the other hand, if the
department is set and
:47 PM
To: user-java@ibatis.apache.org
Subject: RE: Noclassdeffounderror
Should I import the jar files into my web-inf/lib?
Mithra Rajah
-Original Message-
From: Voorhoeve, Niels {PBG} [mailto:[EMAIL PROTECTED]
Sent: Monday, October 24, 2005 4:41 PM
To: user-java@ibatis.apache.org
Your application server's WEB-INF/lib directory. That's the usual location
for jar deployment.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, October 24, 2005 4:35 PM
To: user-java@ibatis.apache.org
Subject: RE: Noclassdeffounderror
I don't understa
]
Sent: Thursday, October 13, 2005 3:06 PM
To: user-java@ibatis.apache.org
Subject: Re: Namespaces for Select Attribute
Just a sanity check - did you put useStatementNamespaces="true" in
your main config?
On 10/13/05, Voorhoeve, Niels {PBG} <[EMAIL PROTECTED]> wrote:
> Hey
Hey All,
I was hoping that I would be able to use the namespace feature to refer to a
select in another file. Apparently this is not doable.
Would it be hard to implement? Would it cause potential problems with
circular dependencies (resultmap -> select -> resultmap)?
Niels
In PurchaseHeader
I think Ibatis treats ${} as dynamic sql value and interprets it. But you
would think the CDATA would take care of that. Maybe if you escape it?
-Original Message-
From: Steven Pannell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 12, 2005 11:49 AM
To: user-java@ibatis.apache.org
rName#
supplier_no = #supplierNo#
-Original Message-
From: Voorhoeve, Niels {PBG} [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 11, 2005 11:44 AM
To: user-java@ibatis.apache.org
Subject: Junit / I
Hi,
I'm having trouble using junit to test my ibatis setup. I am able to run
'static void main' tests within Eclipse with no problem. However when I run
the same test within Junit it fails. It seems that Ibatis has trouble
parsing the configuration files when run via Junit and generates tons of
23 matches
Mail list logo