abator sample project

2006-01-23 Thread seyhan.basmaci
Hi , I am new to abator, (0.6.0 ver) and ibatis, I looking for sample project for abator, is it available anywhere ? Bu elektronik posta mesaji ve ekleri sadece gönderildigi kisi veya kuruma özeldir ve gizli bilgiler içerebilir. Eger bu mesaji hataen aldiysaniz lütfen bu durumu gönderen kisi

Re: SQL query with "greater and equal" and "less and equal"

2006-01-23 Thread Larry Meadors
This will work, too: select * from RAWATTENDANCERECORD where logDate >= #fromDate# and logDate <= #toDate# Larry On 1/22/06, Jeff Butler <[EMAIL PROTECTED]> wrote: > resultMap="rawAttendanceRecordResult" > parameterClass="searchAttendanceRecords"> >select * from RAWATTENDANCER

junit test

2006-01-23 Thread Henry Lu
I go the following error when I did JUnit test: setUp()-- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in file [C:\devel\webapps\coreyp\WEB-INF\app_beans.xml]: Initialization of bean failed; nested exception is com.ibati

Re: junit test

2006-01-23 Thread AHrakou
Check that you use the correct libraries for spring and ibatis. Also check your XML: Cause: org.xml.sax.SAXParseException: Attribute "namespace" is not declared for element "sqlMap". Caused by: org.xml.sax.SAXParseException: Attribute "namespace" is not declared for element "s

Re: junit test

2006-01-23 Thread Henry Lu
All correct version. Because it works for the application. ibatis-common-2.jar ibatis-dao-2.jar ibatis-sqlmap-2.jar and spring 1.2.6 [EMAIL PROTECTED] wrote: Check that you use the correct libraries for spring and ibatis. Also check your XML: Cause: org.xml.sax.SAXParseException: Attribut

How do I handle large data.

2006-01-23 Thread Robin Singh
I wish to use IBatis for my project. Can someone please enlighten me about its pros and cons compared with Torque/ Hibernate?   Specifically, I wish to know how IBatis handles large amount of data. Does it create objects for all the records received and then return me in a list ( :O ) or

Re: junit test

2006-01-23 Thread AHrakou
what about XML?  Cause: > org.xml.sax.SAXParseException: Attribute "namespace" is not declared for > element "sqlMap". > Caused by: org.xml.sax.SAXParseException: Attribute "namespace" is not > declared for element "sqlMap". !!! Attribute "namespace" is not declared for > element

Re: How do I handle large data.

2006-01-23 Thread Larry Meadors
With large sets of data, you can use a rowhandler, which only puts one row into memory at a time. With Hibernate, AFAIK, there is nothing similar. In either case, I'd *strongly* suggest using a stored procedure to deal with large amounts of data. Larry On 1/23/06, Robin Singh <[EMAIL PROTECTED]

Re: junit test

2006-01-23 Thread Henry Lu
xml-apis.jar xercesImpl.jar Remember, my application works just fine with all jar files. -Henry [EMAIL PROTECTED] wrote: what about XML? Cause: > org.xml.sax.SAXParseException: Attribute "namespace" is not declared for > element "sqlMap". > Caused by: org.xml.sax.SAXParseException: Attribu

Re: junit test

2006-01-23 Thread Henry Lu
Is there anyone who are using jdk 1.5 and JUnit test for ibatis? -Henry [EMAIL PROTECTED] wrote: what about XML? Cause: > org.xml.sax.SAXParseException: Attribute "namespace" is not declared for > element "sqlMap". > Caused by: org.xml.sax.SAXParseException: Attribute "namespace" is not > d

Re: junit test

2006-01-23 Thread Nathan Maves
If you are asking about the JUnit tests for the ibatis code then yes and no :) I have tried it and it will not work. You need to run the unit tests with 1.4. For now the plans looks like we might try to migrate to 1.5 when 1.6 comes out. Don't quote me on this but I would be a good thi

Re: junit test

2006-01-23 Thread Henry Lu
Thanks for your info! Why my application works with jdk 1.5 and JUnit doesn't with with jdk1.5? -Henry Nathan Maves wrote: If you are asking about the JUnit tests for the ibatis code then yes and no :) I have tried it and it will not work. You need to run the unit tests with 1.4. For n

Re: junit test

2006-01-23 Thread Nathan Maves
Your application work because java is backwards compatible. The build script, which includes the unit tests will not run with java 1.5. I think there are classloader issues that require you to mess with the dependancies. Just to reiterate there are no know issues with using ibatis on Java

Re: junit test

2006-01-23 Thread Henry Lu
I am using Junit test within the eClipse. -Henry Nathan Maves wrote: Your application work because java is backwards compatible. The build script, which includes the unit tests will not run with java 1.5. I think there are classloader issues that require you to mess with the dependancie

Re: junit test

2006-01-23 Thread Larry Meadors
I am using, and have built iBATIS with jdk1.5 - unit tests and all. IIRC, it was pissed about the lack of a xalan impl but once I put that in devlib it was happy. Larry On 1/23/06, Henry Lu <[EMAIL PROTECTED]> wrote: > I am using Junit test within the eClipse. > > -Henry > > Nathan Maves wrote:

Re: junit test

2006-01-23 Thread Henry Lu
Are you using EClipse for Junit testing? -Henry Larry Meadors wrote: I am using, and have built iBATIS with jdk1.5 - unit tests and all. IIRC, it was pissed about the lack of a xalan impl but once I put that in devlib it was happy. Larry On 1/23/06, Henry Lu <[EMAIL PROTECTED]> wrote:

Re: junit test

2006-01-23 Thread Nathan Maves
Larry was running it from the command line using ant. Nathan On Jan 23, 2006, at 2:30 PM, Henry Lu wrote: Are you using EClipse for Junit testing? -Henry Larry Meadors wrote: I am using, and have built iBATIS with jdk1.5 - unit tests and all. IIRC, it was pissed about the lack of a xalan

Re: alternatives to xml

2006-01-23 Thread Edwin Lukaweski
Maybe I made a mistake.   Is this the right list for this question?   thanks, Edwin   - Original Message - From: Edwin Lukaweski To: [email protected] Sent: Saturday, January 21, 2006 9:27 AM Subject: alternatives to xml Hi:       I am starti

Re: alternatives to xml

2006-01-23 Thread Jeff Butler
Clinton has talked about doing this in the past, but it is not supported now.  We are XML dependant.   Jeff Butler   On 1/23/06, Edwin Lukaweski <[EMAIL PROTECTED]> wrote: Maybe I made a mistake.   Is this the right list for this question?   thanks, Edwin   - Original Message - From: Ed

Re: alternatives to xml

2006-01-23 Thread Larry Meadors
You could sure hack open the SqlMapClientBuilder, and do it programmatically. Just today, we added a build script for linux, so it's easy to build with either Windows or mac/bsd/linux/etc... Larry PS: No, this is probably not the right list for this question - it is more of an "internals" questi