Yep, just a typo. I'll take care of it in the docs.
Cheers,
Clinton
On Wed, May 19, 2010 at 5:12 AM, alebu wrote:
> Hi, at this moment I am reading documentation "Advanced Result Mapping"
> section and one think I can't understand in the example with blogs (further
> reading didn't clarified i
Hi, at this moment I am reading documentation "Advanced Result Mapping"
section and one think I can't understand in the example with blogs (further
reading didn't clarified it either).
SQL Query is described like:
select
B.id as *blog_id*,
B.title as blog_title,
...
Result set mapping for that
I am creating a table dynamically.
CREATE TABLE #tableName# (
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
Hi--
Try $tableName$ rather than #tableName#
See page 32 here for more:
http://svn.apache.org/repos/asf/ibatis/java/ibatis-2/trunk/ibatis-2-docs/en/iBATIS-SqlMaps-2
from stackTrac---
>
> org.springframework.jdbc.BadSqlGrammarException: SqlMapClient operation; bad
> SQL grammar []; nested exception is
> com.ibatis.common.jdbc.exception.NestedSQLException:
> --- The error occurred in Index.xml.
> --- The error occurred while applying a parameter map.
> --- Check the
Types: [java.lang.String]
(JakartaCommonsLoggingImpl.java:27)
I get the following from stackTrac---
org.springframework.jdbc.BadSqlGrammarException: SqlMapClient operation; bad
SQL grammar []; nested exception is
com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in Inde
f Butler [mailto:jeffgbut...@gmail.com]
Sent: Friday, March 26, 2010 12:49 PM
To: user-java@ibatis.apache.org
Subject: Re: Eclipse error when running Ibator
Two questions - one obvious, one not so obvious :)
1. (Obvious) What's different in the failing environment? (Different
Eclipse versi
ne have ideas for how to fix this? We are
> using Ibator 1.2.2.
>
>
>
> Right-click on IbatorConfig.xml and choose “Generate iBATIS Artifacts.”
> Progress bar goes part-way, then shows this error:
>
>
>
> Severity: Error
>
> Mess
shows this error:
Severity: Error
Message: Unexpected error while running Ibator.
Exception Stack Trace:
java.lang.ArrayIndexOutOfBoundsException: 247
at
org.eclipse.jdt.internal.formatter.CodeFormatterVisitor.visit(CodeFormat
terVisitor.java:3239)
PM
Subject
Re: db2 -302 error
Please respond to
user-j...@ibatis.
To
>> user-java@ibatis.apache.org
>> 03/23/2010 11:04 cc
>> AM
>> Subject
>>
user-java@ibatis.apache.org
> 03/23/2010 11:04 cc
> AM
> Subject
> Re: db2 -302 error
>
it runs like it also constraint the parameter's.
i don't know does i show the problem clear.
2010/3/23 Mario Ds Briggs
> Hi Joson,
>
> I guess you figured the error out yourself i.e. length of the parameter
> value is > than the column length (30).
>
> It works
va@ibatis.apache.org
03/23/2010 11:04 cc
AM
Subject
it runs like it also constraint the parameter's.
i don't know does i show the problem clear.
2010/3/23 Mario Ds Briggs
> Hi Joson,
>
> I guess you figured the error out yourself i.e. length of the parameter
> value is > than the column length (30).
>
> It works
Hi Joson,
I guess you figured the error out yourself i.e. length of the parameter
value is > than the column length (30).
It works fine in db2 client since there you are not using a parameter
marker but have value as a literal inside the SQL statement string.
cheers
Ma
ps:in the sql the parameter should passed in with String that is longger
than 30.
2010/3/23 joson yu
> there is an error happend in my situation.and want to know is there anyone
> else meet this problem.
> i use ibatis2. the database is used db2.
> sql: select [columns] from
there is an error happend in my situation.and want to know is there anyone
else meet this problem.
i use ibatis2. the database is used db2.
sql: select [columns] from tables where column1 = ''.
and the column1 is varchar type and it's length is 30.
the sql is execute fine in
ation tool, to automate
>> and test our database scripts. The problem is that when one SQL error is
>> encountered, migrator does not return the error code to the shell, and my CI
>> tool does not report correctly the error. Yesterday night I've made a little
>> patch
Absolutely.
On Sat, Feb 13, 2010 at 4:21 PM, Marco Speranza
wrote:
> Hi all, I'm using migrator into a Continuous integration tool, to automate
> and test our database scripts. The problem is that when one SQL error is
> encountered, migrator does not return the error code to the
Hi all, I'm using migrator into a Continuous integration tool, to automate
and test our database scripts. The problem is that when one SQL error is
encountered, migrator does not return the error code to the shell, and my CI
tool does not report correctly the error. Yesterday night I'
. but when I set lazy loading = true, the following error occurs
> on every query:
>
> ### Error querying database. Cause:
> net.sf.cglib.core.CodeGenerationException:
> java.lang.reflect.InvocationTargetException -> null
> ### The error may involve com.myapp.model.MyMapper.lo
Hi, I'm having problems enabling lazy loading.
Using: Ibatis 3 beta 9, cglib 2.2, asm 3.2. (into a netbeans platform library
module)
Everything works great with lazy loading disabled, selects, inserts, updates,
etc. but when I set lazy loading = true, the following error occurs on every
>
> Currently, I have the return type from insertKey as “Key”. Presumbably,
> this would be a key object containing the newly created key object and key
> id.
>
>
>
> - Chip
>
>
> --
>
> *From:* Clinton Begin [mailto:clinton.be...@gma
ubject: Re: Ibatis 3 Insert Error
What's the return type of the mapper method?
Clinton
On Sun, Jan 31, 2010 at 3:03 PM, ChippyJoey wrote:
Hi -
I am new to Ibatis and I have run into an issue regarding inserts into a
table. I am getting the following error when I attempt to insert da
What's the return type of the mapper method?
Clinton
On Sun, Jan 31, 2010 at 3:03 PM, ChippyJoey wrote:
>
> Hi –
>
> I am new to Ibatis and I have run into an issue regarding inserts into a
> table. I am getting the following error when I attempt to insert data into
&g
Hi –
I am new to Ibatis and I have run into an issue regarding inserts into a
table. I am getting the following error when I attempt to insert data into a
table:
DEBUG [main] - Checked out connection 14247087 from pool.
DEBUG [main] - ooo Connection Opened
DEBUG [main] - ==> Executing: ins
ding with is Maven2 and the build is OK as I got the jar
> file generated.
> However, I got some error when I was trying to run it from the command line.
>
> The error is as follows
> java.net.MalformedURLException
> at java.net.URL.(URL.java:601)
> at java.net.URL.
Hi there,
I'm trying to build ibator from source that I downloaded form this address
http://people.apache.org/builds/ibatis/ibator/ibator-1.2.1-681.zip.
The tool I'm building with is Maven2 and the build is OK as I got the jar
file generated.
However, I got some error when I was trying
ap.put("skuid_var", prodmDatPm.getSkuid());
> hashMap.put("pm_col_name", pmColumnName);
> hashMap.put("prec_master_col_name", precedenceColName);
> hashMap.put("new_source", 20);
> hashMap.put("col_value", col_va
_name", precedenceColName);
hashMap.put("new_source", 20);
hashMap.put("col_value", col_value);
getSqlMapClientTemplate().update("UPSERT_PM_PRECEDENCE", hashMap);
Error
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:
--- The er
meindert-3,
Thanks for the reply. Am also using MySql drivers but not mentioned in the
jar files listing..
nath1 wrote:
>
> Hi
> Am very new to iBATIS. Am facing com.ibatis.sqlmap.client.SqlMapException:
> There was an error while building the SqlMap instance Exception.
>
ption: There was an error while
building the SqlMap instance
Hi
Am very new to iBATIS. Am facing com.ibatis.sqlmap.client.SqlMapException:
There was an error while building the SqlMap instance Exception.
below is the SQLMapConfig.xml file:
http://ibatis.apache.org/dtd/sql-map-config-
Hi
Am very new to iBATIS. Am facing com.ibatis.sqlmap.client.SqlMapException:
There was an error while building the SqlMap instance Exception.
below is the SQLMapConfig.xml file:
http://ibatis.apache.org/dtd/sql-map-config-2.dtd
Hm, it seems to have cut off the useful parts - the swing and awt
stuff doesn't help at all. :(
What driver are you using?
Larry
On Tue, Nov 24, 2009 at 11:57 PM, masonka...@libero.it
wrote:
> Here my stack trace:
>
> org.apache.ibatis.exceptions.IbatisException:
> ### Error
Here my stack trace:
org.apache.ibatis.exceptions.IbatisException: ### Error updating database.
Cause: org.apache.ibatis.executor.ExecutorException: Executor was closed.###
The error may exist in org/acl/dbmapping/User.xml### The error may involve
org.acl.base.user.insert### The error
Stack trace?
On Tue, Nov 24, 2009 at 4:11 PM, masonka...@libero.it
wrote:
> Hi,
>
> I have a problem when I try to insert into table e new line.
> Ibatis
> (version 3, beta 5) report the error message:
>
> Error updating database.
> Cause: org.apache.ibatis.executor.Exe
Hi,
I have a problem when I try to insert into table e new line.
Ibatis
(version 3, beta 5) report the error message:
Error updating database.
Cause: org.apache.ibatis.executor.ExecutorException: Executor was closed.
the
insert clause used is:
insert into user (usr,pwd,role,dsc,sts
;
-Original Message-
From: Ron H [mailto:be.spec...@gmail.com]
Sent: 18 November 2009 01:24 PM
To: user-java@ibatis.apache.org
Subject: RE: Error calling Connection.setAutoCommit:
thanks
do you use it instead of:
meindert-3 wrote:
>
> Not sure what the differe
; in DUAL, shouldn't you use 'select top 1 * from DUAL'
>
> -Original Message-
> From: Ron H [mailto:be.spec...@gmail.com]
> Sent: 18 November 2009 11:48 AM
> To: user-java@ibatis.apache.org
> Subject: Error calling Connection.setAutoCommit:
>
>
>
--
From: Ron H [mailto:be.spec...@gmail.com]
Sent: 18 November 2009 11:48 AM
To: user-java@ibatis.apache.org
Subject: Error calling Connection.setAutoCommit:
hi
randomly, i get the following exception:
18/11/2009 03:18:49 ERROR Connection:19 - Error calling
Connection.setAutoCommit:
com.mysq
hi
randomly, i get the following exception:
18/11/2009 03:18:49 ERROR Connection:19 - Error calling
Connection.setAutoCommit:
com.mysql.jdbc.CommunicationsException: Communications link failure due to
underlying exception:
** BEGIN NESTED EXCEPTION **
java.io.EOFException
STACKTRACE
Probably a stale connection.
Google for "org.postgresql.util.PSQLException: An I/O error occured
while sending to the backend"
Larry
On Thu, Sep 10, 2009 at 8:01 PM, Donmis wrote:
>
> HELP HELP!!!
> :,(
> --
> View this message in context:
> http://www.nabble.
HELP HELP!!!
:,(
--
View this message in context:
http://www.nabble.com/connection-problem-using-ibatis2.3%2Bpostgresql8.3%2Bglassfish2-%28-An-I-O-error-occured-while-sending-to-the-backend.--nested-exception-is-com.ibatis.common.jdbc.exception.NestedSQLException%29-tp25394317p25394320.html
,
always hit the below problem:
com.sph.newslink.service.UserManager -
org.springframework.dao.DataAccessResourceFailureException: SqlMapClient
operation; SQL [];
--- The error occurred in com/sph/newslink/dao/ibatis/sqlmap/TOP_SQLMAP.xml.
--- The error occurred while applying a parameter map
Based on the proof you have provided (the traces, the SQLSTATES of the
error & spring DAO exception - DataIntegrityViolationException) there is
nothing further you need to look at execpt values being inserted/updated.
SQL0406N A numeric value in the UPDATE or INSERT statement is not
wi
Subject
> Please respond to Re: Ibatis conversion error on DB2
> user-j...@ibatis.
Subject
Please respond to Re: Ibatis conversion error on DB2
user-j...@ibatis.
apache.org
Hi Mario,
Thanks for the reply.
The OS name i5/AS400. One more thing value which I have inserted is
perfectly fine.
As I mentioned sometimes it failed but most of the times it worked.
Please help me out
Mario Briggs wrote:
>
> Nothing to do with ibatis. Look up the error definiti
Nothing to do with ibatis. Look up the error definitions of SQLStates
SQL302 & SQL406 and you will understand why it occurs arbitarily :-)
The value that is trying to be inserted in out-of-range for the column in
the db.
M
I have been using Ibatis through Spring to acccessing data from DB2 to java.
I have been run this query so many times sometimes it works and sometimes
not.
means I m not able to replicate it.while updating the record I got the error
like this:
UPDATE STHEDRL1 SET STHRIN=? WHERE STHINT=? AND
sage-
> From: Clinton Begin [mailto:clinton.be...@gmail.com]
> Sent: Friday, August 14, 2009 2:10 PM
> To: user-java@ibatis.apache.org
> Subject: Re: iBatis 3.x.x - documentation error ?
>
> Thanks! The easiest way to create a test is to check out the iBATIS source
> fro
atis 3.x.x - documentation error ?
Thanks! The easiest way to create a test is to check out the iBATIS source
from SVN:
http://svn.apache.org/repos/asf/ibatis/trunk/java/ibatis-3/
Create a descriptive subdirectory of the 'submitted' test directory:
ibatis-3-core/src/test/ja
Done.
https://issues.apache.org/jira/browse/IBATIS-625
Christian
-Original Message-
From: Poitras Christian [mailto:christian.poit...@ircm.qc.ca]
Sent: Friday, August 14, 2009 1:39 PM
To: 'user-java@ibatis.apache.org'
Subject: RE: iBatis 3.x.x - documentation error ?
I will f
t; From: Clinton Begin [mailto:clinton.be...@gmail.com]
> Sent: Friday, August 14, 2009 12:34 PM
> To: user-java@ibatis.apache.org
> Subject: Re: iBatis 3.x.x - documentation error ?
>
> Can one of you file a Jira ticket with a description and a failing unit test
> attached if possible?
I will file a JIRA.
I will also try to make a unit test for it.
Christian
-Original Message-
From: Clinton Begin [mailto:clinton.be...@gmail.com]
Sent: Friday, August 14, 2009 12:34 PM
To: user-java@ibatis.apache.org
Subject: Re: iBatis 3.x.x - documentation error ?
Can one of you file
Date: Fri, 14 Aug 2009 09:11:03 -0400
> Subject: RE: iBatis 3.x.x - documentation error ?
>
> When I tried iBATIS 3, I've done like you naming my interface and my xml
> with the same name. Don't do that, iBATIS will throw an exception like
> yours.
>
> You should name you
Works fine now. Thank you.
From: christian.poit...@ircm.qc.ca
To: user-java@ibatis.apache.org
Date: Fri, 14 Aug 2009 09:11:03 -0400
Subject: RE: iBatis 3.x.x - documentation error ?
When I tried iBATIS 3, I've done like you naming my interface and
my xml with the same name. Don
interface.
I beleive this is a bug.
Christian
From: Erdem Budak [mailto:erdembu...@hotmail.com]
Sent: Friday, August 14, 2009 6:01 AM
To: user-java@ibatis.apache.org
Subject: RE: iBatis 3.x.x - documentation error ?
And what do think about the mapping class. Is
And what do think about the mapping class. Is something wrong with my code ?
Date: Thu, 13 Aug 2009 21:34:47 -0600
Subject: Re: iBatis 3.x.x - documentation error ?
From: clinton.be...@gmail.com
To: user-java@ibatis.apache.org
corrected.
On Thu, Aug 13, 2009 at 9:22 AM, Clinton Begin wrote
mapper class and
>> could not manage to do it. What i tried to do is.
>>
>> -a UserMapper interface which defines a selectUser function.
>>
>> public interface UserMapper {
>>
>> public User selectUser(int id);
>>
>> }
>>
>
c interface UserMapper {
>
> public User selectUser(int id);
>
> }
>
> -a UserMapper.xml
>
>
>
> SELECT * FROM users WHERE id = #{id}
>
>
>
> -in my configuration.xml
>
>
>
>
>
> having the error
>
> Exception
d to do is.
-a UserMapper interface which defines a selectUser function.
public interface UserMapper {
public User selectUser(int id);
}
-a UserMapper.xml
SELECT * FROM users WHERE id = #{id}
-in my configuration.xml
having the error
Exception in thread &q
you catch a SQLException from the DB? Does the
>> developer
>> that catches this exception really know what to do with it? Can he
>> recover from such a
>> situation at runtime? He cant in 99% of the casesso dont even
>> bother catching those
>> exception at
from such a
> situation at runtime? He cant in 99% of the casesso dont even
> bother catching those
> exception at DAO level and let them get all the way up to your so
> called Exception Barrier,
> which you can configure at web layer (like the error-page directive in
> the web.xm
...so dont even
bother catching those
exception at DAO level and let them get all the way up to your so
called Exception Barrier,
which you can configure at web layer (like the error-page directive in
the web.xml) and show
a generic message like "A technical problem occured"...
Most of the pp
s,
> > I have a few questions on how to handle errors that are thrown when
> iBatis
> > calls the Stored Procedures.
> > Assuming i have the following code:
> > results_list = getSqlMapClientTemplate().queryForList("spfile.getReport",
> > parmMap);
> &g
e:
> results_list = getSqlMapClientTemplate().queryForList("spfile.getReport",
> parmMap);
> If i have the above code then when error occurs, we see it on the screen and
> it looks very ugly. Also, if the error occurs in above line then code after
> this line is not executed.
Hi guys,
I have a few questions on how to handle errors that are thrown when iBatis
calls the Stored Procedures.
Assuming i have the following code:
results_list = getSqlMapClientTemplate().queryForList("spfile.getReport",
parmMap);
If i have the above code then when error occurs, we
, May 28, 2009 12:05 PM
> *To:* user-java@ibatis.apache.org
> *Subject:* RE: DB Error
>
> I noticed this problem with straight SQL too (insert / update) …
>
>
>
> If I open connection with autocommit(false), and then try to commit /
> rollback; I get the same error
>
Hope this helps!
From: Ejaz X Mohammed [mailto:ejaz.moham...@jpmorgan.com]
Sent: Thursday, May 28, 2009 12:05 PM
To: user-java@ibatis.apache.org
Subject: RE: DB Error
I noticed this problem with straight SQL too (insert / update) ...
If I open connection with a
: com.tgt.ecl.exception.TgtDataAccessException:
com.ibatis.common.jdbc.exception.NestedSQLException: Error getting
Connection from Transaction. Cause:
com.ibatis.sqlmap.engine.transaction.TransactionException: JtaTransaction
could not start transaction. Cause:
at
Subject
Please respond to RE: error fetching BLOB and CLOB
user-j...@ibatis. data
apache.org
> jdbc 2.0.
>
> We eliminated the driver as an issue, as I mentioned in my question, by
> using the same datasource with straight SQL. We were able to successfully
> fetch BLOB and CLOB with straight SQL instead of iBATIS.
>
> Any other suggestions would be appreciated.
>
>
ATIS.
Any other suggestions would be appreciated.
> Subject: Re: error fetching BLOB and CLOB data
>
> Pat,
>
> looks like you are using a very old version of the DB2 JDBC driver (atleast
> in the iBatis use-case u have detailed below)
> a - which is not a type 4 JDBC dri
Subject
Please respond to error fetching BLOB and CLOB data
user-j...@ibatis.
apache.org
We have BLOBs and CLOBs in a DB2 v8 database. We use a jdbcType of 'BLOB' or
'CLOB' respectively in our SQL Map file and are getting an error 'CLI0123E SQL
data type out of range. SQLSTATE=HY004'.
There was an older post about checking the driver type, but
Hello iBatis group, an attempt to implement the equivalent Local Transaction as
outlined in the listing 7.3 of the Begin book returns an error condition:
java.lang.NullPointerException
at
com.sexingtechnologies.st.dao.TestAnimalmasterDAO.testDAOInsert(TestAnimalmasterDAO.java:101
-
From: "Kai Grabfelder"
To: user-java@ibatis.apache.org
Sent: Friday, June 26, 2009 6:46:04 PM GMT -06:00 US/Canada Central
Subject: Re: com.ibatis.dao.client.DaoException: Error while configuring
DaoManager
sounds like an older version of iBATIS. Which version are you using? Have you
tis folks, I finished reading the Begin book and I have the
> JPetStore exmaple imported into Eclipse running OK. I decided to have a hand
> at iBatis testcase on a live DB but this is all that I can get:
>
>
>
> com.ibatis.dao.client.DaoException: Error while configuring
Hello iBatis folks, I finished reading the Begin book and I have the JPetStore
exmaple imported into Eclipse running OK. I decided to have a hand at iBatis
testcase on a live DB but this is all that I can get:
com.ibatis.dao.client.DaoException: Error while configuring DaoManager. Cause
sample.setId( "111" );
>
> sample.setName ( "name1" );
>
> sample.setResult("" );
>
> (String)getSqlMapClientTemplate().queryForObject( "sampleProc",
> sample );
>
> * *
>
> *Am getting th
SqlMapClient operation;
bad SQL grammar []; nested exception is
com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in SqlMap.xml.
--- The error occurred while applying a parameter map.
--- Check the parameterId.
--- Check the statement (update procedure failed).
Perhaps that is because you build for java 6 and not java 5?
http://java.sun.com/javase/6/docs/api/java/sql/ResultSet.html#updateNClob(int,%20java.sql.NClob)
Also see (probably among others):
http://www.mail-archive.com/d...@ibatis.apache.org/msg03146.html
DelGurth
On Tue, Jun 16, 2009 at 10:0
Building the trunk source doesn't work out for me. The java compiler returns
2 errors:
SVN Url: http://svn.apache.org/repos/asf/ibatis/trunk
Ant: src.compile:
[javac]
D:\SVN\iBatis\java\ibatis-2\ibatis-2-core\src\com\ibatis\common\jdbc\SimpleD
ataSource.java:52: com.ibatis.common.jdbc.SimpleD
asses.
>
> See this thread:
> http://mail-archives.apache.org/mod_mbox/ibatis-user-java/200901.mbox/%3c35dbee350901190659t668c375as2a1cbba564cf7...@mail.gmail.com%3e
>
> Hope this helps.
>
> Dan Turkenkopf
>
> On Fri, Jun 12, 2009 at 7:35 AM, andig wrote:
>
&g
-user-java/200901.mbox/%3c35dbee350901190659t668c375as2a1cbba564cf7...@mail.gmail.com%3e
Hope this helps.
Dan Turkenkopf
On Fri, Jun 12, 2009 at 7:35 AM, andig wrote:
>
> I'm trying to run Ibator on Eclipse seeing this error:
>
>
> !ENTRY org.apache.ibatis.ibator.eclipse.
I'm trying to run Ibator on Eclipse seeing this error:
!ENTRY org.apache.ibatis.ibator.eclipse.ui 4 4 2009-06-12 13:30:57.656
!MESSAGE Unexpected error while running Ibator.
!STACK 0
java.lang.NullPointerException
I noticed this problem with straight SQL too (insert / update) ...
If I open connection with autocommit(false), and then try to commit / rollback;
I get the same error
Ejaz
From: Glenn Barnard [mailto:barnardgl...@gmail.com]
Sent: Thursday, May 28, 2009 10:54 AM
To: user-java
wrote:
> I get same error with Sybase 12.5, but when I call a stored proc which
> has begin tran / end tran
>
>
>
> when I execute same stored proc directly via jdbc, I don't get "SET
> CHAINED …" error
>
>
>
> Should be something with driver …jconn2
I get same error with Sybase 12.5, but when I call a stored proc which has
begin tran / end tran
when I execute same stored proc directly via jdbc, I don't get "SET CHAINED
..." error
Should be something with driver ...jconn2.jar
Ejaz
From: Glenn Barnard [mailto:barnard
:
Unable to set AutoCommit property.SET CHAINED command not allowed within
multi-statement transaction.
Then as the connections become useless, the following messages start coming
out. This message I would expect after the pool is exhausted.
Error in allocating a connection. Cause: In-use
my stack trace is:
org.springframework.jdbc.InvalidResultSetAccessException: SqlMapClient
operation; invalid ResultSet access for SQL []; nested exception is
com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred
in securityexam.xml. --- The error occurred while executing
harma wrote:
> I am getting the following error: SqlMapClient operation; invalid ResultSet
> access for SQL []; nested exceptionCaused by: java.sql.SQLException:
> Invalid column index
> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:518)
>
> All the resul
I am getting the following error: SqlMapClient operation; invalid ResultSet
access for SQL []; nested exceptionCaused by: java.sql.SQLException: Invalid
column index
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:518)
All the resultmappings and parameter mappings are fine
want.
Cheers,
Winarto
From: Bhaarat Sharma [mailto:bhaara...@gmail.com]
Sent: Monday, 11 May 2009 23:27
To: user-java@ibatis.apache.org
Subject: error handling in iBatis?
we have been using iBatis for a while now.
However, we do not perform any error handling while executing the sql
maps.
have written Unit test for the same and tested out the erroneous
cases to make sure of what I was getting!
Let us know if it didnt work
-Sundar
On Mon, May 11, 2009 at 8:26 AM, Bhaarat Sharma wrote:
> we have been using iBatis for a while now.
> However, we do not perform any error handling
Sharma wrote:
> we have been using iBatis for a while now.
> However, we do not perform any error handling while executing the sql maps.
> Back when we used java code to connect, we used try and catch blocks.
> Where the catch block would log an error message.
>
> s
we have been using iBatis for a while now.
However, we do not perform any error handling while executing the sql maps.
Back when we used java code to connect, we used try and catch blocks.
Where the catch block would log an error message.
something like this:
try
urns out that it was indeed a mapping issue, but not in the
reported file. The error log said the problem was in the source
mapping file, but in fact it was in the target mapping file. Case
sensitivity issue and user error :)
Sean
On Wed, Apr 29, 2009 at 9:46 AM, Nathan Maves wrote:
> This really does look like a mapping issue. Please include the source code
> of the bean and the map that you are using.
As I'm new to this company and they are a bit uptight about some
things, I'm not sure that I can do that just yet. Wil
1 - 100 of 514 matches
Mail list logo