Re: Moving iBatis to the Attic

2010-05-21 Thread Clinton Begin
Henri, Thanks for all of your help in preparing this. +1 Cheers, Clinton On Fri, May 21, 2010 at 7:45 PM, Henri Yandell hyand...@gmail.com wrote: My feeling is that the iBatis PMC wish to move to the Attic, this would mean the project becoming read-only. If anyone of the iBatis committers

[ANNOUNCEMENT] iBATIS Wiki Moved

2010-04-30 Thread Clinton Begin
The iBATIS Wiki has moved. It was not moved by us, or with our knowledge, but we apologize for the inconvenience anyway. The new link is: http://www.apachebookstore.com/confluence/oss/display/IBATIS/Home I will update the links on the website ASAP, but people.apache.org was also unreachable

Re: Changed Maven Artifact ID and location for iBATIS 3

2010-03-29 Thread Clinton Begin
Begin clinton.be...@gmail.com wrote: PS: This also retires the old build number system... which I will miss, but in the spirit of being more consistent with Maven, I think the benefits outweigh the risks. Clinton On Sun, Mar 28, 2010 at 6:10 PM, Clinton Begin clinton.be...@gmail.com

Changed Maven Artifact ID and location for iBATIS 3

2010-03-28 Thread Clinton Begin
I hope nobody minds, but I've changed the artifact ID for iBATIS 3 to avoid the duplication of the 3 version number. Previously the maven coordinates were something like ibatis-3-core-3.0, which looked funny. With the new coordinates, it will simply be ibatis-core-3.0. Much nicer.

Re: help with ibatis 3 objectwrapper, metaobject, etc.

2010-02-24 Thread Clinton Begin
What you're trying to do with ObjectWrapper is beyond its intended use. It was never a consideration nor an intention for the ObjectWrapper to instantiate objects. ObjectWrapper was originally implemented to support Scala types, and perhaps to support a custom property naming convention or some

Re: help with ibatis 3 objectwrapper, metaobject, etc.

2010-02-24 Thread Clinton Begin
? Thanks, -- Alex Sent from my mobile On Feb 24, 2010, at 6:35 PM, Clinton Begin clinton.be...@gmail.com wrote: What you're trying to do with ObjectWrapper is beyond its intended use. It was never a consideration nor an intention for the ObjectWrapper to instantiate objects. ObjectWrapper

Re: help with ibatis 3 objectwrapper, metaobject, etc.

2010-02-24 Thread Clinton Begin
library? -- Alex Sent from my mobile On Feb 24, 2010, at 7:28 PM, Clinton Begin clinton.be...@gmail.com wrote: Yes, iBATIS has a mechanism that allows you to do what you want to do. It's called Hibernate. https://www.hibernate.org/https://www.hibernate.org/ Enjoy. On Wed, Feb 24, 2010

Re: Migrator: system properties via command line.

2010-02-21 Thread Clinton Begin
This was the purpose behind the environments. Each developer could have their own environment file, perhaps by their username. You could ignore such files from your version control system. This way, no matter how many properties differ, you can just specify the environment like: migrate

Re: IBatis2.3.4 throws : java.sql.SQLException: Invalid column type when property is not set in POJO while inserting data.

2010-02-01 Thread Clinton Begin
Using null value replacement like #id:NUMERIC:-99# doesn't act like a default value. In fact, it acts quite the opposite way. It was originally implemented to allow nullable fields in the database to be mapped to primitive Java types (non-nullable). Because it was so hard to understand,

Re: Small error in v3 manual : conditional is not allowed

2009-12-14 Thread Clinton Begin
Good news... you can use and. OGNL seems to support 'and' and 'or'. I'll update the manual to avoid the crap syntax. :-) Cheers, Clinton On Mon, Dec 14, 2009 at 3:27 AM, stefcl stefatw...@gmail.com wrote: Please note that my corrected form doesn't show correctly on Nabble because HTML

Re: 1st level cache control

