I have a business need for issue 225:
http://issues.apache.org/jira/browse/IBATIS-225
It's too cumbersome to repeat a large result set mapping in another
query when eager fetching is required (joining to get a related object).
I should be able to use @resultMap without needing a collection.
I am
I can have a look at it. I'm not sure what's involved, as that wasn't the
> original idea behind @resultMap. On the surface, it looks simple.
>
>
> Cheers,
> Clinton
>
>
> On 3/30/06, Paul Benedict <[EMAIL PROTECTED]> wrote:
> >
> >
team and committing it.
>
> If you like, feel free to email the dev list and ask for help from others.
>
> Cheers,
> Clinton
>
> On 4/6/06, Paul Benedict <[EMAIL PROTECTED]> wrote:
> >
> > Clinton, I have some time to devote to this. Do you? Here's my th
I am using version 2.1.5.582
My web application has a sqlMapConfig.xml file which is the bootstrap config
for ibatis. But the
actual configuration files which it refers ( elements) are in a jar.
Has anyone had this
problem?
I have verified that exploding the jar into my WEB-INF/classes directo
found.
--- Brandon Goodin <[EMAIL PROTECTED]> wrote:
> I place sqlmapconfig.xml in my jars without issue. Please state the
> version of ibatis you are using and post the code you are using to
> load your sqlmap config.
>
> Brandon
>
> On 6/10/06, Paul Benedict <[EMAI
As for code, no code. It's all configuration (see previous email). I am using
Spring to load this.
--- Paul Benedict <[EMAIL PROTECTED]> wrote:
> Brandon,
>
> I may have missed getting my configuration across. Here's the problem:
>
> 1. sqlmap
apache.org/repos/asf/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/resources/Resources.java
>
> Cheers,
> Clinton
>
> On 6/10/06, Paul Benedict <[EMAIL PROTECTED]> wrote:
> >
> > I am using version 2.1.5.582
> >
> > My web application ha
Brandon,
>>All i can tell you is that i have recently created an application that
uses Spring, iBATIS and is jarred up.
Forgive me, but based on the feedback I am getting, I am not convinced at all
that my problem is
being understood. Can you give me some confidence it is? As I said, this is not
Thanks everyone for your help. The problem is resolved.1) You cannot put sqlmapconfig in WEB-INF but your sqlmap files in jars. This splits the classloader and so one will be found but not the other. Either put them all in your classpath or in WEB-INF2) Do not start with a /Paul ___
The attribute is unnecessary. Just repurose removeFirstPreprend into a non-boolean value="true|false|iterate"Jeff Butler <[EMAIL PROTECTED]> wrote: I'd like to add a new attribute to the tag: removeFirstPrependOnEachIteration (true|false). The current removeFirstPrepend function on the tag work
ynamic tags. Would that be confusing? Jeff Butler On 6/19/06, Paul Benedict <[EMAIL PROTECTED]> wrote: The attribute is unnecessary. Just repurose removeFirstPreprend into a non-boolean value="true|false|iterate"
Jeff Butler <[EMAIL PROTECTED]> wrote: I'd like t
Jeff, thank you so much! I look forward to the 2.2 release with great anticipation. I have not seen a release schedule for this version; do you know when it is expected to go GA? -- Paul"Open Source User (JIRA)" wrote: [ http://issues.apache.org/jira/browse/IBATIS-225?page=comments#action_1241
Please provide a maven 2 pom and include the source for 2.2.0. One problem I have now is that ibatis has no source jar in M2, and so i can't step through ibatis when I'd like :-)Jeff Butler <[EMAIL PROTECTED]> wrote: Are you referencing this issue: http://issues.apache.org/jira/browse/IBATIS-122
new task I mentioned above is a SEPARATE source download that includes all of the build scripts and dev dependencies so that you can easily build the app yourself. Basically it's to help people who don't know how to use Subversion export. Cheers,ClintonOn 7/1/06, Paul Benedict <[EMAIL P
no problem stepping into iBATIS source. But that should be another discussion thread on the user list. This discussion is taking this thread far off topic. Jeff Butler On 7/1/06, Paul Benedict <[EMAIL PROTECTED]> wrote: Clinton, I use M2 with ibatis, and M2 cannot find the source. You nee
I saw some JDBC 4.0 and it does not make ibatis obsolete. For instance, annotations are not inheritable but you can extend sqlmaps. Also there will always be a need for XML configuration because not everyone wants their mappings statically-linked into their code; it is impossible to change without
Will 2.2.0 be available in maven 2 format? And uploaded to ibiblio?Jeff Butler <[EMAIL PROTECTED]> wrote: Good work on multiple result sets! I'll have a checkin with code changes and tests for IBATIS-331 later this morning, then I'll be finished. You'll know I'm finished whan I close the JIRA ti
esearch about it. Jeff Butler On 8/14/06, Paul Benedict < [EMAIL PROTECTED]> wrote: Will 2.2.0 be available in maven 2 format? And uploaded to ibiblio? Jeff Butler <[EMAIL PROTECTED]> wrote: Good work on multiple result sets! I'll have a checkin with code changes and
I have this problem currently in iBATIS 2. I would prefer it be solved
in 2.4, but if it is more extensive in scope, then I wouldn't mind
seeing it pushed off to version 3.
Here are two classes which have two immutable interfaces:
interface A { class AImpl implements A {
String getNa
n blueprints catalog, but I still think it's awful. But that's just
my 2 cents - YMMV)
Second thought - if you really want to do this, you can code a
ResultObjectFactory and supply the concrete implementations yourself.
Jeff Butler
On 1/14/07, *Paul Benedict* <[EMAIL PRO
IS work with parameterized constructors but that is a V3 thing.
Jeff Butler
On 1/14/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
>
> Jeff,
>
> Thanks for the reply. I know not everyone likes the immutable pattern,
> but I have found it tremendously useful and cuts down on a l
I erred at the start of 4th paragraph:
It read:
iBATIS errs out on #4 because it invokes BImpl.setA(), but gets back only
the interface from BImpl.getA().
It should read:
iBATIS errs out on #4 because it invokes setName() from BImpl.getA(), but
the method doesn't exist at this level.
Paul
is? I did and had no trouble running it. I'd be
happy to send you the test case if you want, but I think it's exactly
what you described.
Jeff Butler
On 1/15/07, *Paul Benedict* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I erred at the star
erfaces require
an inner resultMap so you can specify the implementation. I am glad I
asked for that enhancement for 2.2 :)
Also I apologize for any wasted time on both your parts! Thanks again.
Paul
Paul Benedict wrote:
Can you send the test case? That would be great. The example I did not
I agree with Jeff that an alternative syntax is questionable and likely
unnecessary. The syntax for accessing members of an object should be the
same, regardless if the property is an instance variable or method. Rather,
there should be a flag which enables direct property access which will be
use
Poitras and Clinton,
I agree. The refactoring argument is pretty strong. Property notation is
script-like because the actual means to get to the value (method vs.
direct-field access) is totally secondary to the intention. The developer
just needs to express the path, and the framework should be
ld
directly.
Maybe the notation can be optionnal and will force iBATIS to try
accessing
the field first, then the getter if field is not present. Think this
would
do?
Christian
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Paul Be
d in this thread, that you
already
agreed with. ;-)
Clinton
On 2/9/07, Paul Benedict < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
> I searched the mail archives, but I am not privy to what
getters/setters then we'll use them. If not, then
we'll use the fields directly. End of story.
Jeff Butler
On 2/10/07, *Paul Benedict* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
OGNL uses property notation syntax which calls getters and setters. As
t because we can.
Maybe we
> should bypass all the non-standard syntax and configuration
options. If you
> have getters/setters then we'll use them. If not, then we'll use
the fields
> directly. End of story.
>
> Jeff Butler
>
>
>
>
>
> On 2/10/07
st be too easy for bugs to get by unless the tool is smarter.
Paul
Clinton Begin wrote:
So far, there's no switch to turn it on or off.
I guess I'm thinking if you want to enforce that it go through
methods, then write the methods. :-)
Clinton
On 2/10/07, Paul Benedict <[EMAIL
Very well. In fact, the fallback to fields may turn out to be
advantageous. Let's see how it goes, as you said, and listen to the
feedback. Thanks Clinton!
Clinton Begin wrote:
I think we need a stronger argument for a switch than "I might shoot
myself in the foot". :-)
It's pretty simple t
I can offer some assistance if necessary.
Ted Husted wrote:
On 2/13/07, Clinton Begin <[EMAIL PROTECTED]> wrote:
> With the Struts releases, we also include all the JARs needed to build
> the product, which people can install locally.
That would be perfect!
Feel free to steal from what Wendy
I am responding on the dev list too :-) There's two things going on:
1) An automated build numbering -- and any build numbering for that
matter -- isn't needed for official distributions. All you need is the
X.Y.Z scheme where X=major,Y=minor,Z=revision versions.
2) You are actually using the
o me and easy to produce. So regardless of
what build system we use, I'd like to ensure that a build
number is represented on the deployable ZIP filename, the JAR
file names the manifest file and the release.txt.
Clinton
On 2/17/07, *Paul Benedict* <
ch them something together.
Clinton
On 2/17/07, *Paul Benedict* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Clinton,
I understand the argument, but I am not aware of any other project at
Apache that includes a build number as part of their version number.
That
Please see my comments on:
http://issues.apache.org/jira/browse/IBATIS-128
I can no longer use iBATIS until this has been fixed for JDK 5. Please
add discussion comments to JIRA.
Thanks!
Paul
e JIRA issue.
We'll get it in on the next release.
Larry
On 5/13/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
> Please see my comments on:
> http://issues.apache.org/jira/browse/IBATIS-128
>
> I can no longer use iBATIS until this has been fixed for JDK 5. Please
>
Missing selectKey DTD parameter
---
Key: IBATIS-207
URL: http://issues.apache.org/jira/browse/IBATIS-207
Project: iBatis for Java
Type: Bug
Versions: 2.1.5
Environment: Windows XP, MySQL
Reporter: Paul Benedict
Priority
[
http://issues.apache.org/jira/browse/IBATIS-207?page=comments#action_12355671 ]
Paul Benedict commented on IBATIS-207:
--
I believe this should be withdrawn. Although I can find no documentation
supporting this idea, it seems that if I put the after
BSF for dynamic queries
---
Key: IBATIS-215
URL: http://issues.apache.org/jira/browse/IBATIS-215
Project: iBatis for Java
Type: New Feature
Components: SQL Maps
Reporter: Paul Benedict
While the list of tags to form dynamic queries is
Optional property in resultmap
--
Key: IBATIS-216
URL: http://issues.apache.org/jira/browse/IBATIS-216
Project: iBatis for Java
Type: New Feature
Reporter: Paul Benedict
I would find it useful to have optional properties in a
[
http://issues.apache.org/jira/browse/IBATIS-143?page=comments#action_12356748 ]
Paul Benedict commented on IBATIS-143:
--
I prefer this feature too. The problem is that I like my SQL to be listed
longwise, with each column on its own line and so it
Evict from cache
Key: IBATIS-222
URL: http://issues.apache.org/jira/browse/IBATIS-222
Project: iBatis for Java
Type: New Feature
Components: SQL Maps
Versions: 2.1.6
Reporter: Paul Benedict
I use the cache mainly to keep in memory
Support Commons DBUtils ResultSetHandler
Key: IBATIS-226
URL: http://issues.apache.org/jira/browse/IBATIS-226
Project: iBatis for Java
Type: New Feature
Components: SQL Maps
Reporter: Paul Benedict
Sometimes I need
[
http://issues.apache.org/jira/browse/IBATIS-226?page=comments#action_12358098 ]
Paul Benedict commented on IBATIS-226:
--
Jeff and Larry, thank you for your kind replies.
First, remember that Java is completely dynamically linked. Just because you
[
http://issues.apache.org/jira/browse/IBATIS-226?page=comments#action_12358110 ]
Paul Benedict commented on IBATIS-226:
--
My idea was also spawned by the author of Jakarta Tapestry, Howard Lewis Ship.
See his blog entry about performance using
[
http://issues.apache.org/jira/browse/IBATIS-226?page=comments#action_12359001 ]
Paul Benedict commented on IBATIS-226:
--
I haved talked with Larry privately about these ideas and now I am taking them
public for review.
I think we can provide
[
http://issues.apache.org/jira/browse/IBATIS-226?page=comments#action_12359002 ]
Paul Benedict commented on IBATIS-226:
--
Chaining also allows people to insert their own utility tasks such as
white-space trimming (http://issues.apache.org/jira/browse
[
http://issues.apache.org/jira/browse/IBATIS-222?page=comments#action_12371007 ]
Paul Benedict commented on IBATIS-222:
--
Please close this. Unfortunately I can't do it with ibatis, but I have agreed
to use caching at the DAO level which satisifi
[
http://issues.apache.org/jira/browse/IBATIS-225?page=comments#action_12372163 ]
Paul Benedict commented on IBATIS-225:
--
It is unfortunate has a @resultMap attribute because it really doesn't
do what it implies. @resultMap, on the surface, s
[
http://issues.apache.org/jira/browse/IBATIS-215?page=comments#action_12372175 ]
Paul Benedict commented on IBATIS-215:
--
This issue should be closed. For complex computations, they can be done in the
DAO and their value passed into the parameterClass
[
http://issues.apache.org/jira/browse/IBATIS-226?page=comments#action_12372176 ]
Paul Benedict commented on IBATIS-226:
--
I think a very easy solution would to include a callback that can decode the
ResultSet, if such power is needed:
public Object
[
http://issues.apache.org/jira/browse/IBATIS-225?page=comments#action_12372177 ]
Paul Benedict commented on IBATIS-225:
--
I think the @resultMap could be overriden to not do any group-by logic for
non-collection properties:
> Reuse result
[
http://issues.apache.org/jira/browse/IBATIS-279?page=comments#action_12373712 ]
Paul Benedict commented on IBATIS-279:
--
This is a duplicate of issue 226
> Provide a ResultSet Handler
> ---
>
> Key
[
http://issues.apache.org/jira/browse/IBATIS-122?page=comments#action_12418866 ]
Paul Benedict commented on IBATIS-122:
--
This is the reference documentation for the M2 repostiory (not the same as
above):
http://maven.apache.org/guides/mini/guide
[
http://issues.apache.org/jira/browse/IBATIS-352?page=comments#action_12461118 ]
Paul Benedict commented on IBATIS-352:
--
I believe I have the same problem as Andrew. However, it doesn't seem related
to Sets, but any kind of colle
[
https://issues.apache.org/jira/browse/IBATIS-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462127
]
Paul Benedict commented on IBATIS-352:
--
I actually solved the problem, but it is totally not obvious
[
https://issues.apache.org/jira/browse/IBATIS-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471145
]
Paul Benedict commented on IBATIS-390:
--
I am glad someone brought this issue up. However, I believe there
[
https://issues.apache.org/jira/browse/IBATIS-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473852
]
Paul Benedict commented on IBATIS-143:
--
It's not just trimming the produced output. But it is splitting th
[
https://issues.apache.org/jira/browse/IBATIS-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495339
]
Paul Benedict commented on IBATIS-128:
--
This fix has created an emergency blocker. The current solution assumes
[
https://issues.apache.org/jira/browse/IBATIS-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495341
]
Paul Benedict commented on IBATIS-128:
--
Tor Tuga, here's more information on the volatile problem. Spring
[
https://issues.apache.org/jira/browse/IBATIS-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495485
]
Paul Benedict commented on IBATIS-128:
--
Some good news. It turns out this is not a blocker! I mistook the ERROR
63 matches
Mail list logo