Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 4317 invoked from network); 14 Nov 2006 14:42:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2006 14:42:57 -0000 Received: (qmail 62833 invoked by uid 500); 14 Nov 2006 14:43:04 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 62821 invoked by uid 500); 14 Nov 2006 14:43:04 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 62808 invoked by uid 99); 14 Nov 2006 14:43:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 06:43:04 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jeffgbutler@gmail.com designates 64.233.184.226 as permitted sender) Received: from [64.233.184.226] (HELO wr-out-0506.google.com) (64.233.184.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 06:42:51 -0800 Received: by wr-out-0506.google.com with SMTP id i22so75041wra for ; Tue, 14 Nov 2006 06:42:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=XZFI8RjMzXQrJGc8+xViI8RCgqMj5rpqEcIBGKI0xIwTPdLu/YnaHs/ImqDEF+5NFDEHp3Hx/Set2wiVvnstWo/lqWwpxZgP1o704YxYiH+lGai+BY59jfgcUnrlIv0KIswMFM6dFU967DPzpwYbg+EHrz2EOP+ltpDuiECTAE8= Received: by 10.78.204.7 with SMTP id b7mr1128368hug.1163515348909; Tue, 14 Nov 2006 06:42:28 -0800 (PST) Received: by 10.78.153.17 with HTTP; Tue, 14 Nov 2006 06:42:28 -0800 (PST) Message-ID: Date: Tue, 14 Nov 2006 08:42:28 -0600 From: "Jeff Butler" To: user-java@ibatis.apache.org Subject: Re: Simple questions In-Reply-To: <7334384.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8089_7181007.1163515348727" References: <7334384.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_8089_7181007.1163515348727 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Please stop asking the same question over and over again. 1. Please read the developer's guide regarding N+1 queries and complex properties 2. Do you have a question about multiple databases, or is this just a statement of fact? Jeff Butler On 11/14/06, soussou97 wrote: > > > Hi; > > 1-/ How implement the call to get only one object matching a catID in > using > example : > > CategorisedProductList with properties > Category cat; > List prodList; > > is like this : return (CategorisedProductList ) > queryForObject("getCategorisedProduct", catID) ? > > 2-/ My DAO use 3 databases with JDBC connection: 2 with Mysql and a Oracle > and I search a configuration example for multiple databases. I know that > it > is necessary to use 3 contexts in the the dao.xml file and 3 > sql-map-config.xml files. > > regards; > > > > > -- > View this message in context: > http://www.nabble.com/Simple-questions-tf2628323.html#a7334384 > Sent from the iBATIS - User - Java mailing list archive at Nabble.com. > > ------=_Part_8089_7181007.1163515348727 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Please stop asking the same question over and over again.
 
1. Please read the developer's guide regarding N+1 queries and complex properties
 
2. Do you have a question about multiple databases, or is this just a statement of fact?
 
Jeff Butler

 
On 11/14/06, soussou97 <dboussebha@yahoo.fr> wrote:

Hi;

1-/ How implement the call to get only one object matching a catID in using
example :

CategorisedProductList with properties
Category cat;
List<Product> prodList;

is like this : return (CategorisedProductList )
queryForObject("getCategorisedProduct", catID) ?

2-/ My DAO use 3 databases with JDBC connection: 2 with Mysql and a Oracle
and I search a configuration example for multiple databases. I know that it
is necessary to use 3 contexts in the the dao.xml file and 3
sql-map-config.xml files.

regards;




--
View this message in context: http://www.nabble.com/Simple-questions-tf2628323.html#a7334384
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


------=_Part_8089_7181007.1163515348727--