RE: Need Help with JNDI Connection

2006-04-17 Thread Voorhoeve, Niels {PBG}
Title: Need Help with JNDI Connection Looks like you need to specify the "DataSource" property.  My config looks like this:   dataSource> transactionManager> From: Ali

RE: Using Tortoise to get SVN

2006-04-11 Thread Voorhoeve, Niels {PBG}
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

RE: Complex property question

2006-03-20 Thread Voorhoeve, Niels {PBG}
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

Complex property question

2006-03-20 Thread Voorhoeve, Niels {PBG}
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

RE: Re: How to make dao's / vo's more polymorphic

2006-03-14 Thread Voorhoeve, Niels {PBG}
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

RE: ibatis and best practices

2006-03-03 Thread Voorhoeve, Niels {PBG}
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

RE: dynamic sql map

2006-01-11 Thread Voorhoeve, Niels {PBG}
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

RE: How to deal with a char column in select statement

2006-01-06 Thread Voorhoeve, Niels {PBG}
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

RE: Does Read/Write cache work?

2005-12-07 Thread Voorhoeve, Niels {PBG}
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

RE: Which is the current stable version? 2.15 or 2.1.6

2005-11-22 Thread Voorhoeve, Niels {PBG}
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

RE: Dynamic statement

2005-11-15 Thread Voorhoeve, Niels {PBG}
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

RE: Cacheing rowless queries?

2005-11-10 Thread Voorhoeve, Niels {PBG}
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

Cacheing rowless queries?

2005-11-10 Thread Voorhoeve, Niels {PBG}
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

RE: Same table, multiple sources

2005-11-08 Thread Voorhoeve, Niels {PBG}
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

Same table, multiple sources

2005-11-04 Thread Voorhoeve, Niels {PBG}
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

Like query...Char vs. Varchar issue?

2005-10-28 Thread Voorhoeve, Niels {PBG}
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

RE: Noclassdeffounderror

2005-10-24 Thread Voorhoeve, Niels {PBG}
: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

RE: Noclassdeffounderror

2005-10-24 Thread Voorhoeve, Niels {PBG}
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

RE: Namespaces for Select Attribute

2005-10-13 Thread Voorhoeve, Niels {PBG}
] 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

Namespaces for Select Attribute

2005-10-13 Thread Voorhoeve, Niels {PBG}
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

RE: cannot using a dollar sign in my maps

2005-10-12 Thread Voorhoeve, Niels {PBG}
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

RE: Junit / Ibatis Configuration Problem

2005-10-11 Thread Voorhoeve, Niels {PBG}
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

Junit / Ibatis Configuration Problem

2005-10-11 Thread Voorhoeve, Niels {PBG}
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