2009-12-10 Thread Clinton Begin
It's not an oversight, and is definitely by design. It's built on the premise that it's a very bad idea to keep sessions open for any length of time. Cheers, Clinton On Thu, Dec 10, 2009 at 9:07 AM, -dk- dmitriy.kargapo...@gmail.com wrote: Hi All, Sorry, if anybody got this twice, I just

Re: Programmatically add a statement

2009-09-28 Thread Clinton Begin
You should probably post this to the user list, rather than the dev list. There's more people on it, and it will also make it clear which version you're using. Scanning this thread I see references to both Java and .NET... Clinton On Mon, Sep 28, 2009 at 2:01 AM, Joseph Piron

Re: DB portability for iBatis 3 Mappers

2009-09-22 Thread Clinton Begin
Best thing to do for this is create a Jira feature request ticket. Clinton On Tue, Sep 22, 2009 at 10:34 AM, russ.jack...@accenture.com wrote: Hey iBatis team, The feature in iBatis 3 to use getMapper() to obtain a dynamic implementation of the DAO interface is extremely cool. However,

Re: Ibatis Migrator using a JNDI based connection

2009-09-14 Thread Clinton Begin
Nope, hadn't thought of that. Can you create a JIRA Feature Request so that we don't forget about it? Cheers, Clinton On Mon, Sep 14, 2009 at 7:23 AM, Leandro Sales leandro@gmail.comwrote: Hi, I was wondering if wasn't possible to get the connection used by Ibatis Migrator from a JNDI

[jira] Closed: (IBATIS-621) Improper cache create mechanism

2009-08-15 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-621. Resolution: Fixed Fix Version/s: (was: 3.next) 3.0 Beta 2

[jira] Closed: (IBATIS-122) Upload jars to ibiblio

2009-08-15 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-122. Resolution: Fixed Upload jars to ibiblio -- Key: IBATIS

[jira] Closed: (IBATIS-581) Drive-by foot-shooting on petstore.html page

2009-08-15 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-581. Resolution: Won't Fix Drive-by foot-shooting on petstore.html page

[jira] Closed: (IBATIS-506) Latest beta won't run on JDK 1.4

2009-08-15 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-506. Resolution: Won't Fix Latest beta won't run on JDK 1.4

[jira] Closed: (IBATIS-533) Thread blocking on AutoResultMap

2009-08-15 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-533. Resolution: Fixed Thread blocking on AutoResultMap

[jira] Closed: (IBATIS-449) Is there a way to specify a timeout for Pool.PingQuery when using a jdbc SimpleDataSource?

2009-08-15 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-449. Resolution: Invalid Is there a way to specify a timeout for Pool.PingQuery when using a jdbc

[jira] Closed: (IBATIS-247) Triage Wish List TXT file from old doc directory

2009-08-15 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-247. Resolution: Fixed Triage Wish List TXT file from old doc directory

[jira] Closed: (IBATIS-588) Please add Abator JARs to Maven repository

2009-08-15 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-588. Resolution: Fixed Please add Abator JARs to Maven repository

[jira] Closed: (IBATIS-360) iterate a property of array of objects and using isEqual tag to compare an attribute ex:(id) of this object with a value. ex: list[].id

2009-08-15 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-360. Resolution: Fixed Fix Version/s: 2.3.4 iterate a property of array of objects and using

[jira] Closed: (IBATIS-438) SqlMapClient don't release connection in a clustered ejb based application

2009-08-15 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-438. Resolution: Won't Fix SqlMapClient don't release connection in a clustered ejb based application

[jira] Closed: (IBATIS-620) select count(*) from table return BigDecimal value in Oracle

2009-08-14 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-620. Resolution: Invalid This is normal behavior for Oracle. If you specify the resultClass

[jira] Closed: (IBATIS-622) Nested Results for Association

2009-08-14 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-622. Resolution: Won't Fix iBATIS reserves the decision whether to create a new instance or reuse

[jira] Closed: (IBATIS-625) Mapper interfaces cannot have the class name as the XML file mapped to them

2009-08-14 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-625. Resolution: Fixed Fix Version/s: 3.0 Beta 2 Assignee: Clinton Begin Fixed. Class

