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
[ 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
[
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
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
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
[
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
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
[
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
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,
[
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
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
[
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
12 matches
Mail list logo