Re: removeFirstPrepend problem - possible bug

2009-04-26 Thread esemba
e.org/jira/browse/IBATIS-430 > > If I only had time to fix it ;-( > > Regards > > Kai > > --- Original Nachricht --- > Absender: esemba > Datum: 25.04.2009 18:51 >> I've foung weird behavior of dynamic tag. When I have without >> prepend attribute, i

removeFirstPrepend problem - possible bug

2009-04-25 Thread esemba
I've foung weird behavior of dynamic tag. When I have without prepend attribute, it doesn't strip first child's prepend. I'll post the truncated code here: ... ... ... Here, if property searchMetadata is false and property searchTypeBetweenMetadataAndFulltextString is equal t

Re: dynamic prepend problem

2009-03-30 Thread esemba
Hi, ibatis uses commons logging and I use log4j in my application. So you only need set DEBUG level for ibatis and check the log for generated statements. Lukas omnipresent wrote: > > your question is already answered but could you tell me how can you see > the > sql code that ibatis generates

Re: dynamic prepend problem

2009-03-30 Thread esemba
Thanks, I guess I'm kind of overworked today :) Do you know why my example doesn't work? Larry Meadors wrote: > > Why not just say this: > > > and theses_categories.id = #categoryId# > > > Larry > > -- View this message in context: http://www.nabble.com/dynamic-prepen

dynamic prepend problem

2009-03-30 Thread esemba
Hi, I have this sql map: ... select theses.id as id, ... ... where theses_documents.index @@ to_tsquery('cs', #queryFulltext#) theses_categories.id = #categoryId# ... This sql map throws me an sytax error. When I check SQL code ibatis has