[jira] Closed: (IBATIS-624) Setter is expected if column name is same as property name

2009-08-14 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-624. Resolution: Fixed Fix Version/s: 3.0 Beta 2 Assignee: Clinton Begin Fixed Setter

[jira] Closed: (IBATIS-619) select can not work with a include tag in sql mapping file.

2009-08-14 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-619. Resolution: Cannot Reproduce Assignee: Clinton Begin Cannot reproduce this. We have unit

[jira] Commented: (IBATIS-623) Generated migration scripts are not valid for MySQL

2009-08-12 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12742687#action_12742687 ] Clinton Begin commented on IBATIS-623: -- I'll make it so that this line is not executed

[jira] Commented: (IBATIS-623) Generated migration scripts are not valid for MySQL

2009-08-12 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12742689#action_12742689 ] Clinton Begin commented on IBATIS-623: -- PS: I'm running against MySql fine... I'm

[jira] Commented: (IBATIS-623) Generated migration scripts are not valid for MySQL

2009-08-12 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12742690#action_12742690 ] Clinton Begin commented on IBATIS-623: -- Oh, nm... I get it. You mean

[jira] Closed: (IBATIS-623) Generated migration scripts are not valid for MySQL

2009-08-12 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-623. Resolution: Fixed Fix Version/s: (was: 3.0 GA) 3.0 Beta 2

[jira] Commented: (IBATIS-623) Generated migration scripts are not valid for MySQL

2009-08-12 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12742703#action_12742703 ] Clinton Begin commented on IBATIS-623: -- BTW: Do NOT change the --// lines manually

Re: Does ibatis 2.x OSGi ready?

2009-08-06 Thread Clinton Begin
the jar com.ibatis.common.resources.Resources is in 2. load the resource xxx.dtd from the jar use the ClassLoader which load the com.ibatis.common.resources.Resources class this maybe work, and is inspired by the yui compressor's JarClassLoader Clinton Begin wrote: And how do you propose to do

Re: [VOTE] Release iBATIS 3.0 for Java Beta 1

2009-08-06 Thread Clinton Begin
. But +1, thats for sure ;-) cheers Kai --- Original Nachricht --- Absender: Clinton Begin Datum: 04.08.2009 19:32 Yes, In fact, I really owe Jeff a lot of thanks, as he put in a lot of time submitting unit tests and fixing bugs.  So THANKS JEFF!!! As for multiple parameter objects... I

Re: [VOTE] Release iBATIS 3.0 for Java Beta 1

2009-08-04 Thread Clinton Begin
Meadors larry.mead...@gmail.com wrote: Why are we voting on a beta? :-) Larry On Mon, Aug 3, 2009 at 11:52 PM, swaroop belurswaroop.be...@gmail.com wrote: Big +1 Thanks swaroop Clinton Begin wrote: Hello all, It's time.  iBATIS 3.0 for Java Beta 1 is ready, along

[VOTE] Release iBATIS 3.0 for Java Beta 1

2009-08-03 Thread Clinton Begin
Hello all, It's time.  iBATIS 3.0 for Java Beta 1 is ready, along with the first draft of the user guide. Vote to Release to Beta 1. This vote will remain open for 24 hours. +1  Yes 0 Yes -1  No Cheers, Clinton - To

New iBATIS Website

2009-07-01 Thread Clinton Begin
Hi all, I've uploaded and committed a new iBATIS website. I'm not totally hung up on the theme, but one of my goals was to make it easier to maintain and re-skin if we like. The new site is drastically simpler and smaller. It's pretty much just 5 pages: Home, Java, .NET, Team and About, with

Re: JPA Annotations + iBatis

2009-06-07 Thread Clinton Begin
As Kai stated, we still have annotation support, just not join mapping in the annotation syntax -- 100% a Java Annotation limitation (and it works with a loophole in Java 5) That said, I think it would be possible for someone to do something with JPA annotations. I just don't think it would be

Re: [iBATIS3] SQL Parsing Question

