Not identifying missing parameter names

2009-10-20 Thread Guy Rouillier
I'm using the new multiple parameter capability in the latest version 3 beta. I have a method like this in my mapper Java class: List selectContactType(@Param("aCustId") String aCustId, @Param("eContactType") Contact.ContactTypeEnum eContactType); These parameters are used in the WHERE clau

Post script annotation

2009-10-20 Thread camelContext
Hi All, i am using the iBATIS migration tool to manage my DB SQLs. We have a convention to create a synonym and grant read access to the application. We do have a public stored procedure which does this for us. But i hate to call it in all my scripts. Suppose i have 5 sql script file, i will h

Re: Executing PL/SQL procs from migration tool.

2009-10-20 Thread camelContext
I tried modifying the end of line delimitter but that doesnt work well. For now i figured that i can create the stored proc in the DB and call it from my script. Something like call my_stored_proc(); Thanks Praveen Jeff Butler-2 wrote: > > Can you configure the end of line delimiter? If so,

Reading more than one file with XMLConfigBuilder

2009-10-20 Thread Martin Ellis
Hi I wanted to run this feature request past the list, before filing a JIRA issue... The iBATIS configuration file allows a number of different environments (including database names and credentials) to be specified. These are identified by environment name. The configuration file is parsed by

Re: iBatis - Connections to PostgreSQL Not Closing

2009-10-20 Thread Jim Borland
Yesterday I was the beneficiary of a flurry of postings and off-line emails regarding a database connection issue using iBatis. I am overflowing with gratitude because your efforts helped me understand the situation and solve the problem. I had spent several weeks wrestling with this and gone do

SQL mapping problem

2009-10-20 Thread Herman Bovens
Hi, I have the following problem: I'm calling a stored procedure and I'm mapping the columns it returns to the fields of a domain object. So far so good. However, the procedure returns an extra column, which is the same for all rows and is in fact a separate value that does not belong in the dom