All procedure, insert, update, select, etc statements that represent a sql 
operation go under the "statements" node.

  _____  

From: Paolo del Mundo [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 05, 2007 5:51 PM
To: [email protected]
Subject: Question about IBatis Documentation



Hi,

 

I am new to IBatis and am a little bit confused with some of the documentation. 
Any help would be greatly appreciated.

 

When looking for examples on the SqlMap.config mapper files, I am often 
presented with a xml snippet such as below:

 

            <procedure id="Function_Name" parameterMap="Function-Params">

                  Function_name           

            </procedure>

 

I am confused because, although it tells me how to use the code snippet, it 
doesn't tell me where to put it in the mapper file (what is <procedure>'s 
parent?). Does anyone else have this problem? I find it very frustrating not 
knowing where to put that code snippet. 

 

Paolo

 

  _____  

From: Michael McCurrey [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 05, 2007 12:26 PM
To: [email protected]; [EMAIL PROTECTED]
Subject: RE: Embedded SqlMap.config

 

I am able to use an embedded SQLMap.config file with "just" the datamapper.  
However, it appears that DataAccess chokes when the dao.config attempts to load 
an embedded SqlMap.confg

 

Michael J. McCurrey

USA Digital Solutions, Inc.

602.866.8199

 

- The scientific name for an animal that doesn't either run from or fight its 
enemies is lunch. 

 

 

  _____  

From: Germán Ubillos [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 05, 2007 9:10 AM
To: [email protected]
Subject: Re: Embedded SqlMap.config

Hi Michael, I am not using DAOs (I should have mention it in my post, sorry), 
just the Data Mapper. if it helps, I am sending an attachment with the 
SqlMap.config file. 
Regards, Germán

On 2/5/07, Michael McCurrey <[EMAIL PROTECTED]> wrote: 

 

Is it possible to use a DLL embedded SqlMap.config file through the DataAccess 
portion of IBatis.net?  I have moved the file to be a resource, and everything 
works just fine.  However, switching to embedded I receive the following error:

 

- The error occurred while configure DaoSessionHandler.

- The error occurred in <property name="embedded" value="CoreDBSqlMap.config, 
Model" xmlns="http://ibatis.apache.org/dataAccess"; />. 

- Check the IBatisNet.DataAccess.DaoSessionHandlers.SqlMapDaoSessionHandler.

 

 

I have my Dao configuration file set as:

 

< 

daoSessionHandler id=" SqlMap"> 

< 

property name=" embedded" value="CoreDBSqlMap.config, Model" /> 

</

daoSessionHandler> 

 

Where Model is the name of the DLL project and CoreDBSqlMap.config is set to 
the root of the project.

 

 

Michael J. McCurrey

USA Digital Solutions, Inc.

602.866.8199

 

- The scientific name for an animal that doesn't either run from or fight its 
enemies is lunch. 

 

 

  _____  

The information contained in this e-mail message is intended only for the 
personal and confidential use of the recipient(s) named above. This message may 
be an attorney-client communication and/or work product and as such is 
privileged and confidential. If the reader of this message is not the intended 
recipient or an agent responsible for delivering it to the intended recipient, 
you are hereby notified that you have received this document in error and that 
any review, dissemination, distribution, or copying of this message is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by e-mail, and delete the original message. 
--------------------------------------------------------

Princeton Retirement Group, Inc - Important Terms 
This E-mail is not intended for distribution to, or use by, any person or 
entity in any location where such distribution or use would be contrary to law 
or regulation, or which would subject Princeton Retirement Group, Inc. or any 
affiliate to any registration requirement within such location. 
This E-mail may contain privileged or confidential information or may otherwise 
be protected by work product immunity or other legal rules. No confidentiality 
or privilege is waived or lost by any mistransmission. Access, copying or 
re-use of information by non-intended or non-authorized recipients is 
prohibited. If you are not an intended recipient of this E-mail, please notify 
the sender, delete it and do not read, act upon, print, disclose, copy, retain 
or redistribute any portion of this E-mail. 
The transmission and content of this E-mail cannot be guaranteed to be secure 
or error-free. Therefore, we cannot represent that the information in this 
E-mail is complete, accurate, uncorrupted, timely or free of viruses, and 
Princeton Retirement Group, Inc. cannot accept any liability for E-mails that 
have been altered in the course of delivery. Princeton Retirement Group, Inc. 
reserves the right to monitor, review and retain all electronic communications, 
including E-mail, traveling through its networks and systems (subject to and in 
accordance with local laws). If any of your details are incorrect or if you no 
longer wish to receive mailings such as this by E-mail please contact the 
sender by reply E-mail. 

--------------------------------------------------------

Reply via email to