2009-06-02 Thread Clinton Begin
That was a challenge i had... Unfortunately, it will be parsed at statement execution time as a string replacement, not at map build time with the passed in properties. It's an inconsistency... :-/ In Statements: #{} == Prepared Statement Parameter ${} == String replacement at execution

Re: [iBATIS3] parameterMap Removed (please)?

2009-06-02 Thread Clinton Begin
I think so. At the very least, we could just remove it from the DTD... I'm having a hard time letting go of one of those just in case moments. :-) Interestingly, the code is kind of a mess in the area of parameter maps, as it's different if you specify a parameter map vs. an inline map, due to

Re: Re: [iBATIS3] SQL Parsing Question

2009-06-02 Thread Clinton Begin
) for prepared statement parameters would be in order. It matches how prepared statement parameters are identified in most host environments. I suspect the #{} usage may be a nod to Cold Fusion but that's the only other environment I know that uses # rather than :. *On Tue 02/06/09 16:20 , Clinton

[jira] Commented: (IBATIS-427) Bidirectional associations support

2009-05-20 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12711415#action_12711415 ] Clinton Begin commented on IBATIS-427: -- Yeah, so where's your patch? You can attach

Re: iBATIS + HTTP Connector

2009-05-15 Thread Clinton Begin
The best way to do it is to create a Jira ticket and attach a ZIP file with the source and documentation. Interestingly, I demoed something similar (or so it sounds) a couple years ago. iBATIS does map very well to REST or any web services and/or AJAX apps. I had a thought a while back of

[jira] Commented: (IBATIS-142) JDBC 3 Generated Keys Support

2009-03-24 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12688679#action_12688679 ] Clinton Begin commented on IBATIS-142: -- iBATIS 3 has proper support for generated keys

[jira] Commented: (IBATIS-508) Lock occurs when heavy traffic

2009-03-20 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12685362#action_12685362 ] Clinton Begin commented on IBATIS-508: -- Kai, you have made it through... I've just

[jira] Closed: (IBATIS-580) SQLExecutor plug-ins for iBATIS2

2009-03-12 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-580. Resolution: Fixed Assignee: Clinton Begin Fixed. Mostly as described, with some

[jira] Closed: (IBATIS-573) configuring ibatis programmaticaly

2008-12-26 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-573. Resolution: Duplicate configuring ibatis programmaticaly

[jira] Closed: (IBATIS-572) configure ibatis programmaticaly and not by an XML

2008-12-26 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-572. Resolution: Fixed Fix Version/s: 3.0.0 Assignee: Clinton Begin This is a feature

[jira] Commented: (IBATIS-572) configure ibatis programmaticaly and not by an XML

2008-12-26 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12659311#action_12659311 ] Clinton Begin commented on IBATIS-572: -- Yes, it's something like that. As for GA, I

[jira] Commented: (IBATIS-537) Multiple external RowHandler support

2008-09-23 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12633788#action_12633788 ] Clinton Begin commented on IBATIS-537: -- Or just attach the whole file... it's just

Re: proposal: announce 2.3.4 as GA

2008-09-18 Thread Clinton Begin
2.3.4 was a bit of an emergency fix, so the vote was indeed deferred for the GA stamp. I think we should proceed exactly as you suggest, vote for GA anytime. Clinton On Thu, Sep 18, 2008 at 9:33 AM, Brandon Goodin [EMAIL PROTECTED]wrote: Also, here is our policy:

Re: [VOTE] Promote iBATIS 2.3.4 to General Availability

2008-09-18 Thread Clinton Begin
+1 On Thu, Sep 18, 2008 at 2:00 PM, Nathan Maves [EMAIL PROTECTED]wrote: +1 On Thu, Sep 18, 2008 at 1:28 PM, RInaldo [EMAIL PROTECTED] wrote: +1 Rinaldo Brandon Goodin ha scritto: This is a vote to promote iBATIS 2.3.4 to General Availability. Brandon

Re: [VOTE] Promote iBATIS 2.3.4 to General Availability

