Return-Path: Delivered-To: apmail-ibatis-dev-archive@www.apache.org Received: (qmail 84536 invoked from network); 5 Sep 2006 06:44:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Sep 2006 06:44:54 -0000 Received: (qmail 46976 invoked by uid 500); 5 Sep 2006 06:44:53 -0000 Delivered-To: apmail-ibatis-dev-archive@ibatis.apache.org Received: (qmail 46951 invoked by uid 500); 5 Sep 2006 06:44:53 -0000 Mailing-List: contact dev-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ibatis.apache.org Delivered-To: mailing list dev@ibatis.apache.org Received: (qmail 46933 invoked by uid 99); 5 Sep 2006 06:44:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 23:44:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 23:44:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0A189714317 for ; Tue, 5 Sep 2006 06:41:24 +0000 (GMT) Message-ID: <16042922.1157438484037.JavaMail.jira@brutus> Date: Mon, 4 Sep 2006 23:41:24 -0700 (PDT) From: "Datta Saru (JIRA)" To: dev@ibatis.apache.org Subject: [jira] Created: (IBATIS-342) Dynamic mapped statements......exceptions: Element "sqlMap" does not allow text. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dynamic mapped statements......exceptions: Element "sqlMap" does not allow text. -------------------------------------------------------------------------------- Key: IBATIS-342 URL: http://issues.apache.org/jira/browse/IBATIS-342 Project: iBatis for Java Issue Type: Task Components: SQL Maps Environment: WindowsXP,Myeclipse5.0,ibatis-common-2.jar,ibatis-dao-2.jar,ibatis-sqlmap-1-x.jar,ibatis-sqlmap-2.jar and Datbase as SAPDB Reporter: Datta Saru Attachments: errors.txt Hi all, I want to use Dynamic sqlmaps in my application, what jars i need to add to my classpath? This is my Employee.xml: and this is corresponding java code: String empNo = "4"; Employee emp = (Employee)sqlMap.executeQueryForObject( "getEmployee",empNo); System.out.println("Employee No = " + emp.getEmpNo()); System.out.println("Dept Name = " + emp.getDName()); System.out.println("Dept No = " + emp.getDeptNo()); System.out.println("EmpName = " + emp.getEmpName()); Plz suggest me some good tutorials on Dynamic sqlmaps with examples. The errors are attached -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira