Re: using $value$ with collection property

2006-03-09 Thread Larry Meadors
Ted, I think if you use system naming on the 400, you can specify a library list in the connection string...if that helps. Larry On 3/9/06, Ted Schrader <[EMAIL PROTECTED]> wrote: > Hello, > > I'm having some trouble populating a collection property on my result > bean in an "iBATIS" way while u

Re: Log 4j prob

2006-03-09 Thread Larry Meadors
Hmmm, I just put it in WEB-INF/lib and it worked... On 3/9/06, Ben Munat <[EMAIL PROTECTED]> wrote: > I found, on Tomcat 5.5.*, that we *had* to put commons-logging.jar and > log4j-xxx.jar in > common/lib or logging simply wouldn't work at all. And yes, this did mean we > had to put a > log4j.pr

Re: [OT]logging using log4j

2006-03-09 Thread Larry Meadors
http://wiki.apache.org/logging-log4j/Log4jXmlFormat On 3/9/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > I am using ibatis for sql mapping in my web > application, i am also using log4j for logging, > I have a XML file which i load at startup where I > setup logging parameters and logging

Re: Transactions across multiple datasources / Resin

2006-03-09 Thread Christopher . Mathrusse
Yes I do have experience with this. I've implemented iBatis allowing Spring to be utilized as the framework and transaction management system utilizing an external Transaction Manager. It took a while for me to find all of the pieces so I hope this will help you. I'm using Tomcat 5.5 as my contai

Re: get the statement

2006-03-09 Thread Beemsterboer Software
Get the iBatis source and look inside the kitchen for the following class: com\ibatis\sqlmap\engine\execution\SqlExecutor As its name suggests, this class executes sql statements, e.g.: public void executeQuery(RequestScope request, Connection conn, String sql, Object[] parameters,

Transactions across multiple datasources / Resin

2006-03-09 Thread Reuben Firmin
Hello, Has anybody applied transaction rules across multiple datasources using Resin/Spring/Ibatis? I'm looking at the JtaTransactionManager that spring provides, which seems like it'll work, and will be experimenting with that today. If you have practical examples of setting this up, though,

Re: Log 4j prob

2006-03-09 Thread Ben Munat
I found, on Tomcat 5.5.*, that we *had* to put commons-logging.jar and log4j-xxx.jar in common/lib or logging simply wouldn't work at all. And yes, this did mean we had to put a log4j.properties in common\classes, but we just put a basic simple config in there... tomcat still honors the log4j.pr

RE: Log 4j prob

2006-03-09 Thread Engel, Gregory A
Thanks All. I'll check out the suggestions. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Larry Meadors Sent: Thursday, March 09, 2006 10:02 AM To: user-java@ibatis.apache.org Subject: Re: Log 4j prob Yes, that is correct - with tomcat, if you put the lo

Re: using $value$ with collection property

2006-03-09 Thread Ted Schrader
Yeah, "companyLibrary=someLibrary" didn't fly: com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in mycom/sqlmaps/OrderDetail.xml. --- The error occurred while applying a result map. --- Check the OrderDetail.orderDetailResult. --- Check the result mapping for the 'detail

[OT]logging using log4j

2006-03-09 Thread Ashish Kulkarni
Hi I am using ibatis for sql mapping in my web application, i am also using log4j for logging, I have a XML file which i load at startup where I setup logging parameters and logging levels, Can i use this XML file to setup ibatis logging parameters? Suppose i have to add following line log4j.logg

Re: using $value$ with collection property

2006-03-09 Thread Ted Schrader
Hi Niels, I thought of that, but didn't try it since $companyLibrary$ isn't a column, per se. I'll give it a whirl, nonetheless. Thanks, Ted On 09/03/06, Ted Schrader <[EMAIL PROTECTED]> wrote: > Hello, > > I neglected to state something important in my first message: I'm > using version 2.1.

Re: using $value$ with collection property

2006-03-09 Thread Ted Schrader
Hello, I neglected to state something important in my first message: I'm using version 2.1.5: >From release.txt: >> Build Date: 2005/07/17 20:58 >> Build Number: 582 >> >> -- >> 2.1.5 - July 17, 2005 >> -- Thanks, Ted On 09/03/06, Ted S

RE: using $value$ with collection property

2006-03-09 Thread Niels Beekman
Shot in the dark, but I think you should use something like the following: Niels -Original Message- From: Ted Schrader [mailto:[EMAIL PROTECTED] Sent: donderdag 9 maart 2006 16:30 To: user-java@ibatis.apache.org Subject: using $value$ with collection property Hello, I'm having some

using $value$ with collection property

2006-03-09 Thread Ted Schrader
Hello, I'm having some trouble populating a collection property on my result bean in an "iBATIS" way while using the $value$ idiom. I have an object structure like this: OrderDetailVO (order header info value object) OrderDetailVO.orderNum (String) OrderDetailVO.detailLines (List o

Re: get the statement

2006-03-09 Thread Nathan Maves
Lurtz, As of right now I don't believe that ibatis can do this. Feel free to open a JIRA request for this type of enhancement. Nathan On Mar 9, 2006, at 1:15 AM, Lurtz Ugluk wrote: I've see the log, and It's fine, but I want to store some especial INSERTS, UPDATES and DELETES that the appl

Re: Log 4j prob

2006-03-09 Thread Larry Meadors
Yes, that is correct - with tomcat, if you put the log4j.jar in common/lib (IMO that is a profoundly bad idea, btw), then you have to put the log4j.properties file in common/classes. A better place is with your webapp in WEB-INF/lib, then put the log4j.properties file in WEB-INF/classes. Larry

nullValue

2006-03-09 Thread Meindert
Hi there, I'm trying to use the NULL replacement while using a map that hasn't got the required parameter; I'm making a service that inserts data based on a XML Document - I won't add the XML element to my input XML If a field value is NULL - I put my XML elements straight into a map, =>the nul

RE: Log 4j prob

2006-03-09 Thread Meindert
I had a similar problem when the log4j jar was in the tomcat common lib (but then it was complaining about a other class logger) So would also think it got something to do with the place of your log4j jar/class path MEINDERT HOVING -Original Message- From: Richard Yee [mailto:[EMAIL PRO

Re: get the statement

2006-03-09 Thread Lurtz Ugluk
I've see the log, and It's fine, but I want to store some especial INSERTS, UPDATES and DELETES that the application is executing, to create a file with that especial statements. Have I read the log and get lines from it? hu Example select * from table FIELD = #field# iBatis knows if t