2008-09-18 Thread Clinton Begin
I like hearing votes from everyone. While they aren't counted officially by Apache, they are certainly counted by me and the other members as votes of confidence in the release. Keep voting. Cheers, Clinton On Thu, Sep 18, 2008 at 2:25 PM, Kai Grabfelder [EMAIL PROTECTED] wrote: I think only

Re: New iBATIS builds on Maven central repository

2008-09-09 Thread Clinton Begin
for the delay... things have been crazy busy Brandon On Thu, Sep 4, 2008 at 9:19 AM, Clinton Begin [EMAIL PROTECTED] wrote: I've asked one of our Maven experts to take care of it. We have 3 of them, all busy, but one should be able to get to it soon. The delay was intentional

Re: New iBATIS builds on Maven central repository

2008-09-09 Thread Clinton Begin
easier... Regards Kai --- Original Nachricht --- Absender: Clinton Begin Datum: 09.09.2008 16:45 WAIT!! Guys, I'll need to make a 2.3.4 build remember the async autoresultmap bug? I'll roll it now. BG get on GTalk if you can, we'll coordinate. Clinton

Re: iBATIS 3 vs. java 6 / add iBATIS 3 to JIRA

2008-09-08 Thread Clinton Begin
with Java 6 anyway. But if only a few methods needs to be added and it still compiles with Java 5 I don't think it does any harm. Regards Kai --- Original Nachricht --- Absender: Clinton Begin Datum: 07.09.2008 23:17 I'll add the version, but please understand: iBATIS 3 should

Re: iBATIS 3 vs. java 6 / add iBATIS 3 to JIRA

2008-09-07 Thread Clinton Begin
I'll add the version, but please understand: iBATIS 3 should not be compiled under Java 6. It will be a Java 5 based framework. That said, much of the incompatibilities are due to implementations of various JDBC interfaces. I'm considering making them all dynamic proxies so that you can

[jira] Closed: (IBATIS-519) Probably, remapResults is thread-unsafe

2008-09-07 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-519. Resolution: Fixed Fix Version/s: 2.3.4 As described by Kai. Probably, remapResults

Re: AutoResultMap not threadsafe if remapResults=true (patch included in IBATIS-519)

2008-09-07 Thread Clinton Begin
This is fixed and the continuous build server should pick it up soon and the build will be available from there until we get a release out. Clinton On Sun, Sep 7, 2008 at 8:41 PM, Clinton Begin [EMAIL PROTECTED]wrote: Thanks Kai... This is a really weird bug. The old implementation used

[jira] Commented: (IBATIS-128) Detect illegal overloaded JavaBeans properties methods (e.g. setters)

2008-08-31 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12627325#action_12627325 ] Clinton Begin commented on IBATIS-128: -- If this was still an issue for anyone, it may

Re: iBATIS 3 XML SQL Map Decisions...

