IBator mapper calls all getters, not just the ones it needs

2010-04-20 Thread Morearty, Brian
Hi, I'm using iBATIS 3 with a IBator 1.2.2. I used IBator to generate my models in Eclipse. Then I added some more functions to the code-generated classes, taking advantage of the nifty feature where it doesn't clobber my changes. I've just discovered that when I call

RE: IBator mapper calls all getters, not just the ones it needs

2010-04-20 Thread Morearty, Brian
of days ago. Recompile ibatis and you'll be good to go. Jeff Butler On 4/20/10, Morearty, Brian brian_morea...@intuit.com wrote: Hi, I'm using iBATIS 3 with a IBator 1.2.2. I used IBator to generate my models in Eclipse. Then I added some more functions to the code-generated classes, taking

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 classPathEntry element in Ibator config only allows an absolute path: classPathEntry location=C:/oraclexe/app/oracle/product/10.2.0/server/jdbc/lib/ojdbc6.j

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

2010-03-31 Thread Morearty, Brian
. Jeff Butler On Wed, Mar 31, 2010 at 3:27 PM, Morearty, Brian brian_morea...@intuit.com wrote: My team is using Ibator 1.2.2 in Eclipse. We happen to have our Oracle installations in different directories. It looks like the classPathEntry element in Ibator config only allows an absolute path

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

2010-03-31 Thread Morearty, Brian
. 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, 2010 at 3:46 PM, Morearty, Brian

RE: Eclipse error when running Ibator

2010-03-26 Thread Morearty, Brian
Eclipse distribution? etc.) 2. (not so obvious) This looks to be failing in the code formatter. I'd take a close look at the Java code formatting options on the failing machine - what's different there? Jeff Butler On Thu, Mar 25, 2010 at 7:41 PM, Morearty, Brian brian_morea...@intuit.com wrote: Hi

RE: newbie Q: get back generated key with Oracle

2010-03-26 Thread Morearty, Brian
: Friday, March 26, 2010 1:01 PM To: user-java@ibatis.apache.org Subject: Re: newbie Q: get back generated key with Oracle This is an Ibator issue and it's an interesting case that I had not considered previously. I'll fix it. Jeff Butler On Wed, Mar 24, 2010 at 5:33 PM, Morearty, Brian

Eclipse error when running Ibator

2010-03-25 Thread Morearty, Brian
Hi, My team has 3 developers. One of us is having the following problem. The other two of us are not. Does anyone have ideas for how to fix this? We are using Ibator 1.2.2. Right-click on IbatorConfig.xml and choose Generate iBATIS Artifacts. Progress bar goes part-way, then shows this

newbie Q: get back generated key with Oracle

2010-03-24 Thread Morearty, Brian
Hi, here's a newbie question: I'm using iBATIS, Ibator, and Oracle. I have a businesses table. I also created a businesses_sequence sequence so I can autogenerate primary keys. (Apparently Oracle does it that way instead of allowing an autoincrement column.) How do I get back the primary

RE: newbie Q: get back generated key with Oracle

2010-03-24 Thread Morearty, Brian
the id property on the Business bean passed in as a parameter. Larry On Wed, Mar 24, 2010 at 12:11 PM, Morearty, Brian brian_morea...@intuit.com wrote: Hi, here's a newbie question: I'm using iBATIS, Ibator, and Oracle. I have a businesses table. I also created a businesses_sequence sequence

RE: newbie Q: get back generated key with Oracle

2010-03-24 Thread Morearty, Brian
a workaround: always insert a dummy ID of 0 before calling insertSelective. But it would be nice if I didn't have to. Not sure what the best solution is but it seems like it would be nice to fix. Brian -Original Message- From: Morearty, Brian [mailto:brian_morea...@intuit.com] Sent

RE: Ibator 1.2.2 Eclipse jars not published

2010-03-14 Thread Morearty, Brian
them automagically! SomeMapper mapper = sqlSession.getMapper(SomeMapper.class); Jeff On Fri, Mar 12, 2010 at 9:11 PM, Morearty, Brian brian_morea...@intuit.com wrote: Thanks, Jeff.  The existing doc is pretty good, just needs a few extra things. Also since I'm not doing anything special

Ibator 1.2.2 Eclipse jars not published

2010-03-12 Thread Morearty, Brian
Hi, I am starting a new project with iBATIS 3 and Ibator. I am successfully using Ibator 1.2.2 from the command line but we'd like to use the Eclipse version of Ibator so we can add methods to the generated models and not have them clobbered. Can someone point me to instructions for either

RE: Ibator 1.2.2 Eclipse jars not published

2010-03-12 Thread Morearty, Brian
the PDE build, the resulting file is placed on your hard drive in the \Temp\ibator.build\I.TestBuild directory. You can unzip that file directly into an eclipse install and it should work fine. Jeff Butler On Fri, Mar 12, 2010 at 12:24 PM, Morearty, Brian brian_morea...@intuit.com wrote: Hi

RE: Ibator 1.2.2 Eclipse jars not published

2010-03-12 Thread Morearty, Brian
: Friday, March 12, 2010 12:35 PM To: user-java@ibatis.apache.org Subject: Re: Ibator 1.2.2 Eclipse jars not published Run the build.xml file in the build project. Jeff Butler On 3/12/10, Morearty, Brian brian_morea...@intuit.com wrote: Hmm, I must have done something wrong. As instructed

RE: Ibator 1.2.2 Eclipse jars not published

2010-03-12 Thread Morearty, Brian
=Ibator Version 1.2 description Versions of the Ibator Source featured based on Ibator version 1.2 and Eclipse version 3.4.1 /description /category-def /site -Original Message- From: Morearty, Brian [mailto:brian_morea...@intuit.com] Sent: Friday, March 12, 2010 4

RE: Ibator 1.2.2 Eclipse jars not published

2010-03-12 Thread Morearty, Brian
  category-def name=Ibator Source Version 1.2 label=Ibator Version 1.2      description         Versions of the Ibator Source featured based on Ibator version 1.2 and Eclipse version 3.4.1      /description   /category-def /site -Original Message- From: Morearty, Brian