The NPE is coming from your main method (profile.getName()). It's not
finding the profile record. It looks like iBATIS is working, but there's
simply no data to be found, or the parameter is incorrect.
Clinton
On Tue, Dec 29, 2009 at 10:28 PM, vishalj wrote:
>
> Hi,
> I am using iBatis for the
I have a JAVA code calling a SP in SQL Server through IBATIS. the procedure
expects around 26params and one of them is OUT. While executing the
procedure, i am getting "Unknown output datatype:-" error. Nothing
else is provided in terms of error details. The snippet of my XML looks like
Hi,
I am using iBatis for the first time ,but no success yet.This is how my
setup looks like
DB SCHEMA:
CREATE TABLE TEST_USERPROFILE
(NAME VARCHAR2(20),
ID NUMBER
) ;
iBatis configuration.xml
On 12/29/2009 6:22 PM, Dan Forward wrote:
I am new to iBATIS and I am having difficulty mapping our User object, which
consists of several custom objects, some of which span multiple columns in
the database. However, all the data for the user is stored in one table.
These are the properties of
I am new to iBATIS and I am having difficulty mapping our User object, which
consists of several custom objects, some of which span multiple columns in
the database. However, all the data for the user is stored in one table.
These are the properties of my User object:
private UserID id;
private
Usually Ibator will ignore a column only if it encounters an
unsupported data type. Ibator should show a warning if that happens.
Unsupported data typed are fairly common with Oracle. Check the data
types of the missing columns - that might give us a better idea of
what's wrong.
Jeff Butler
On
Ibatis 2.3.0.677
Abator 1.2.1
Eclipse Java EE IDE for Web Developers. Build id: 20090920-1017 Galileo
Oracle 10g
Spring
Hello,
I install Abator and when I generate Ibatis Artifacts, I have problem on 2 of
my generated bean: an attribute is missing. For other tables, the bean
genarate
Hi Yuri,
Yes it is possible, in your scenario to make the sqlmaps participate
in one single transaction you have to work a little and rollbacks all
the transacions when one rise an exception/error.
There's no immediate solution that I know, but that doesn't mean
that's not possible.
Best regards!
S
Hi Simoni,
Thanks for the pointers. I will take a look at it.
One question: by creating multiple sqlmaps, one for each module, is it
possible to have them participate in a single transaction? I am assuming
that each sqlmap has its own transaction, but maybe that is not correct?
Module1:
- Table1