Re: dynamic resultmap?

2008-10-22 Thread joson yu
look into the sql / and include/ elements?i met this problem too.could you show me some example? thanks

Re: R: insert statement

2008-12-28 Thread joson yu
hi,all.in this state. insert into some_table ( id, state, date ) values ( #id:NUMERIC#, #state:VARCHAR#, #date:DATE# ) #state:VARCHAR#,in the configure file,we can set the column's type.but is there anyway to set it's length. if we can do that the check work will be more easy

how to make log manager system.

2008-12-30 Thread joson yu
to everyone in my application,we has to develop a log manage system. we need to know the sql witch has executed in the sqlmap. so ,is there any method to get the sql. 3ks

Re: resultMap must be declared for element type parameter.

2009-01-04 Thread joson yu
hi,all. i have some other questions. i need to get the sql witch had executed to develop a log manager system.for ibatis,is there anyway to get it? 3ks!

Re: Spring - Ibatis Stored Procedure Call

2009-01-04 Thread joson yu
hi,all. i have some other questions. i need to get the sql witch had executed to develop a log manager system.for ibatis,is there anyway to get it? 3ks!

Re: about log sql

2009-01-05 Thread joson yu
to niels: you said:Another possibility is to write your own proxies for Connection/Statement/PreparedStatement and provide custom factories for this. i am not get your means.from the proxies,how can i get the sql ,from the Connection? the Statement?the PreparedStatement?i think, the proxy method

about log sql

2009-01-05 Thread joson yu
hi,all. i have some other questions. i need to get the sql witch had executed to develop a log manager system.for ibatis,is there anyway to get it? 3ks!

Re: about log sql

2009-01-05 Thread joson yu
-- *From:* joson yu [mailto:yuqian...@gmail.com] *Sent:* Monday, January 05, 2009 12:15 PM *To:* user-java@ibatis.apache.org *Subject:* about log sql hi,all. i have some other questions. i need to get the sql witch had executed to develop a log manager

Re: about log sql

2009-01-05 Thread joson yu
hi ,niels. i think you have miss my question.i know how to log the sql to the console,but now,i need the way to get the sql and save it in the db in my app .you know that the log manager system need to record the infomation for analysis.

Re: Trouble with SQL SERVER 2005

2009-05-26 Thread joson yu
Is there anymethod to get the sql string in the config file which will run when called. in my system,i need to record the sql string as log infomation,is there anyway. Notice,i know how to print the sql with log4j. but i don't have any idea to use it.

how to get the sql string

2009-05-26 Thread joson yu
Is there anymethod to get the sql string in the config file which will run when called. in my system,i need to record the sql string as log infomation,is there anyway. Notice,i know how to print the sql with log4j. but i don't have any idea to use it.

Re: how to get the sql string

2009-05-26 Thread joson yu
(maybe something like hibernate does ?). On Tue, May 26, 2009 at 11:52 AM, joson yu yuqian...@gmail.com wrote: Is there anymethod to get the sql string in the config file which will run when called. in my system,i need to record the sql string as log infomation,is there anyway. Notice,i

Re: Suggest that resultMap add a ignoreNotExists attribute.

2009-06-18 Thread joson yu
hi liangfei: i meet a situation,just like your example,i need to use the same resultmap with the two query. and currently ,is there any way to attain the aim. 2009/6/2 liangfei liangfei0...@gmail.com Suggest that resultMap add a ignoreNotExists attribute: resultMap id=xresult class=xclass

Re: db2 -302 error

2010-03-22 Thread joson yu
ps:in the sql the parameter should passed in with String that is longger than 30. 2010/3/23 joson yu yuqian...@gmail.com there is an error happend in my situation.and want to know is there anyone else meet this problem. i use ibatis2. the database is used db2. sql: select [columns] from

Re: db2 -302 error

2010-03-22 Thread joson yu
are not using a parameter marker but have value as a literal inside the SQL statement string. cheers Mario joson yu yuqian...@gmail. com To user-java

Re: db2 -302 error

2010-03-23 Thread joson yu
are not using a parameter marker but have value as a literal inside the SQL statement string. cheers Mario joson yu yuqian...@gmail. com To user-java

Re: db2 -302 error

2010-03-23 Thread joson yu
a parameter marker, then DB2 will NOT 'constraint the value to the db column length ' cheers Mario joson yu yuqian...@gmail. com To user-java@ibatis.apache.org