2008-08-15 Thread Clinton Begin
the param elements need not be repeated if used. Clinton On Fri, Aug 15, 2008 at 10:57 PM, Larry Meadors [EMAIL PROTECTED]wrote: On Wed, Aug 13, 2008 at 4:27 PM, Clinton Begin [EMAIL PROTECTED] wrote: 3. param element : The thought here is to allow for specifying the options (e.g. javaType

Re: iBATIS 3 XML SQL Map Decisions...

2008-08-13 Thread Clinton Begin
at 10:17 PM, Larry Meadors [EMAIL PROTECTED]wrote: On Wed, Aug 13, 2008 at 4:27 PM, Clinton Begin [EMAIL PROTECTED] wrote: 4. groupBy is gone completely. The collection element combined with the ID element now work together to achieve this. I agree the old implementation was annoying. What

iBATIS 3 XML SQL Map Decisions...

2008-08-12 Thread Clinton Begin
Hey all, I'd like to get some feedback on the things you like and dislike about the current XML, and also show you some of the new XML. Without too much talk... here's what I've started out with for the new iBATIS 3 mappings Note that while this XML may look similarly verbose, realize that a

Re: EL for iB3 Dynamic SQL tags

2008-08-11 Thread Clinton Begin
-logging, that was pita in 2.0. .V Clinton Begin wrote: I've decided to go with a repackaged version of OGNL 2.6.9 (org.apache.ibatis.ognl). snip Comments welcome. Clinton

Re: iBATIS 3 Maven Project Layout Discussion

2008-08-08 Thread Clinton Begin
Great Summary Brandon. Given that Maven allows one to specify the resources folder (and even filter out certain files, like we will for .java files eventually), and considering that it does not cast a warning or error upon setting the resource directory to the source directory, I would consider

Re: iBATIS 3 Maven Project Layout Discussion

2008-08-08 Thread Clinton Begin
Everybody would always prefer to use the defaults. But it's important to know when not to. To clarify, for the purposes of the ibatis 3 source code, this only impacts the unit tests. When it comes time to include XML schemas (or DTDs), we'll likley put them in a separate resources folder. What

Re: SVN Directory Structure Cleanup

2008-08-08 Thread Clinton Begin
And by abator, I mean ibator :-) On Fri, Aug 8, 2008 at 4:09 PM, Clinton Begin [EMAIL PROTECTED]wrote: Hi all, I've moved the iBATIS SVN directory structure around. The structure is now: https://svn.apache.org/repos/asf/ibatis/trunk/java/ ibatis-2 ibatis-2-core

Re: SVN Directory Structure Cleanup

2008-08-08 Thread Clinton Begin
and an ibator3 - there will only be configuration options that specify the target runtime environment. In fact, even now ibator has no dependancies on ibatis at all - ibatis only comes into play with the ibator tests. Jeff Butler On Fri, Aug 8, 2008 at 5:09 PM, Clinton Begin [EMAIL PROTECTED]wrote

[jira] Closed: (IBATIS-530) Connection not being returned to JRUN connection pool after executing query

2008-08-06 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-530. Resolution: Fixed There isn't a single up-to-date element of this software: Please ditch ODBC

Re: why Ibatis 2.2 can handle multi-db transactions with normla JDBC driver

2008-08-01 Thread Clinton Begin
Try killing the OTHER session... :-) An ordered pair of commits can behave like a two phase commit in one direction... //pseudocode try { TX1.commit() // will/should NOT be rolled back if TX2 fails to commit. TX2.commit() // will be rolled back if TX1 fails to commit. } catch {

[jira] Closed: (IBATIS-527) download link is broken

2008-07-31 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-527. Resolution: Fixed It's probably related to a specific mirror. It works fine for me. If you have

Re: iBATIS-375 [patch]

2008-07-18 Thread Clinton Begin
I've applied the patch. It looks like an okay feature. I'm going to see if there's a better way for iBATIS 3, but for now this will do. I've update the iBATIS homepage to include a link to the continuous integration server. Follow the instructions for Developer Release on the download page

[jira] Closed: (IBATIS-375) Provide a way for not creating items from nested ResultMaps when the items contain only null values

2008-07-18 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-375. Resolution: Fixed Fix Version/s: 2.3.4 applied patch Provide a way for not creating items

Re: iBATIS-375 [patch]

2008-07-18 Thread Clinton Begin
or something. Ian. On Jul 18, 2008, at 2:36 AM, Clinton Begin wrote: I've applied the patch. It looks like an okay feature. I'm going to see if there's a better way for iBATIS 3, but for now this will do. I've update the iBATIS homepage to include a link to the continuous integration server

Re: iBATIS-375 [patch]

2008-07-18 Thread Clinton Begin
. Ian. On Fri, Jul 18, 2008 at 9:24 AM, Clinton Begin [EMAIL PROTECTED] wrote: PS: How is it not working properly? On Fri, Jul 18, 2008 at 7:23 AM, Clinton Begin [EMAIL PROTECTED] wrote: By default iBATIS should use the DTD in the JAR file, although some parsers have ignored

Re: iBATIS-375 [patch]

