iBATIS docs/book by Sandeep Jain

2006-11-14 Thread Clinton Begin
Hi all, Wow, so many amazing contributions these days! Sandeep Jain has written documentation, or what is practically a book, on iBATIS. It's available for free in electronic format. http://simplerj2ee.com/ Have a look and let us all know what you think. Sandeep has entertained the idea of co

iBATIS Annotations - one implementation

2006-11-14 Thread Clinton Begin
Hi all, Alex has written a blog entry and some proof-of-concept code around configuring iBATIS with Annotations. In his example he used the JCP Ease-of-Development syntax that's been dropped for JDK 6.0/JDBC 4.0. Alex's example isn't ready for primetime yet, but have a look at what he's done,

Re: Simple questions

2006-11-14 Thread Jeff Butler
I suppose there is a language issue here - I do not understand your question. Maybe if you posted some Java code and XML we could help. Jeff Butler On 11/14/06, soussou97 <[EMAIL PROTECTED]> wrote: Hi Jeff; In the developer's guide or in the question "How do I get around the N Plus 1 selec

Re: com.ibatis.sqlmap.client.SqlMapException: Duplicate prepared statement found. This is likely a bug.

2006-11-14 Thread Brandon Goodin
Please post your code involved in producing this. Post sqlmap config, dao java code, and bean java code.BrandonOn 11/14/06, Peter Andrews < [EMAIL PROTECTED]> wrote:I am sorry if this has been discussed previously -- the mail archives seem to be currently unavailable (get network connection error).

RE: Abator Bug: Bean Name Capitalization

2006-11-14 Thread Craig Jones
Title: Message Jeff,   >> In the meantime, you can probably workaround the issue by specifying the correct property name in a   Yes, columnOverrides have got me going, so take your time fixing Abator.    Thanks.    // Craig

Re: Can I use resultMap for insert?

2006-11-14 Thread Carfield Yim
So I have to accept the duplication of those parameters for insert and select? Because for me case they will be existlly same puneet arya wrote: > > hi, > use it different instead of putting in one and as larry told use > parameterMap for insert statement.. > > Puneet Arya > > Larry

Re: Simple questions

2006-11-14 Thread soussou97
Hi Jeff; In the developer's guide or in the question "How do I get around the N Plus 1 selects problem" I'am sorry but the call : getProductListByCategory with the input parameter cat_id must returns a object of type "com.ibatis.example.Category" but no a list ? I search only one category object

com.ibatis.sqlmap.client.SqlMapException: Duplicate prepared statement found. This is likely a bug.

2006-11-14 Thread Peter Andrews
I am sorry if this has been discussed previously -- the mail archives seem to be currently unavailable (get network connection error). I am getting an error. The error message is different between 2.2.0 and the subversion latest. The error in the subject line is from the subversion code. In th

Re: Abator Bug: Bean Name Capitalization

2006-11-14 Thread Jeff Butler
Thanks for reporting this.  I'll work on a fix, but it probably won't be until the weekend.   In the meantime, you can probably workaround the issue by specifying the correct property name in a   Jeff Butler  On 11/14/06, Craig Jones <[EMAIL PROTECTED]> wrote: Hello All, I have a bug to report.

Re: Can I use resultMap for insert?

2006-11-14 Thread puneet arya
hi,    use it different instead of putting in one and as larry told use parameterMap for insert statement..   Puneet AryaLarry Meadors <[EMAIL PROTECTED]> wrote: Not a resultMap, but you can use a parameterMap as explained in the user guide.LarryOn 11/14/06, Carfield Yim <[EMAIL PROTECTED]>wrot

Re: Can I use resultMap for insert?

2006-11-14 Thread Larry Meadors
Not a resultMap, but you can use a parameterMap as explained in the user guide. Larry On 11/14/06, Carfield Yim <[EMAIL PROTECTED]> wrote: We've already create a resultMap for select data from database. However we need to retype everything for insert query, like insert into PRODUCT (

Re: Simple questions

2006-11-14 Thread Jeff Butler
Please stop asking the same question over and over again.   1. Please read the developer's guide regarding N+1 queries and complex properties   2. Do you have a question about multiple databases, or is this just a statement of fact?   Jeff Butler  On 11/14/06, soussou97 <[EMAIL PROTECTED]> wrote: H

Abator Bug: Bean Name Capitalization

2006-11-14 Thread Craig Jones
Title: Abator Bug: Bean Name Capitalization Hello All, I have a bug to report.  I just joined this mailing list, so pardon me if this is a rehash, but I didn’t see any mention of the issue in JIRA, which prompted me to come here. It looks like Abator incorrectly capitalizes property names

Can I use resultMap for insert?

2006-11-14 Thread Carfield Yim
We've already create a resultMap for select data from database. However we need to retype everything for insert query, like insert into PRODUCT (PRD_ID,PRD_DESCRIPTION) values (#id#,#description#) SELECT STOCKIDSEQUENCE.NEXTVAL AS ID FROM DUAL Can I

Simple questions

2006-11-14 Thread soussou97
Hi; 1-/ How implement the call to get only one object matching a catID in using example : CategorisedProductList with properties Category cat; List prodList; is like this : return (CategorisedProductList ) queryForObject("getCategorisedProduct", catID) ? 2-/ My DAO use 3 databases with JDBC