I might be missing your question, but... Your ibatis query is
wildcarded on both sides versus your straight SQL one. Try removing
the first %.
On Wednesday, September 23, 2009, quinya wrote:
>
> Not sure if I understand right but can't you just do...
>
> select * from Someone where UPPER(name) l
Hi Ant,
I'm not tremendously familiar with PL/SQL stored procedures, but it doesn't
look like you're returning anything from yours.
I think what's happening is the queryForObject method is looking for a
return parameter and not finding anything.
If the procedure really doesn't need to return any
Hi Chad,
As far as I know there's no preferred delimiter. In some conversations I've
had with Jeff, he's suggested commas were a good way to go.
I've done something similar before with a plugin, adding a Spring @Service
annotation to my generated DAOs, but nothing as generic as you're trying.
I
-user-java/200901.mbox/%3c35dbee350901190659t668c375as2a1cbba564cf7...@mail.gmail.com%3e
Hope this helps.
Dan Turkenkopf
On Fri, Jun 12, 2009 at 7:35 AM, andig wrote:
>
> I'm trying to run Ibator on Eclipse seeing this error:
>
>
> !ENTRY org.apache.ibatis.ibator.eclipse.
a SQL Map configuration file and
that must contain at least one reference to a SQL map. I have the main
config file point to an empty SQL map so I can load all my real
configurations through the Spring mechanism. It's not an ideal solution,
but it meets my needs.
Hope this helps,
Dan Turkenko
hat are part of the Eclipse
platform. There's no easy way to accomplish the same task running outside
Eclipse. I know Jeff has talked about implementing it in the past, but it's
a whole lot of work to do right.
Hope this helps,
Dan Turkenkopf
On Fri, May 22, 2009 at 7:53 PM, Nathan
Hi Shao,
It looks like you've run into a bug in the current release of Ibator where
the DAO generator is required. It's been fixed in Subversion, so you can
either build from source or add the daoGenerator element to your config.
Here's an example:
Hope t
responsible for.
Jeff or someone else can correct me if it's different inside Eclipse.
One way to make sure this sticks would be to create a plugin that adds the
proper annotation for you. You'd want to override the modelFieldGenerated
method from IbatorPluginAdapter.
Hope this helps,
I think you'll need to extend the IntrospectedTable class and override the
getExampleType method. This isn't something that can be easily done through
the plugin mechanism.
Instructions for extending Ibator can be found here:
http://ibatis.apache.org/docs/tools/ibator/reference/extending.html
Ho
Clinton added support for
> private properties in August 2006! :)
>
> Jeff Butler
>
> On Wed, Dec 3, 2008 at 7:25 PM, Dan Turkenkopf <[EMAIL PROTECTED]> wrote:
> > Maybe I'm just missing something, but I thought that iBATIS required the
> > objects used in a resul
ation.
To my surprise, when I removed the setters from my domain object, everything
still seemed to work.
Did I miss this functionality being introduced?
Thanks,
Dan Turkenkopf
Here's my domain object:
public class Master {
private String id;
private String firstName;
priv
Hi Ben,
You can't generate from a query, but you can generate from a view.
I don't know if that will help in your case, but it is an option.
Regards,
Dan Turkenkopf
On Thu, Nov 20, 2008 at 5:53 AM, charlie bird <[EMAIL PROTECTED]> wrote:
> Don't think so.
> I
uld
create a plugin that implements
themodelExampleClassGenerated(TopLevelClass, IntrospectedTable)method
which might allow you to change the package for the TopLevelClass
passed into it.
Hope this helps,
Dan Turkenkopf
On Fri, Nov 14, 2008 at 7:54 AM, Gilles Schlienger <[EMAIL PROTECTED]>wrote:
> Hi all,
&
k into it.
>
> In the meantime, if you add plugin.jar to the ibator classpath on the
> it should work.
>
> Jeff Butler
>
> On Mon, Oct 13, 2008 at 10:30 AM, Dan Turkenkopf <[EMAIL PROTECTED]>
> wrote:
> > I'm trying to build my first Ibator plugin against th
sses.
I'm sure it's a pretty straightforward fix, but I'm not sure what I'm doing
wrong.
Thanks for the help,
Dan Turkenkopf
My build.xml looks like this:
15 matches
Mail list logo