On Wed, Apr 4 2007, Jared Blitzstein wrote:
> Is it possible to move the sqlmap xml files to a subdirectory
> in the / WEB-INF/ of my web app? I'm trying not to mix xml
> files in my class files and thought this might be a cleaner
> approach. Everything I've found so far mentions about them
> b
Is it possible to move the sqlmap xml files to a subdirectory in the /
WEB-INF/ of my web app? I'm trying not to mix xml files in my class
files and thought this might be a cleaner approach. Everything I've
found so far mentions about them being in the classpath. Thanks.
On Wed, 2007-04-04 at 09:12 +0300, Cihat Altuntaş wrote:
> You mentioned about developers that using higher level of code to hide
> relational model. Can you show me an explain ? In that model Are Batis POJOs
> have been using instead of DTO objects?
I would guess the most common approach is to us
Well you need to cast the returned from the list to an appropriate type.
Therefore in your for loop do the cast like so
out.println("Selected " + list.size() + " records.");
for (int i=0; i < list.size(); i++) {
MyType obj = (MyType)list.get(i);
out.println( obj.mymethod + "");
}
--
Hi all,
I am trying to develop a web using jsp and ibatis.
I am new for this environment so this would be a tutorial question ;).
I use jsp and AbatorForEclipse1.0 for the code generation.
it creates crud classes.
but I cannot find the class for queries all records from the table.
May I use Sele
Hi there. I want to create a temp table to put some data in, and then run
a query (JOIN) against that and some other table(s).
My problem is however, that I'm using SQL Server, so cannot use iBatis to
do this (as far as I can see) as there is a problem with creating
temporary objects in SQL Ser
iBATIS now has a support for POJOs without getter and setter methods. I
believe the code is in svn.
iBATIS can now set properties directly. If my guessing is right, the
code do something like this.
if (!hasSetter(resultObject, propertyName) {
Filed f = getField(resultObject, propertyName);
Both iBATIS and Hibernate support a rich object model. You don't have to map
foreign key fields in a database to primitive type fields, such as String or
Integer, on business objects. You an specify in iBATIS mapping files that
these fields are used to create "complex properties" as iBATIS document
What do you see in your log file?
-Original Message-
From: PraDz [mailto:[EMAIL PROTECTED]
Sent: 04 April 2007 10:47 AM
To: user-java@ibatis.apache.org
Subject: iBatis - SQL IN keyword
My application needs an output which will use the Keyword IN
This is how i have used in xml query
My application needs an output which will use the Keyword IN
This is how i have used in xml query file. but i didnt get any output for
the desired query.
what cud have gone wrong. the same query in MySQL works fine, since its a
simple In query.
thanks in advance 4 the response.
PraDz
--
Vie
Hello,
It's my first post to this list, so I'd like to say hello to all of you.
I have a procedure:
CREATE OR REPLACE PROCEDURE "S"."PREPROCPROC"(aInput in
TPreprocInputMessageSet, aOutput out TPreprocOutputMessageSet) is
res TPreprocOutputMessageSet;
curi TPreprocInputMessage;
curo TPreprocO
11 matches
Mail list logo