Thanks you, I will try it.
And foreign key will be supported by Ibator?
To generare something like this:
__
> Od: "Jeff Butler"
> Komu: user-java@ibatis.apache.org
> Datum: 13.11.2009 00:01
> Předmět: Re: ibator and enum
Hi Guy,
I'm glad you are finding some value from Ibator.
I have no plans to do a generate from a select statement. I'm not
opposed to it philosophically - I just have limited time right now.
Feel free to work on a patch if you are interested.
Jeff Butler
On Thu, Nov 12, 2009 at 1:34 AM, Guy R
Enum is not a standard JDBC type, so Ibator won't know what to do with it.
However, I just did a quick test and it works fine if you configure it
correctly. Steps:
1. You will need to define the corresponding Java enum yourself (foo.bar.MyEnum)
2. Then do a column override in the Ibator configu
Another issue that I found in ibator is that he doesn't support Enum type when
database has enum column. It generate pojo object as String for this field :-(
Will be this supported?
-
To unsubscribe, e-mail: user-java-unsubscr..
Open a JIRA ticket. If you can attach a path and a test case that
would be even better.
Jeff Butler
On Thu, Nov 12, 2009 at 12:17 PM, Byron Tymvios wrote:
> I have downloaded the latest trunk of iBatis 3 from SVN and did some
> debugging. It appears as if the composite key notation
> "#{param1
I have downloaded the latest trunk of iBatis 3 from SVN and did some
debugging. It appears as if the composite key notation
"#{param1=col1,param2=col2}" is never passed when building the
ResultMapping. This results in the composite key only being treated as a
regular column. The composites List
Done!
https://issues.apache.org/jira/browse/IBATIS-689
jon
On Thu, Nov 12, 2009 at 08:44:14AM -0700, Clinton Begin wrote:
> Nope, that's correct... the Configuration class is unaware of the methods by
> which it is created.
>
> We might be able to add a method to to SqlSessionFactory that w
Martin --
I think it could be, but I went ahead and filed a separate issue with a note
that it may be a dupe of yours (which I'm now watching):
https://issues.apache.org/jira/browse/IBATIS-689
Happy configurationizing!
jon
On Thu, Nov 12, 2009 at 04:52:05PM +, Martin Ellis wrote:
> I'v
I've already filed something similar:
https://issues.apache.org/jira/browse/IBATIS-682
Is that the same problem?
Cheers
Martin
On Thu, Nov 12, 2009 at 3:44 PM, Clinton Begin wrote:
> Nope, that's correct... the Configuration class is unaware of the methods by
> which it is created.
>
> We migh
Nope, that's correct... the Configuration class is unaware of the methods by
which it is created.
We might be able to add a method to to SqlSessionFactory that would allow
you to pass in a Configuration instance and a Reader...
Please file a Jira ticket for the request and we'll see what we can d
Both iBATIS 2 and 3 are targeted for Java 5. We believe this is the most
common ground for compatibility. We'll move up to 6 once there's a reason
to, and when we feel that the installed base of JDK 6 is sufficient.
That said, it does work fine under Java 6, it just doesn't require it.
Clinton
11 matches
Mail list logo