First sqlMap causing Parse Errors Please Assist

2005-11-22 Thread Scott Purcell
Hello, I am just trying to get underway with some IBatis and I am running into parse problems. The sqlMapConfig is straight from the PDF, supplied my own DB props. I have a servlet that performs the parsing of config at startup. It apparently gets thriough the sqlMapConfig and blows up with er

Cannot find replacements in API for rollback, etc.

2005-11-21 Thread Scott Purcell
Hello, I have the following snippet from an example Ibatis 1.x and I am trying to recreate it in 2.0. I am new, and just getting underway. Problem is today, I cannot find a replacement for the line sqlMap.rollbackTransaction(), I have the API up, and under sqlMapClient cannot find a rollback re

Help With 2.0 SqlMap, XmlSqlMapBuilder

2005-11-18 Thread Scott Purcell
I am using the 2.1.5 Ibatis and I am following a 1.0 example (see below). Currently I am trying to compile the below code, but the SqlMap and the XmlSqlMapBuilder do not exist in the 2.1.5 libs. When looking through the download I see them in the lib folder under 1-x-Compatibility. But I real

Element Naming Question

2005-11-17 Thread Scott Purcell
I am trying to get an understanding of the IBatis framework, and I am currently using the reumann web example as a tool. My problem is as follows though. In the EmployeeSQL.xml mapping, I am seeing elements like this: and But as I am using the DevGuide.pdf from the IBatis site download, they

handle auto_increment insert into mysql

2005-11-16 Thread Scott Purcell
Hello, I am trying to get the hang of using IBATIS. In order to get my hands wet I am running the reumann struts lesson. It is working, and I am trying to add some tables to the example, to get a feel for the framework. But one of the tables has an "auto_increment" (mysql) on it. So when I do a

JPetStore-4.0.5 Setup Question

2005-11-11 Thread Scott Purcell
Hello, I am interested in seeing how the IBatis persistance framework may assist in some development, so I downloaed the iBATIS_JPetStore-4.0.5.zip. Upon interrogating the unzipped files, It looks like I can create a web app with the files under web. I can set up my Tomcat with that, so that is