RE: lazy loading confusion

2006-09-26 Thread Niels Beekman
Can we see your config? -Original Message- From: Tom Duffey [mailto:[EMAIL PROTECTED] Sent: woensdag 27 september 2006 7:34 To: user-java@ibatis.apache.org Subject: lazy loading confusion Hi All, I have a Project class with a list of Members. It is my understanding that I can turn on

lazy loading confusion

2006-09-26 Thread Tom Duffey
Hi All, I have a Project class with a list of Members. It is my understanding that I can turn on lazy loading in my sql map config, define a Project result map like: select="Member.listByProject"/> and then retrieve a project and the members will not be retrieve

Multiple where clause

2006-09-26 Thread Pradheep
hi   how do we implement multiple where clause in a single xml file.based on the conditions, where clause has to be appended with the select query.   i have a select query and on different conidtions, i need to append the where clause to the SELECT statement.   how do we do that.   PraDheep

RE: Cache Flush Interval

2006-09-26 Thread Chris Lamey
Title: RE: Cache Flush Interval I believe for the OSCACHE type, the iBATIS config is completely ignored and the OSCache values are used. -Original Message- From: Crocker, Patrick [mailto:[EMAIL PROTECTED]] Sent: Tue 9/26/2006 6:14 PM To: user-java@ibatis.apache.org Subject: Cache Flu

Cache Flush Interval

2006-09-26 Thread Crocker, Patrick
If you do not specify a flushInterval for your cache, will it stay in memory indefinitely or is there a default flushInterval? - Patrick.

Re: JavaScript + iBATIS

2006-09-26 Thread Clinton Begin
If you do decide to implement XML support, I don't recommend doing it this way :-)Instead, I'd add a couple of methods:.QueryForXML()Which would allow the mapping to still be to a Hashtable or a Domain Class, but it would translate the properties or Dictionary key/value pairs into the XML docum

Re: JavaScript + iBATIS

2006-09-26 Thread Gilles Bayon
No On 9/26/06, Rahul Singh ( Anant ) <[EMAIL PROTECTED]> wrote: Has this functionality filtered down to the .NET version yet? Rahul -- Cheers, Gilles http://www.amazon.com/gp/registry/6JCP7AORB0LE";>Wish List

Re: Package Depedency (JDepend)

2006-09-26 Thread Larry Meadors
I do not know, but iBATIS has no *required* dependencies. Different configurations (i.e., lazy loading, certain caches, etc..) may introduce some runtime dependencies. Larry On 9/26/06, fredmaster <[EMAIL PROTECTED]> wrote: Somebody executed JDepend or other tool to analyse dependency clycle

Package Depedency (JDepend)

2006-09-26 Thread fredmaster
Somebody executed JDepend or other tool to analyse dependency clycle ?

Re: JavaScript + iBATIS

2006-09-26 Thread Rahul Singh ( Anant )
Has this functionality filtered down to the .NET version yet? RahulOn 9/25/06, Clinton Begin <[EMAIL PROTECTED]> wrote: Yep.  XML it is.  The _javascript_/DOM APIs are pretty simple for processing results from XML.  JSON is good too...but XML is supported more widely and by more tools.In iBATIS i

Re: Abator new Generator Set

2006-09-26 Thread Jeff Butler
Hi Emiliano,   You are correct - you are using the Criteria class in just the way I had envisioned.  But I (obviously) didn't account for the case where there are no criteria set :(  I'll fix it for the next release.  The workaround for now would be to not create the criteria class if there will be

how to find out which property is giving null?

2006-09-26 Thread a b
Hi, I get the following error sometime but it doesn't say which property is giving the error, is there a way for ibatis to print out which property is giving the nullpointerexception? The error happened while setting a property on the result object. Cause: com.ibatis.common.exception.NestedRuntime

Re: Custom Type Handler for Oracle DATE

2006-09-26 Thread Jeff Butler
Here are a couple of thoughts:   1. Oracle's DATE type can be DATE, TIME. or TIMESTAMP depending on how it's configured.  But I think their JDBC driver always reports it as TIMESTAMP - so that's why Abator generated it as TIMESTAMP.  If it really is a DATE then use a to force the field to jdbcTyp

Abator new Generator Set

2006-09-26 Thread Emiliano Armellin
Hello, I have to add different and clauses in different place of my code, 0 or more and clauses... Which is the correct way to do it? My solution is this:             TableExample.Criteria criteria = example.createCriteria();     if(StringUtils.isNotBlank(field1)){    

Custom Type Handler for Oracle DATE

2006-09-26 Thread aris
Hi all, I'm new to this mailing list and to Ibatis too. Today I wrote my first type handler callback class to solve a problem with the Oracle jdbc driver (from version 9). I've a table with a column of type DATE and an index is defined on this column. The table is mapped from a domain object