RE: Moving sqlmap files to /WEB-INF/sqlmaps/ instead of in the classpath

2007-04-04 Thread Daniel Pitts
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

Moving sqlmap files to /WEB-INF/sqlmaps/ instead of in the classpath

2007-04-04 Thread Jared Blitzstein
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.

RE: Anemic Domain Model and iBatis

2007-04-04 Thread Chris Lamey
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

RE: Tutorial questions

2007-04-04 Thread James, Steven
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 + ""); } --

Tutorial questions

2007-04-04 Thread [EMAIL PROTECTED]
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

Can I get access to an iBatis query's content?

2007-04-04 Thread scott . x . mcdaid
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

RE: Anemic Domain Model and iBatis

2007-04-04 Thread Poitras Christian
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);

RE: Anemic Domain Model and iBatis

2007-04-04 Thread Nathan Ward
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

RE: iBatis - SQL IN keyword

2007-04-04 Thread Meindert
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

iBatis - SQL IN keyword

2007-04-04 Thread PraDz
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

Oracle stored procedure with custom data types

2007-04-04 Thread George Chelidze
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