Re: Re : Re : Re : Re : Log4j again... sorry

2007-09-04 Thread Rusty Wright
I don't know if this is what is affecting you but I find the log4j properties file format confusing and error prone so I use the xml format. Here is my log4j.xml file: http://logging.apache.org/log4j/docs/api/org/apache/log4j/xml/log4j.dtd";> http://jakarta.apache.org/log4j/";>

iBatis Select Query

2007-09-04 Thread prvijay
Hi, i a m using iBatis for executing a select query, it works fine if the query has a return value. Its giving null when the query does not have any results. Thats notthe case with procedure. Do anyone have any idea on this. -- View this message in context: http://www.nabble.com/iBatis-Selec

Re: JavaBean and Map parameters

2007-09-04 Thread Ilya Boyandin
Thank you, now everything is clear :) Best regards Ilya Larry Meadors wrote: Heh, I think I wrote that part. :-) You can't reliably refer to an *anonymous* inner class by name (hence the anonymous part - IIRC, they are assigned names by location MyClass$1, MyClass$2, etc), so you can't safely

Re: Using discriminator with an interface

2007-09-04 Thread Ilya Boyandin
Thanks Paul, I think though it's not a quite straightforward solution it must work for me. Regards Ilya MCCORMICK, Paul wrote: If the sub classes have a common setter method then its possible the use the that setter as the required single result in the result map. As you interface will no

Re: PaginatedList

2007-09-04 Thread John Chien
Brandon: Thank you for the response. Should be all four parameters be included in the ? If yes, how ? resultClass="resulyObjectClass"> SELECT STATEMENT Brandon Goodin wrote: There is no replacement needed. The SqlMap contains a method called queryForList(String id, Object parameter, int

Re: PaginatedList

2007-09-04 Thread Brandon Goodin
Hey John, skip and max do not need to be passed to your . These values are used when iBATIS is traversing the resultset that is returned from the database. For example, you query the database and it has 300 potential records returned in the resultset. If skip is set to 50 and max is set to 100, iB

Lazy Loading losing field value

2007-09-04 Thread Christopher . Mathrusse
I'm using iBatis 2.3.0 build# 677 with JDK 1.5.11 I have the following 3 tables. create table op_rule_drl (    id                   numeric(18)                    identity,    name                 varchar(32)                    not null,    content              text                           nul

Abator - Generated beans extend a base model?

2007-09-04 Thread maomaode
Hi, I ready have a base model, and is it possible to generate the java beans and those beans extend the base model? Let say i have a blog.post table, and abator will generate a Post bean, but most of the attributes in the Post, already exist in Entry class So, I'm wondering, if it's possibl

Re: Abator - Generated beans extend a base model?

2007-09-04 Thread Ashok Madhavan
you can use the rootClass attribute. it will do the "public class Post extends Entry ..." stuff. but it will also override all the methods even if those exist in the parent class. regards Ashok On 9/5/07, maomaode <[EMAIL PROTECTED]> wrote: > > Hi, > > I ready have a base mode

Re: Re : Re : Re : Re : Log4j again... sorry

2007-09-04 Thread Rusty Wright
I don't know if this is what is affecting you but I find the log4j properties file format confusing and error prone so I use the xml format. Here is my log4j.xml file: http://logging.apache.org/log4j/docs/api/org/apache/log4j/xml/log4j.dtd";> http://jakarta.apache.org/log4j/";>