Re: Some problem with the tag

2006-05-03 Thread Akhil Kodali
Hi,Thanks man. It works perfectly.On 5/3/06, Nathan Maves <[EMAIL PROTECTED]> wrote: This is a common problem.  You need to understand how ibatis maps the properties of an object.  It uses the java bean specification. I would try and change your map to look like        insert into Test_Emp   

Re: Spring bean implements dao interfaces automatically based on iBatis

2006-05-03 Thread zhang shaohua
I think this is a good job:) 2006/4/28, suntoe <[EMAIL PROTECTED]>: http://dao-zero.sourceforge.netDaoZero is a small Java Spring bean class that can be used to reduce source of persistence tier which bases on Spring's iBatis support. It's not awrapper of Spring iBatis support, but to replace your

RE: boolean type handler

2006-05-03 Thread Niels Beekman
I think you should remove the jdbcType-attribute from the typeHandler-tag, see:   http://www.mail-archive.com/user-java@ibatis.apache.org/msg03985.html   Niels   From: Paul Allen [mailto:[EMAIL PROTECTED] Sent: woensdag 3 mei 2006 19:05 To: user-java@ibatis.apache.org Subject

RE: boolean type handler

2006-05-03 Thread Paul Allen
--- Here's my SQL Map Config. --- RE: boolean type handler
Hi, Could you post the actual typehandler code and the piece of SQLMap where you use it? -Original Message- From: Paul Allen [mailto:[EMAIL PROTECTED] Sent: woensdag 3 mei 2006 18:32 To: user-java@ibatis.apache.org Subject: boolean type handler I've seen some threads that describe how

boolean type handler

I've seen some threads that describe how to make a custom type handler to map from a Boolean bean property to a CHAR SQL type and I've implemented one version of them. What I am trying to get is this mapping: object property value --> DB value Boolean.TRUE --> "1" Boolean.FALSE --> "0" null -->

Re: Some problem with the tag

This is a common problem.  You need to understand how ibatis maps the properties of an object.  It uses the java bean specification.I would try and change your map to look like        insert into Test_Emp        (NAME, EMPNO)        values(#name#,#empNo#)Notice the lower case on the "Name" an

Some problem with the tag

Hi,I'm trying to use iBATIS over weblogic 8.1.I've attached the files.Sorry for sending so many attachments.The output error message is:=== Caused by:com.ibatis.common.beans.ProbeException: There is no READABLE property named 'Name' in class '

Re: Upgrade Problem iBATIS 1.3.1 -> iBATIS 2.1.7

Andre, Some of the methods did change in the 2.x conversion. Can you please post your actual code to the alias so that we can help you better. I would like to see your dao config class. Nathan On May 3, 2006, at 9:09 AM, [EMAIL PROTECTED] wrote: Hello, I have problems updating to iBATIS

Upgrade Problem iBATIS 1.3.1 -> iBATIS 2.1.7

Hello, I have problems updating to iBATIS 2.1.7. (We use Java 1.5) i 've replaced following jars: - ibatis-common.jar - ibatis-dao.jar - ibatis-sqlmap.jar - ibatis-sqlmap-1-x.jar (added) Following compile-errors occure (Eclipse SDK 3.1.2, MyEclipse 4.1.1): The method rollbackTransact

Re: PaginatedList example

Hi Eric, I'm not sure about a "right way" to manage the PaginatedList once we get it out of iBATIS; I suppose it depends on the application using it. Thus, I think some may consider this thread to be slightly off topic, but I agree that it would be nice to have some examples up on the wiki. For

PaginatedList example

I opened the JPetstore demo and it makes use of the PaginatedList, but does so through another class, called BeanAction, and also uses Struts logic and bean:define tags for working with the list. Is there an example out there that uses JSTL? I have something working right now, but I'm concerne

Adding new to during runtime

Hi, Is it possible to add a new insert/delete/etc during runtime to specified in the file? The reason or this is illustrated by the following scenario: 1) generate sqlMaps (we currently using Alex Egorov's perl script). Core insert/delete/select/etc statements are generated. 2) customise ge

RE: iBatis enhancements (Annotations and/or Dynamic beanutils support)

ahhh... now I see. Thanks for enlightening me guys. Brent -Original Message- From: Yusuf [mailto:[EMAIL PROTECTED] Sent: Tue 5/2/2006 9:15 PM To: user-java@ibatis.apache.org Cc: Subject:RE: iBatis enhancements (Annotations and/or Dynamic beanutils support) Oh... A