Re: iBATIS 3 for Java Released (BETA 1)

2009-08-13 Thread Fred Janon
Are there several docs? I can see only the User' Guide on the main page. No javadoc? I presume the javadoc link on the main page of the web site is still the one for the previous version? Is there any full example, like a java example? I didn't find any in the download (jar or src). Thanks Fred

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-13 Thread Clinton Begin
There's no JavaDocs. This is my own personal hangup. I despise Javadocs. :-) I've never liked them in code, or reading them online... the only good ones are those written by Sun for the JDK IMHO... The thing about iBATIS is that the actual Java code is very simple to understand -- you only use

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-13 Thread Fred Janon
I don't like Javadocs either (except Sun's, uh Oracle's), but no one has come up with something better (apart from literate programming), because anyway docs == more work (lots of it) and docs == no fun and docs.writer != programmer. Unfortunately, code without doc means very few people use it and

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-13 Thread Fred Janon
Is there a way to execute a sql statement other than select/insert/update, like to create or alter a table? I thought there was an sql element in iBatis before? Thanks Fred 2009/8/8 Nathan Maves nathan.ma...@gmail.com A month ago iBATIS turned 7 years old, and while we're celebrating a

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-13 Thread Fred Janon
Wiki broken? You cannot access Confluence at present. Look at the table below to identify the reasons *Time* *Level* *Type* *Description* *Exception* 2009-08-11 02:08:57 (EventLevel: fatal) (EventType: cluster) Database is being updated by an instance which is not part of the current

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-13 Thread Clinton Begin
It's not like there's NO documentation, there's better documentation than JavaDocs. The user guide is far more readable and logically structured and searchable. If you read it, you'll see that JavaDocs wouldn't offer much more... I had time to write it, so you have time to read it. :-)

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-13 Thread Clinton Begin
This question is worthy of a new thread. But since the answer is so simple: select/insert/update/delete statementType=STATEMENT|PREPARED|CALLABLE For some databases you might also have to use autocommit. See the user guide for more. Clinton On Thu, Aug 13, 2009 at 8:44 AM, Fred Janon

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-13 Thread Clinton Begin
Also check out the Migrations tool. On Thu, Aug 13, 2009 at 9:18 AM, Clinton Begin clinton.be...@gmail.comwrote: This question is worthy of a new thread. But since the answer is so simple: select/insert/update/delete statementType=STATEMENT|PREPARED|CALLABLE For some databases you might

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-13 Thread Fred Janon
I am, I am! I do think it is good. I am learning a lot and find some really good stuff in it! Fred On Thu, Aug 13, 2009 at 23:16, Clinton Begin clinton.be...@gmail.comwrote: It's not like there's NO documentation, there's better documentation than JavaDocs. The user guide is far more

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-13 Thread Fred Janon
Thanks, I'll find that section in the guide and I will check out the Migrations tool. Fred On Thu, Aug 13, 2009 at 23:18, Clinton Begin clinton.be...@gmail.comwrote: This question is worthy of a new thread. But since the answer is so simple: select/insert/update/delete

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-13 Thread Fred Janon
Sorry, I don't get it. There is a run method in SqlRunner made for that, but it doesn't seem to be called from anywhere. I can't use an select, insert, update or delete since the DDL doesn't return any result and they do. /** * Executes any string as a JDBC Statement. * Good for DDL *

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-13 Thread Kai Grabfelder
I'll definitively plan to write javadoc when I have time ;-) cheers Kai --- Original Nachricht --- Absender: Clinton Begin Datum: 13.08.2009 14:42 There's no JavaDocs. This is my own personal hangup. I despise Javadocs. :-) I've never liked them in code, or reading them online... the only

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-13 Thread Clinton Begin
SqlRunner is not used by iBATIS core. It's used by the migrations tool though, and I use it for unit tests all the time. Consider it part of the utilities included with iBATIS. Clinton On Thu, Aug 13, 2009 at 10:29 AM, Fred Janon fja...@gmail.com wrote: Sorry, I don't get it. There is a run

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-12 Thread Zart Colwin
What can I say, I would have done it if you did drop me a note to tell me where to begin with. ZC. Clinton Begin wrote: I don't know, did you finally implement it? On Tue, Aug 11, 2009 at 1:08 PM, zart colwin za...@wanadoo.fr mailto:za...@wanadoo.fr wrote: Hi, Is it finally

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-12 Thread Clinton Begin
iBATIS is not a dictatorship or a bureacracy. Read this: http://www.apache.org/foundation/how-it-works.html#meritocracy No member of the iBATIS team is here because they were told to be here. BTW: The answer to your question is yes... you can iterate over multiple collections ... nested or

RE: iBATIS 3 for Java Released (BETA 1)

2009-08-12 Thread Poitras Christian
Hi, When will dtd files be available on apache web site? Christian From: Clinton Begin [mailto:clinton.be...@gmail.com] Sent: Wednesday, August 12, 2009 2:50 PM To: user-java@ibatis.apache.org Subject: Re: iBATIS 3 for Java Released (BETA 1) iBATIS

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-12 Thread Clinton Begin
-- *From:* Clinton Begin [mailto:clinton.be...@gmail.com] *Sent:* Wednesday, August 12, 2009 2:50 PM *To:* user-java@ibatis.apache.org *Subject:* Re: iBATIS 3 for Java Released (BETA 1) iBATIS is not a dictatorship or a bureacracy. Read this: http://www.apache.org/foundation/how

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-11 Thread zart colwin
Hi, Is it finally possible to iterate over two or more collections using the new foreach statement ? Doesn't seem possible from what I have seen on the doc, but did not fully understand the Note: on page 46. ZartC Nathan Maves wrote: A month ago iBATIS turned 7 years old, and while we're

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-11 Thread Clinton Begin
I don't know, did you finally implement it? On Tue, Aug 11, 2009 at 1:08 PM, zart colwin za...@wanadoo.fr wrote: Hi, Is it finally possible to iterate over two or more collections using the new foreach statement ? Doesn't seem possible from what I have seen on the doc, but did not fully

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-10 Thread Zhubin Salehi
Is it already on Maven2 repository? I couldn't find it under http://repo1.maven.org/maven2/org/apache/ibatis/ Ing. Jan Novotný wrote: Congratulations, I can't wait to see whether all visions get fullfilled. Thank you, Jan Novotný 2009/8/8 Nathan Maves nathan.ma...@gmail.com A month

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-10 Thread Ian Zabel
Congrats, everyone! This is great to see! Cheers, Ian. On Sat, Aug 8, 2009 at 3:36 PM, Nathan Maves nathan.ma...@gmail.com wrote: A month ago iBATIS turned 7 years old, and while we're celebrating a little late, today we're happy to announce iBATIS 3 for Java. iBATIS 3 is a complete rewrite

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-10 Thread Brandon Goodin
No it is not on the maven repo. Brandon On Mon, Aug 10, 2009 at 12:15 PM, Zhubin Salehi zhooz...@yahoo.com wrote: Is it already on Maven2 repository? I couldn't find it under http://repo1.maven.org/maven2/org/apache/ibatis/ Ing. Jan Novotný wrote: Congratulations, I can't wait to see

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-10 Thread Fidel Viegas
Hi Nathan, Thanks for sharing the brand new features of iBatis. I quite like the migrations tool, but I do have a question that I haven't found in the documentation. Does it support stored procedures as well? Regards, Fidel. -

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-10 Thread Clinton Begin
The migrations support any SQL... DDL or DML... Schema or data. As long as it ends in a semicolon, you're good to go. Actually, even the semi-colon is configurable. :-) Clinton On 2009-08-10, Fidel Viegas fidel.vie...@gmail.com wrote: Hi Nathan, Thanks for sharing the brand new features of

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-10 Thread Fidel Viegas
On Tue, Aug 11, 2009 at 12:01 AM, Clinton Beginclinton.be...@gmail.com wrote: The migrations support any SQL... DDL or DML... Schema or data.  As long as it ends in a semicolon, you're good to go.  Actually, even the semi-colon is configurable.  :-) Thanks Clinton. I was just reading the

iBATIS 3 for Java Released (BETA 1)

2009-08-08 Thread Nathan Maves
A month ago iBATIS turned 7 years old, and while we're celebrating a little late, today we're happy to announce iBATIS 3 for Java. iBATIS 3 is a complete rewrite from the ground up and thus represents the biggest change since the very first version of iBATIS released in 2002. There are a lot of

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-08 Thread Ing . Jan Novotný
Congratulations, I can't wait to see whether all visions get fullfilled. Thank you, Jan Novotný 2009/8/8 Nathan Maves nathan.ma...@gmail.com A month ago iBATIS turned 7 years old, and while we're celebrating a little late, today we're happy to announce iBATIS 3 for Java. iBATIS 3 is a

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-08 Thread Chema
Congratulations Where can we look for the main new features ? I mean, a short list with the news Thanks 2009/8/8 Nathan Maves nathan.ma...@gmail.com A month ago iBATIS turned 7 years old, and while we're celebrating a little late, today we're happy to announce iBATIS 3 for Java. iBATIS 3

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-08 Thread Clinton Begin
I think we hit them all. The annotations were the biggest let down. While they are there, Java annotations are severely limiting and awkward. Overall though, I'm very happy with how it turned out. Clinton On 2009-08-08, Ing. Jan Novotný novotn...@gmail.com wrote: Congratulations, I can't wait

Re: iBATIS 3 for Java Released (BETA 1)

2009-08-08 Thread Clinton Begin
The docs are long, but you can skim them for the new features. That said, most of our goals were not new features, but improving the quality and effectiveness of the features that make ibatis what it is. Clinton On 2009-08-08, Chema demablo...@gmail.com wrote: Congratulations Where can we