How to implement in SelectBuilder?

2010-03-31 Thread Paul Spencer
I am use the SelectBuilder to generate query statement. I have a need to generate an IN clause. If I where to do this using sql-map.xml, I would use a . WHERE ID in #{item} < /foreach> What is the equivalent in SqlBuilder? Paul Spencer --

Configuring Ibator's classpath for different machines (Eclipse)

2010-03-31 Thread Morearty, Brian
My team is using Ibator 1.2.2 in Eclipse. We happen to have our Oracle installations in different directories. It looks like the element in Ibator config only allows an absolute path: Is there a way to do parameter substitution in this file, either from a system environment variable

Re: Configuring Ibator's classpath for different machines (Eclipse)

2010-03-31 Thread Jeff Butler
You could use the element to point to a common property file, and then put the location of the JDBC driver in a property. Still ugly. The ibator menu option in eclipse is very limited - no control over the classpath, no ability to specify properties, etc. My suggestion is that you remove the el

RE: Configuring Ibator's classpath for different machines (Eclipse)

2010-03-31 Thread Morearty, Brian
Thanks for the suggestion. We like the Eclipse-Ibator feature that lets us regenerate without clobbering custom code we've added to the model objects, so I think Ant isn't an option for us. That's ok. It's not too super-painful to make sure we all put one jar in a consistent place. Brian

Re: Configuring Ibator's classpath for different machines (Eclipse)

2010-03-31 Thread Jeff Butler
I think you misunderstood me. There is an Ant task built into Eclipse for Ibator. It includes the "don't clobber on regenerate" capabilities. This is different than the regular ant task in the base Ibator distribution. Check it out! It does exactly what you need. Jeff Butler On Wed, Mar 31,

RE: Configuring Ibator's classpath for different machines (Eclipse)

2010-03-31 Thread Morearty, Brian
Ooh, that sounds good. Thanks. -Original Message- From: Jeff Butler [mailto:[email protected]] Sent: Wednesday, March 31, 2010 1:54 PM To: [email protected] Subject: Re: Configuring Ibator's classpath for different machines (Eclipse) I think you misunderstood me. There is