2008-07-18 Thread Clinton Begin
I've fixed it, but Apache only updates their mirrors every 9 million years, so it might take a bit to correct itself. :-/ Clinton On Fri, Jul 18, 2008 at 8:15 AM, Clinton Begin [EMAIL PROTECTED] wrote: Wow, that's fun! On Fri, Jul 18, 2008 at 7:55 AM, Ian Zabel [EMAIL PROTECTED] wrote

Re: [jira] Commented: (IBATIS-244) CLONE -configured type handler not used in insert

2008-07-17 Thread Clinton Begin
, java 1.5 Reporter: somakani Assignee: Clinton Begin Priority: Minor Fix For: 2.3.3 Attachments: PrimitivePrefix.patch Custom type handlers which are configured within SqlMapConfig, such as: typeHandler javaType='java.lang.Boolean

[jira] Closed: (IBATIS-512) specifying custom boolean typehandler doesn't include primitives

2008-07-17 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-512. Resolution: Fixed Fix Version/s: 2.3.3 Fixed specifying custom boolean typehandler

[jira] Closed: (IBATIS-511) result to bean mapping: value should be included in exception message [patch included]

2008-07-16 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-511. Resolution: Fixed Fix Version/s: 2.3.3 As in patch result to bean mapping: value should

[jira] Closed: (IBATIS-515) Element comments for DTDs

2008-07-16 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-515. Resolution: Fixed Fix Version/s: 2.3.3 used attached files Element comments for DTDs

[jira] Closed: (IBATIS-244) CLONE -configured type handler not used in insert

2008-07-16 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-244. Resolution: Fixed Fix Version/s: 2.3.3 Fixed, a little differently than with the patch

[jira] Closed: (IBATIS-522) NPE in TypeHandlerFactory.getTypeHandler() when type is null

2008-07-15 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-522. Resolution: Fixed Fix Version/s: 2.3.3 Assignee: Clinton Begin As in patch NPE

Re: FIX?: protected static ThreadLocal localSqlMapSession = new ThreadLocal();

2008-07-11 Thread Clinton Begin
This is not the right fix for this problem (I suggest changing back those other deployments). Make the cache read-only or serializable... either will work. Note that simply making it read-only and then modifying the data (i.e. lying to the framework) will get you into trouble. The two settings

Re: FIX?: protected static ThreadLocal localSqlMapSession = new ThreadLocal();

2008-07-11 Thread Clinton Begin
Here's a quick summary that we could add to the docs, and maybe offer a simpler config for... LOCAL_READ_WRITE (serializable=false, readOnly=false) SHARED_READ_ONLY (serializable=false, readOnly=true) SHARED_READ_WRITE (serializable=true, readOnly=false) Sorry for the dip-switch like

Re: status of IBATIS-511 IBATIS-515

2008-07-09 Thread Clinton Begin
I love bugs with attachments. :-) I'll flag these for the next release. On Wed, Jul 9, 2008 at 11:53 AM, Kai Grabfelder [EMAIL PROTECTED] wrote: Hi there, I was wondering about the status of the two above mentioned issues. 511 is very easy to fix and the attached patch includes a testcase.

Re: IBATIS-522

2008-07-07 Thread Clinton Begin
Wow... another one. I'll ask the same question of you that I asked some others: What keeps you from testing the Beta versions when we release them? There's not much point in a beta period if nobody tries them... :-/ Clinton On Mon, Jul 7, 2008 at 8:05 AM, Tom Duffey [EMAIL PROTECTED] wrote:

Re: IBATIS-522

2008-07-07 Thread Clinton Begin
number should be). In this case it was a simple bug that a unit test could have easily caught, it's just a matter of thinking of the use case... or all use cases. Clinton On Mon, Jul 7, 2008 at 8:33 AM, Tom Duffey [EMAIL PROTECTED] wrote: On Jul 7, 2008, at 9:15 AM, Clinton Begin wrote

[ANNOUNCE] iBATIS 2.3.2 Promoted to General Availability

