you need to use the string substitution option.
$value$
nathan
On Tue, Aug 25, 2009 at 4:15 PM, Evan McQuinn wrote:
> Hello -
>
> I'm trying to run an alter table command to swap partitions in a large
> Oracle table. I haven't found any documentation regarding alter table in
> iBatis specifical
Answered my own question:
I just discovered that I'd missed the subtle syntax difference between
dynamically provided parameters and actual chunks of sql; I need to use
$value$ instead of #value#.
Sorry 'bout that.
- Evan
Evan McQuinn wrote:
Hello -
I'm trying to run an alter table comma
Hello -
I'm trying to run an alter table command to swap partitions in a large
Oracle table. I haven't found any documentation regarding alter table in
iBatis specifically, so I'm using the update mapping. Seems
straightforward enough, but for some reason my inline #value# parameter
is not be
Clinton is right, I tried this with many different varieties of generic
interface and it worked for me every time.
So we need your test case that reproduces the problem.
Jeff Butler
On Thu, May 15, 2008 at 4:52 PM, Clinton Begin <[EMAIL PROTECTED]>
wrote:
> Generics should work fine. I have
Generics should work fine. I haven't read this whole thread about the
inheritance yet, but generics such as this should work without problems, as
long as PK is a simple type, *OR*, you create a custom type handler for
whatever you're using for the PK.
public interface BaseDomain
{
publ
As to why, it is because there is a large install base of iBATIS users and
we have committed that the iBATIS 2.x releases will run with JDK 1.4.
As for the future, look here:
http://opensource.atlassian.com/confluence/oss/display/IBATIS/iBATIS+3.0+Whiteboard
Jeff Butler
On Thu, May 15, 2008 at
But... why? Is this a design decision? Are there any plans to support generics
in the future?
Thiago
Jeff Butler wrote:
Ahhh...this is far beyond the introspection capability of iBATIS.
iBATIS is built for JDK 1.4 and will not understand these types of getters.
Jeff Butler
On Thu, May 15,
PM, Thiago F. G. Albuquerque
>><[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
>>
>> Hi,
>>
>> When I have a inherited getter in the domain
Hi,
When I have a inherited getter in the domain object and the
corresponding attribute appears in an inline parameter map, I
get a
NullPointerException:
Caused by:
com.ibatis.common.jdbc.exception.NestedSQLException:
gt;>When I have a inherited getter in the domain object and the
>>corresponding attribute appears in an inline parameter map, I get a
>>NullPointerException:
>>
>>Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:
>> --- The
a inherited getter in the domain object and the
corresponding attribute appears in an inline parameter map, I get a
NullPointerException:
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in Evento.abator.sqlmap.xml. --- The error
oc
tribute appears in an inline parameter map, I get a NullPointerException:
>
> Caused by: com.ibatis.common.jdbc.exception.NestedSQLException: --- The
> error occurred in Evento.abator.sqlmap.xml. --- The error occurred while
> applying a parameter map. --- Check the
> Evento.a
Hi,
When I have a inherited getter in the domain object and the corresponding
attribute appears in an inline parameter map, I get a NullPointerException:
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in Evento.abator.sqlmap.xml.
--- The error
Hi,
How do you specify default values for inline parameter maps -
For example, in the following insert snippet that maps a Product domain
to a PRODUCT table,
the 3 values (id, description and price) for PRODUCT come from
attribute's of the Product domain class,
insert into PRODUCT v
://www.nabble.com/Inline-Parameter-Mapping---Update-Statement-tf3078944.html#a8554716
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
The documentation shows these advanced properties for inline parameter
mapping:
#propertyName,javaType=?,jdbcType=?,mode=?,nullValue=?,handler=?,numericScale=?#
That is fine for syntax like an insert statement, but for an update
statementwhere we need to say columnName = value...how do I do
I'm actually with Leon on this oneI prefer inlining as much as
possible, even if it means defining additional properties inside the
inline parameter.
If we are to ever fully support a full featured Java/C# config API
(i.e. no XML), this might become more important...not only for
param
flexibility and readability
doing so?
Larry
On 7/5/05, Leon van Tegelen <[EMAIL PROTECTED]> wrote:
> Hi
>
> Is it possible to specify the MODE of a parameter (IN/OUT/INOUT) in an
> inline parameter ? Curently I'm using a parameter map as input for a
> stored procedure
Hi
Is it possible to specify the MODE of a parameter (IN/OUT/INOUT) in an
inline parameter ? Curently I'm using a parameter map as input for a
stored procedure call, but I'd rather us a parameterClass.
Thanks in advance
Leon van Tegelen
--
Leon van Tegelen
Cumquat Information
19 matches
Mail list logo