Re: Ibator plugin use and future plans

2009-06-23 Thread Chad McHenry
On Mon, Jun 22, 2009 at 10:45 AM, Jeff Butler jeffgbut...@gmail.com wrote: Several topics: 1. Java file merging The code for merging Java files is only in the Eclipse plugin. It uses the Eclipse AST parser and AST rewriter and cannot run outside of Eclipse. If you want to merge Java code,

Re: N+1 Null value objects

2009-06-23 Thread David Brown
Hello, I just finished reading about N+1 in the IBatis doco. HTH. - Original Message - From: Zoran Avtarovski zo...@sparecreative.com To: iBatis Java Mail List user-java@ibatis.apache.org Sent: Tuesday, June 23, 2009 12:04:18 AM GMT -06:00 US/Canada Central Subject: N+1 Null value objects

RE: Question about Dynamic and iterator

2009-06-23 Thread Poitras Christian
I would try select id=getMyInfi resultClass=com.myclass.Table1 parameterClass=java.util.List SELECT col1, col2 FROM table1 dynamic prepend=where iterate prepend=AND property= open=( close=) conjunction=OR col3=#[]# /iterate /dynamic /select But, you need to have a type handler registered for the

Can iBATOR generate null value replacement code?

2009-06-23 Thread Paranjpe, Satish D.
Hello, I am trying to find out if iBATOR supports generating nullValue replacement code for columns in a table. For e.g. Let's say I have a table with one column config. I would like iBATOR to generate the following ( which I do when I am not using iBATOR) resultMap id=ReportItemResult

Re: Ibator plugin use and future plans

2009-06-23 Thread Jeff Butler
Warning - heavy Eclipse acronyms follow! The Java AST is a part of JDT (not EMF). So there needs to be a standalone version of JDT. I haven't looked into that for a couple of years, but it seems that there is some separate JDT SDK available for download now at the Eclipse site - so maybe it's

Re: Ibator plugin use and future plans

2009-06-23 Thread Jeff Butler
This looks very cool! Are you saying that WebExplore does support Java merging? If so then I'd be interested in seeing the code. Also, I would like to know about any bugs you've fixed in Ibator so we can include them in the base distribution. And if there's anything else you would like to see

unsubscribe

2009-06-23 Thread Rao, Mallesh (Penske)

Re: Ibator plugin use and future plans

2009-06-23 Thread Jeff Butler
I took a quick look and see that you are using this Java parser: http://code.google.com/p/javaparser/ This project seems fairly new. I wonder how stable the project is? http://code.google.com/p/javaparser/Jeff Butler 2009/6/23 Jeff Butler jeffgbut...@gmail.com This looks very cool! Are you

Re: Can iBATOR generate null value replacement code?

2009-06-23 Thread Jeff Butler
Ibator does not support this. BTW - iBATIS3 will not support nullValue replacement. It would be better to stop using nullValue now in preparation for the future. Jeff Butler On Tue, Jun 23, 2009 at 9:51 AM, Paranjpe, Satish D. sat...@mitre.orgwrote: Hello, I am trying to find out if

Re: unsubscribe

2009-06-23 Thread Larry Meadors
http://ibatis.apache.org/mailinglists.html

Re: N+1 Null value objects

2009-06-23 Thread Jeff Butler
This maybe? http://issues.apache.org/jira/browse/IBATIS-375 http://issues.apache.org/jira/browse/IBATIS-375Jeff Butler On Tue, Jun 23, 2009 at 12:04 AM, Zoran Avtarovski zo...@sparecreative.comwrote: I’ve come across a problem I haven’t seen for long time. I’m running an n+1 query. If the

RE: Can iBATOR generate null value replacement code?

2009-06-23 Thread Paranjpe, Satish D.
OK - Thanks ! -- Satish From: Jeff Butler [mailto:jeffgbut...@gmail.com] Sent: Tuesday, June 23, 2009 11:17 AM To: user-java@ibatis.apache.org Subject: Re: Can iBATOR generate null value replacement code? Ibator does not support this. BTW - iBATIS3 will not support nullValue replacement. It

Re: Can iBATOR generate null value replacement code?

2009-06-23 Thread Arvinder Narula
unsubscribe On Tue, Jun 23, 2009 at 11:16 AM, Jeff Butler jeffgbut...@gmail.com wrote: Ibator does not support this. BTW - iBATIS3 will not support nullValue replacement. It would be better to stop using nullValue now in preparation for the future. Jeff Butler On Tue, Jun 23, 2009 at

Re: Ibator plugin use and future plans

2009-06-23 Thread Larry Meadors
On Tue, Jun 23, 2009 at 8:54 AM, Jeff Butlerjeffgbut...@gmail.com wrote: Warning - heavy Eclipse acronyms follow! Why does the theme song to the Mickey Mouse show keep running through my head after reading this? ;-) Larry

Re: N+1 Null value objects

2009-06-23 Thread Zoran Avtarovski
Bingo. Thanks Jeff. Now the hard part, the DTD at http://ibatis.apache.org/dtd/sql-map-2.dtd hasn¹t been updated to include the notNullColumn property so Tomcat is complaining. Do you know if it¹s an oversight and the DTD is going to be updated or should I point to a local version? Z. This

Re: Ibator plugin use and future plans

2009-06-23 Thread Kenny Liu
Hi, Jeff! Java parser is a new project based on javacc. And the design of Java parser is similar to Eclipse, it also supports Annotation, that's why I choose it as java code parser. I also do some testing according to different case before really determine to use it. I satisfy with it because