RE: [jira] Created: (IBATIS-215) BSF for dynamic queries

2005-11-30 Thread Tim Ding
Good Morning, My friends, Is there Inline Type Declaring for Update in iBatis? I know for Insertion that there is something like: insert into PRODUCT (PRD_ID, PRD_DESCRIPTION) values (#id:NUMERIC#, #description:VARCHAR#); But how about for Update case? Thanks! Tim Ding -Original Mes

[jira] Closed: (IBATISNET-128) Multiple Thtreads cannot open separate connections/transactions

2005-11-30 Thread Gilles Bayon (JIRA)
[ http://issues.apache.org/jira/browse/IBATISNET-128?page=all ] Gilles Bayon closed IBATISNET-128: -- Fix Version: DataMapper 1.3 Resolution: Duplicate Assign To: Gilles Bayon Already fixed in SVN > Multiple Thtreads cannot open separate

[jira] Commented: (IBATISNET-118) CacheKey.Equals(object) override can return true when the parameters have the same HashCode but are not equal.

2005-11-30 Thread Clinton Begin (JIRA)
[ http://issues.apache.org/jira/browse/IBATISNET-118?page=comments#action_12358971 ] Clinton Begin commented on IBATISNET-118: - Hey guys, would you like me to fix this one? > CacheKey.Equals(object) override can return true when the parameters ha

Re: [jira] Created: (IBATIS-215) BSF for dynamic queries

2005-11-30 Thread Nathan Maves
It is identical to the insert. I would also suggest using the more specific maps like and instead of the catch all . insert into PRODUCT ( PRD_ID, PRD_DESCRIPTION ) values ( #id:NUMERIC#, #description:VARCHAR# ) update PRODUCT set PRD_ID

Re: [jira] Commented: (IBATISNET-118) CacheKey.Equals(object) override can return true when the parameters have the same HashCode but are not equal.

2005-11-30 Thread Nathan Maves
I would but I am still working on getting the ant build process to work on my machine. I am close :) Nathan On Nov 30, 2005, at 2:32 PM, Clinton Begin (JIRA) wrote: [ http://issues.apache.org/jira/browse/IBATISNET-118? page=comments#action_12358971 ] Clinton Begin commented on IBATISN

[jira] Commented: (IBATISNET-118) CacheKey.Equals(object) override can return true when the parameters have the same HashCode but are not equal.

2005-11-30 Thread Gilles Bayon (JIRA)
[ http://issues.apache.org/jira/browse/IBATISNET-118?page=comments#action_12358972 ] Gilles Bayon commented on IBATISNET-118: The current code compares each parameter with both their hashcode and a value representation but if you could find a test

RE: [jira] Created: (IBATIS-215) BSF for dynamic queries

2005-11-30 Thread Tim Ding
Thank you, Nathan, But for update PRODUCT set PRD_ID = "#id:NUMBERIC", PRD_DESCRIPTION #description:VARCHAR# I find that if you change: PRD_DESCRIPTION #description:VA%%$$--0099# or PRD_DESCRIPTION #description:a# . it is still working without any exception. Howev

[jira] Commented: (IBATISNET-118) CacheKey.Equals(object) override can return true when the parameters have the same HashCode but are not equal.

2005-11-30 Thread Jeremy Gray (JIRA)
[ http://issues.apache.org/jira/browse/IBATISNET-118?page=comments#action_12358975 ] Jeremy Gray commented on IBATISNET-118: --- Gilles: Having reviewed the CacheKey code _again_ this fall (after first looking at it back in the spring) I can tell you th

Re: [jira] Commented: (IBATISNET-118) CacheKey.Equals(object) override can return true when the parameters have the same HashCode but are not equal.

2005-11-30 Thread Clinton Begin
The iBATIS for Java version compares the parameters using the same values that are sent to the database, which means all values compared are primitive (with equals and hashcode consistently implemented by the core class library). Something similar could be done in the .NET version.  Like I said,

[jira] Commented: (IBATIS-226) Support Commons DBUtils ResultSetHandler

2005-11-30 Thread Paul Benedict (JIRA)
[ http://issues.apache.org/jira/browse/IBATIS-226?page=comments#action_12359001 ] Paul Benedict commented on IBATIS-226: -- I haved talked with Larry privately about these ideas and now I am taking them public for review. I think we can provide callback

RE: [jira] Commented: (IBATISNET-118) CacheKey.Equals(object) override can return true when the parameters have the same HashCode but are not equal.

2005-11-30 Thread Jeremy Gray
Excellent news. I was thinking of something along the same general lines, as it would not only bring the equality semantics into line it could also bring a single solution to bear on both application-provided maps and maps generated from a parameter-mapped application-provided objects. I’ll

[jira] Commented: (IBATIS-226) Support Commons DBUtils ResultSetHandler

2005-11-30 Thread Paul Benedict (JIRA)
[ http://issues.apache.org/jira/browse/IBATIS-226?page=comments#action_12359002 ] Paul Benedict commented on IBATIS-226: -- Chaining also allows people to insert their own utility tasks such as white-space trimming (http://issues.apache.org/jira/browse/I