2008-06-30 Thread Clinton Begin
The latest version of iBATIS for Java 2.3.2 has been promoted to GA. This version requires Java 5. While it wasn't planned that way originally, we decided to take the plunge and start to encourage our users to upgrade their platforms (or at least become one more reason to do so). Sun will be

[VOTE] Promote iBATIS 2.3.2 to General Availability -- Java 5 Required...

2008-06-26 Thread Clinton Begin
This is a vote to promote iBATIS 2.3.2 to General Availability. One consequence of 2.3.2 is that it now requires Java 5. We've added support for Enums and therefore we cannot compile it under 1.4. It's possible to make a 1.4 compatible branch of the framework, but that can be a separate issue.

Re: Code Hierarchy and Build Process

2008-05-07 Thread Clinton Begin
I currently hate Maven with a grand passion. But, I'm open minded and am willing to be educated as to why people like it. I will make the same offer I made before: Three requirements: #1 Create a maven build system for iBATIS that achieves the exact same output, which includes: - one click

Re: Code Hierarchy and Build Process

2008-05-07 Thread Clinton Begin
the lack of a build number on the zip and jar any day over the amount of effort i expel trying to figure out ant scripts. Brandon On Wed, May 7, 2008 at 8:36 AM, Clinton Begin [EMAIL PROTECTED] wrote: I currently hate Maven with a grand passion. But, I'm open minded and am willing

Re: Code Hierarchy and Build Process

2008-05-07 Thread Clinton Begin
A serial number generator for builds does not easily exist for maven. We had talked about using the svn repo revision number. SVN repo number would be great. It's a little long because it's Apache's global repos, but it would be more useful than the somewhat meaningless build number we have

Re: Code Hierarchy and Build Process

2008-05-07 Thread Clinton Begin
Reality check: Signs, MD5, and Uploads to Apache dist (with no additional dependencies or configuration) - how's this going to work, via telepathy? :-D Trusted hosts (or same host) and a continuous integration server with a manually invoked distribution target. CI server runs as the deploy

[VOTE] Use Maven 2 as iBATIS 3 build system.

2008-05-07 Thread Clinton Begin
This is a vote to switch our build system from Ant to Maven 2. Binding votes will be accepted from committers of the iBATIS for Java project. All other votes will be taken as opinion, but non-binding. This does not imply that we will use Maven for our website, but we could indeed consider that

Re: [VOTE] Use Maven 2 as iBATIS 3 build system.

2008-05-07 Thread Clinton Begin
My Vote: [0] Doesn't matter. As long as it builds as well as it currently does. Clinton On Wed, May 7, 2008 at 11:09 AM, Clinton Begin [EMAIL PROTECTED] wrote: This is a vote to switch our build system from Ant to Maven 2. Binding votes will be accepted from committers of the iBATIS

Re: Code Hierarchy and Build Process

2008-05-07 Thread Clinton Begin
NM, found it! Yes, to all 3. On Wed, May 7, 2008 at 11:23 AM, Clinton Begin [EMAIL PROTECTED] wrote: Anyone know off hand if Maven can easily support FindBugs, Checkstyle and/or Jalopy? Cheers, Clinton On Wed, May 7, 2008 at 11:18 AM, Larry Meadors [EMAIL PROTECTED] wrote: Hahah

Re: [jira] Created: (IBATIS-506) Latest beta won't run on JDK 1.4

2008-05-05 Thread Clinton Begin
This is what happens when we wait so long to do a release, it takes 3 tries to get it out. :-) No problem, I'll fix it tonight, after I install JDK 1.4... Wow time flies, JDK 1.4 is over 6 years old :-) Cheers, Clinton On Mon, May 5, 2008 at 9:17 AM, Larry Meadors [EMAIL PROTECTED] wrote:

[jira] Closed: (IBATIS-362) LRU cache broken for stored procedures

2008-04-22 Thread Clinton Begin (JIRA)
[ https://issues.apache.org/jira/browse/IBATIS-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-362. Resolution: Won't Fix The reason it worked in 2.1.5 is that procs weren't cached at all. In 2.2.0

  1   2   3   4   >