Can ibatis work with java object with constructor have parameters?

2007-01-05 Thread Carfield Yim
I like to pass something to the object while initalization, can I specific about that?

RE: Enhanced ResultObjectFactory

2007-01-05 Thread Goga, Murtaza
I have created IBATIS-382 for this with patches and comments. Thanks. From: Goga, Murtaza [mailto:[EMAIL PROTECTED] Sent: Thursday, January 04, 2007 10:39 PM To: user-java@ibatis.apache.org Subject: Enhanced ResultObjectFactory Importance: Low We are atte

Re: Ibatis performance vs JDBC

2007-01-05 Thread Clinton Begin
Very strange. There's nothing I can think of off hand. As you've noted, iBATIS doesn't do anything special, it just makes the call. Cheers, Clinton On 1/5/07, Tegan Clark <[EMAIL PROTECTED]> wrote: Group, I've been doing some due-diligence performance comparisons between JDBC and iBATIS and

RE: Handle to ResultSet

2007-01-05 Thread Yee, Richard K CTR DMDC
Can you tell us what 'post-processing' you need to do on the result set? -Richard -Original Message- From: Satish Kumar [mailto:[EMAIL PROTECTED] Sent: Friday, January 05, 2007 4:34 PM To: user-java@ibatis.apache.org Subject: Re: Handle to ResultSet I did see that entry, but the examp

Re: Handle to ResultSet

2007-01-05 Thread Satish Kumar
I did see that entry, but the example provided there maps the resultSet to a resultMap. I need the handle to the raw ResultSet. Thanks for your reply. Rgds Satish - Original Message From: Jan Vissers <[EMAIL PROTECTED]> To: user-java@ibatis.apache.org Sent: Friday, January 5, 2007 3:41

Re: Handle to ResultSet

2007-01-05 Thread Jan Vissers
Note sure whether you followed this Wiki entry: http://opensource.atlassian.com/confluence/oss/pages/viewpage.action?pageId=5653 > Hi, > > I am a new user of iBATIS Ver 2.3.0. I have a requirement to get the > handle to the ResultSet from iBATIS for post-processing. > > The ResultSet is from a Or

Ibatis performance vs JDBC

2007-01-05 Thread Tegan Clark
Group, I've been doing some due-diligence performance comparisons between JDBC and iBATIS and everything has pared out as I would expect (iBATIS has a very small overhead), other than in one case where I call an Oracle stored procedure that takes an Oracle custom type I set in a type handl

RE: Problems in Collapsing Tree Nodes in Myfaces1.1

2007-01-05 Thread Yee, Richard K CTR DMDC
I think you sent this to the wrong mailing list. -Richard -Original Message- From: Jambunathan, Akilaprasad (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Friday, January 05, 2007 11:59 AM To: user-java@ibatis.apache.org Subject: Problems in Collapsing Tree Nodes in Myfaces1.1 Greetin

Problems in Collapsing Tree Nodes in Myfaces1.1

2007-01-05 Thread Jambunathan, Akilaprasad \(Cognizant\)
Greetings, We are facing some issues in collapsing the nodes of the tree in JSF. We are presently using myfaces1.1 and we have seen that higher versions do have a function named toggleexpanded(). Please let us know if there are ways to contract all the tree nodes. Eagerly Awaiting Your Reply,

Handle to ResultSet

2007-01-05 Thread Satish Kumar
Hi, I am a new user of iBATIS Ver 2.3.0. I have a requirement to get the handle to the ResultSet from iBATIS for post-processing. The ResultSet is from a Oracle Ref Cursor returned by a stored procedure. I followed the examples mentioned on the iBATIS Wiki and mailing lists, but have not had s

Re: Caching by pre-loading

2007-01-05 Thread James Johnson
I'll look into the partial preload idea (currently using LRU). Sounds like it could give the performance needed on common first requests. Thanks for the suggestion. On 1/5/07, Poitras Christian <[EMAIL PROTECTED]> wrote: Maybe you can just use LRU caching. If requests are often alike, you won'

Re: R: iBatis Book - Lazy Loading Description

2007-01-05 Thread Clinton Begin
If you buy it from the Manning site, you get the paperback and the PDF (I like reading paper, but I like the PDFs for searching). http://manning.com/begin/ Cheers, Clinton On 1/5/07, Niels Beekman <[EMAIL PROTECTED]> wrote: Thanks! I'll look into it this weekend. Niels -Original Message

R: SqlMapClient multithread applications

2007-01-05 Thread De Gaetano Giuseppe
Hi, may be I wasn't clear enough. With concurrency I meant2 threads each doing the following operations: 1. Start transaction. 2. insert row 3. insert another row 4. commit/rollback transaction In this situation is the transaction isolation guaranteed? > Is there any best practice? == speed up a

Re: Data insertion into Parent and Child table -- How to do this while batch insert in IBatis

2007-01-05 Thread Larry Meadors
IIRC, your batch will be lots faster in a transaction, and if you do this: start transaction insert parent start batch insert children end batch end transaction I think you'll be OK. Larry On 1/5/07, Deepinder <[EMAIL PROTECTED]> wrote: Hi, Is it possible to insert data into a

Re: SqlMapClient multithread applications

2007-01-05 Thread Larry Meadors
On 1/5/07, De Gaetano Giuseppe <[EMAIL PROTECTED]> wrote: If the application is multithread and each thread uses the same client will I have some problem? Should be fine. Is the iBatis engine handling the concurrency or should I care? What type of concurrency? If two threads update the sam

RE: R: iBatis Book - Lazy Loading Description

2007-01-05 Thread Niels Beekman
Thanks! I'll look into it this weekend. Niels -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: vrijdag 5 januari 2007 16:00 To: user-java@ibatis.apache.org Subject: Re: R: iBatis Book - Lazy Loading Description There are a two sample c

Re: R: iBatis Book - Lazy Loading Description

2007-01-05 Thread Larry Meadors
There are a two sample chapters on the manning site: http://manning.com/begin/sample-ch01.pdf http://manning.com/begin/sample-ch02.pdf Not surprising for those who can read - those are chapters 1 and 2. ;-) Allegedly, it is supposed to be available in print next Friday. I'll believe it when I s

RE: R: iBatis Book - Lazy Loading Description

2007-01-05 Thread Niels Beekman
Haven't seen this book announced on the list, thanks for the pointer. Would it be possible to include some sample pages? See http://www.amazon.com/gp/help/customer/display.html/104-6705021-0612705?ie=UTF8&nodeId=200038060 Thanks, Niels -Original Message- From: [EMAIL PROTECTED] [mailto

Re: R: iBatis Book - Lazy Loading Description

2007-01-05 Thread Larry Meadors
You can get the paperback version here: http://www.amazon.com/gp/product/1932394826?ie=UTF8&tag=ai0e-20&link_code=as3&camp=211189&creative=373489&creativeASIN=1932394826 Larry On 1/5/07, De Gaetano Giuseppe <[EMAIL PROTECTED]> wrote: Hi, I am also new to ibatis. I would like to know the

Data insertion into Parent and Child table -- How to do this while batch insert in IBatis

2007-01-05 Thread Deepinder
Hi, Is it possible to insert data into a parent table and then use the generated primary key to insert into a child table. I need to do this during a batch insert as it is necessary(performance). Thanking you for any lead that may be provided in solving this problem.(I spent a day , on

RE: Caching by pre-loading

2007-01-05 Thread Poitras Christian
Maybe you can just use LRU caching. If requests are often alike, you won't even need to question yourself as long as the cache size is large enough. If you must preload your employees, maybe running many "select * from employee where id=#id#" at startup with most used ids will give you better res

SqlMapClient multithread applications

2007-01-05 Thread De Gaetano Giuseppe
Hi, I am coding a java multithread application. In my application I have the following object which needs to load the configuration files from a path not specified in the classpath end build an SqlMapClient. The Hashtable is used for: * cache the clients and avoid the building of a new

Re: Returning multiple resultsets from Oracle 10g

2007-01-05 Thread puneet arya
hi, use ResultMap for that... Puneet Arya.. - Original Message From: "Nikesh, Kishlay" <[EMAIL PROTECTED]> To: "user-java@ibatis.apache.org" ; Java Discussion <[EMAIL PROTECTED]> Sent: Friday, 5 January, 2007 3:39:28 PM Subject: Returning multiple resultsets from Oracle 10g Hell

Re: Returning multiple resultsets from Oracle 10g

2007-01-05 Thread puneet arya
- Original Message From: "Nikesh, Kishlay" <[EMAIL PROTECTED]> To: "user-java@ibatis.apache.org" ; Java Discussion <[EMAIL PROTECTED]> Sent: Friday, 5 January, 2007 3:39:28 PM Subject: Returning multiple resultsets from Oracle 10g Hello, If we don't want to use stored procedures, is an

Returning multiple resultsets from Oracle 10g

2007-01-05 Thread Nikesh, Kishlay
Hello, If we don't want to use stored procedures, is anyone aware of any way through which multiple resultsets could be returned in JDBC statements with Oracle 10g as database? Thanks in advance, Nikesh

AW: iBatis Book - Lazy Loading Description

2007-01-05 Thread Schmitz, Frank
Hi Giuseppe, he's using Ibatis in Action. I just bought the ebook (pdf) and for what i read by now its great, also on using "best practices" (apart from ibatis). Cheers, Frank -Ursprüngliche Nachricht- Von: De Gaetano Giuseppe [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 5. Januar 2007

R: iBatis Book - Lazy Loading Description

2007-01-05 Thread De Gaetano Giuseppe
Hi, I am also new to ibatis. I would like to know the title of the book you are using. I am interested in buying iBatis in action. Have you read this book. Thanks, giuseppe Da: Kuntz, Tim [mailto:[EMAIL PROTECTED] Inviato: venerdì 5 gennaio 2007 3.24