Because you're calling a "query", iBATIS doesn't realize you're actually
updating, so it won't commit by default.
Set your transactionManager config in your configuration XML file to
commitRequired="true".
Check the user guide for more. And make sure to switch to the MyBatis lists
for future que
ses. But we believe we can make it
>> even better.
>>
>> Therefore, the entire core development team of iBATIS has decided to
>> continue
>> the development of the framework at a new home and with a new name.
>>
>> This includes all of the iBATIS for
The ibatis.com doctypes were deprecated about 4 years ago... they should be
changed to ibatis.apache.org...
The reason they would suddenly stop working is that the
ibatis.com/net/orgredirects have just changed recently. But again,
those doctypes were
deprecated ages ago.
See the news release fr
heers,
Clinton
On 2010-05-24, Nicky Jha wrote:
> Hi
>
> I am using parameter class DynamicProcedureParams(as sugessted by Joe Gooch
> ), as my requirement was to build paramaters at run time, so with this
> approach where can I set jdbcType?
>
> Nicky
>
> From: Clinto
Are you setting the jdbcType in your parameter map for all nullable columns?
Clinton
On Mon, May 24, 2010 at 11:03 PM, Nicky Jha wrote:
>
> Hi
>
> with approach mentioned below(DynamicProcedureParams) , I want to also pass
> some of parameter as null((private List params = new
> ArrayList(); pa
With a read/write cache that is NOT serializable, it sort of eliminates any
benefit of caching. This was a little confusing in iBATIS 2... but the only
settings that really make sense together are:
readOnly="true" serializable="false"
readOnly="false" serializable="true"
The first one is the def
t might be time
to look into an iBATIS 2 > 3 converter... it's probably faster and easier to
create that than to try to support 2 versions of the framework in the long
term.
Cheers,
Clinton
On Fri, May 21, 2010 at 6:11 PM, cowwoc wrote:
> Hi Clinton,
>
>
> On 21/05/2010
ker? (I prefer the former from a usability point of
> view)
>
> Gili
>
>
> On 21/05/2010 3:54 AM, Clinton Begin wrote:
>
> *ANNOUNCEMENT*
>
> Eight years ago in 2002, I created the iBATIS Data Mapper and introduced
> SQL Mapping as an approach to persistence layer deve
e the development of the framework at a new home and with a new
name.
This includes all of the iBATIS for Java committers:
* Clinton Begin
* Brandon Goodin
* Jeff Butler
* Larry Meadors
* Nathan Maves
* Kai Grabfelder
And all of the iBATIS.NET committers:
* Michael McCurrey
* Ron Grab
That is the case for most situations, but make sure to grab the latest
release.
It's still a best practice and a JDBC requirement. All iBATIS will do is
fill it in with Types.OBJECT or Types.Other to try to force the null.
Clinton
2010/5/20 François Schiettecatte
> Hi
>
> I remember seeing so
Yep, just a typo. I'll take care of it in the docs.
Cheers,
Clinton
On Wed, May 19, 2010 at 5:12 AM, alebu wrote:
> Hi, at this moment I am reading documentation "Advanced Result Mapping"
> section and one think I can't understand in the example with blogs (further
> reading didn't clarified i
Version 3, yes. Version 2, no.
Cheers,
Clinton
On Wed, May 19, 2010 at 5:14 AM, alebu wrote:
> Hi, I have some ibatis API question:
> Is it possible to assemble configuration elements like resultMap's or
> queries in runtime using API only? Can these API generated elements
> reference to those
and we
> will provide the war file to the customer and the client must be able to add
> it and we need to pick it during runtime or server startup. Is there any
> other way?
>
> Thanks,
> Kiran
>
> ------
> *From:* Clinton Begin
> *To:* user-java@ib
If it's in a property file, can you just do this at the build stage? It
will be faster to do so too.
Clinton
On Mon, May 17, 2010 at 2:42 PM, kiran vuppla
wrote:
> Hi,
>
> I would like if we can do the following check in the Query inside
> statement. I am reading the property from property f
e tree of my
> application and still got the issue, but... the server I am running this one
> was rebooted due to a power failure and now the problem has gone away... I
> blame cosmic rays at this point...
>
> So this is not an issue.
>
> Cheers
>
> François
>
>
>
That would be a really simple change.
What I've been really getting used to though is configuring the datasource
in XML, and then using Java for most everything else.
For example, I have this in a class called IbatisConfig:
final String resource = "com/myapp/data/IbatisConfig.xml";
f
lder.getInjector().inject(this);
>> }
>>
>>
>> InjectorHolder is part of Wicket, it worked well with iBatis2 :-m
>>
>> Cheers.
>>
>>
>>
>> Clinton Begin wrote:
>>>
>>> What kind of constructor does lombok result in? It looks to
What kind of constructor does lombok result in? It looks to me like
the constructor is either generated as private or with parameters.
Clinton
2010/5/11 José María Ruiz :
>
> Hi.
>
> First, thanks for you effort with iBatis. I think it's a wonderful "orm" for
> all of us who don't hate sql ;).
>
gt; I have not had a chance to look at it, and it is still an issue, before
> rushing out and creating a jira ticket for it I wanted to look at the code
> diffs between the two releases, I will try to get to it later today or this
> WE.
>
> François
>
> On May 7, 2010, at 10:33 AM
Let me know if this is still a problem, and create a JIRA ticket if it is.
I should have some time this weekend to look into it.
Clinton
On Wed, May 5, 2010 at 9:16 PM, Clinton Begin wrote:
> Two things to do:
>
> * Create a JIRA ticket for this. We'll continue conversation and
&
What it feels like is that iBatis is hanging onto the connection and reusing
> it at a later time.
>
> What do you need from me to track this down?
>
> Cheers
>
> François
>
>
>
> On May 1, 2010, at 4:28 PM, Clinton Begin wrote:
>
>> Then no, I don't bel
Perhaps with the shiny new SqlBuilder... :-)
On 2010-05-05, Jeff Butler wrote:
> IIRC, iBATIS doesn't support dynamic SQL in annotations. You'll need
> to use an @UpdateProvider and generate the dynamic SQL yourself.
>
> Jeff
>
> On Wed, May 5, 2010 at 2:18 AM, shamim wrote:
>>
>> Hi All,
>>
p11.Http11Processor.process(Http11Processor.java:852)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> at java.lang.Thread.ru
It's in the file name in the old Ant based builds... the 240 in your
example below is the build number.
In the new Maven builds, unfortunately there is no build number anymore.
Clinton
2010/5/4 François Schiettecatte :
> Hi
>
> I am trying to track down an issue which appeared when I updated to
iBATIS 3 enhanced objects should be serializable. Can you post the
exception you're getting?
Clinton
On Mon, May 3, 2010 at 7:25 PM, moffit wrote:
>
> Hi,
>
> I noticed that this question was asked a few years ago with Ibatis 2.X
> without any resolution.
>
> Basically, lazy loaded objects ar
n
2010/5/1 François Schiettecatte :
> I am using JDBC, with C3P0 as my data source.
>
> Cheers
> François
>
> On May 1, 2010, at 4:14 PM, Clinton Begin wrote:
>
>> The only code changes related to that were with managed transactions.
>> Which transacion manager are y
The only code changes related to that were with managed transactions.
Which transacion manager are you using? (JDBC or MANAGED)?
Cheers,
Clinton
2010/5/1 François Schiettecatte :
> Hi
>
> I grabbed the latest, greatest release of 3.0 from :
>
>
> http://people.apache.org/builds/ibatis/ib
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 la
It was moved to
http://www.apachebookstore.com/confluence/oss/display/IBATIS/Home
without our knowledge.
I tried to update the website last night, but people.apache.org was
also having routing issues.
I'll try to get the new links up tonight. In the mean time, I'll send
this out as a broadcast a
Done. I've also added type aliases for array versions of all of the built
in types (using the same naming convention for primitives), for example:
"byte[]" ==> Byte[].class
"_byte[]" ==> byte[].class
etc.
Cheers,
Clinton
On Sun, Apr 25, 2010 at 2:56 PM, Geek Cracovian wrote:
> Hi All,
>
> I'
Unfortunately I don't use Oracle and haven't used OUT params or ref cursors
for 10 years. So someone else will have to help you out with an example.
Clinton
On Fri, Apr 23, 2010 at 10:43 AM, Alex Park wrote:
> Thank you Clinton, your answer was very helpful.
> I tried to fix my code but I could
To do what you're trying to do, you'll need to write a TypeHandler. iBATIS
doesn't allow ResultSets to leave the execution scope.
Clinton
On Fri, Apr 23, 2010 at 6:20 AM, Alex Park wrote:
> Alex Park paran.com> writes:
>
> >
> > Hi there,
> >
> > How to get a result from output parameter(orac
e, Apr 20, 2010 at 7:48 PM, Clinton Begin wrote:
>
>> Okay, I've looked around. It is really hard to find the way it's
>> "supposed" to work, but I don't think it matters. There's more than enough
>> empirical evidence (both in iBATIS 2 and Adinath
Do either of you use ManagedTransaction?
Clinton
On Thu, Apr 22, 2010 at 12:38 PM, Guy Rouillier wrote:
> We've had our production customer portal running with iBATIS beta 7 for 3
> months now ;) Working great, but obviously would like to upgrade to a GA
> version for our next point release.
>
Yes, but not for output params or ref cursors.
On 2010-04-22, Sergey Livanov wrote:
> I use iBatis 2.6. v. Does the cache work, when I call the sql statement by
> stored procedure ?
>
--
Sent from my mobile device
-
To unsubs
There's currently no way to use an xml result map from an annotation.
Remember, ibatis is not an ORM, so you have to pair result maps with
statements each time, and currently the entire pair must be xml or
annotations.
On 2010-04-22, Andrea Selva wrote:
> Hi list,
> i've a trouble with IDENTITY i
Are you sure you're compiling with jdk 5 or above?
On 2010-04-22, Davide Rossoni wrote:
> I'm using iBatis 3.0 GA and I'm trying to compile my project using Maven.
>
> Eclipse compiles the project well, without errors, but Maven generates a
> COMPILATION ERROR like this:
>
> MyTableMapper.java:[1
It's highly unlikely that these are bugs in iBATIS. We have lots of unit
tests that validate this functionality. We've also had 10 straight months
of beta testing that have not yielded any problems.
One known issue is that ManagedTransactions are not being closed on some app
servers, but even th
Okay, I've looked around. It is really hard to find the way it's "supposed"
to work, but I don't think it matters. There's more than enough empirical
evidence (both in iBATIS 2 and Adinath's custom implementation). So I've
added the close to the ManagedTransaction. It will log but otherwise ign
w at the latest.
Cheers,
Clinton
On Mon, Apr 19, 2010 at 1:26 AM, Adinath wrote:
> Clinton,
>
> On Sun, Apr 18, 2010 at 2:45 PM, Clinton Begin wrote:
>
>> You did the right thing... iBATIS transaction managers are meant to be
>> easy to implement yourself.
>>
&g
You did the right thing... iBATIS transaction managers are meant to be easy
to implement yourself.
That said, this was a matter of constant debate back in the good old days
when none of the standards were implemented consistently. I'm still not
sure if they are.
Some app servers would complain i
Not in iBATIS 2... unless you override the entire transaction API.
On Wed, Apr 14, 2010 at 10:43 AM, Ejaz X Mohammed <
ejaz.moham...@jpmorgan.com> wrote:
> I changed the code to use plain jdbc instead of ibatis ... as I said I'm
> doing just SELECT ... I started no tranasaction .. now I don't see
The definition of null is the absence of value and meaning. So
regardless of whether it's a null column or no rows, no meaning should
be applied to it. Thus these cases are the same.
If you want meaning to come from the row, return a value, perhaps the
row number.
Clinton
On 2010-04-13, cowwoc
Known issue, fixed in trunk ant the next release. Here's the release files,
although not officially released yet. :-)
http://people.apache.org/builds/ibatis/ibatis-3-core/ibatis-core-3.0.0-
bundle.zip
Cheers,
Clinton
On Mon, Apr 12, 2010 at 4:22 PM, IceMan81 wrote:
>
> Hi,
> I am using IBa
Example?
2010/4/12 Tomáš Procházka
> Hi.
>
> I found some problem. I need have special method in model class which do
> some lazy initialization which can't be called from iBatis mapper. But
> problem is, that iBatis call all getXyz methods during insert or updated,
> also if I don't specify thi
I've improved this in the next release. While it's not officially released
yet, try this:
http://people.apache.org/builds/ibatis/ibatis-3-core/ibatis-core-3.0.0-bundle.zip
Clinton
On Fri, Apr 9, 2010 at 6:18 PM, Nate Weiss wrote:
> Hi--
>
> First, really enjoying iBatis 3. Thanks to all who
;
> List dPartList = d.getCarParts();
> if (dPartList!=null) {
> logger.debug(" car Part iterator is not null " + dPartList.size());
> } else {
> logger.debug(" car Part List is null " );
> }
>
> }
> assertNotNull("At least one device must e
3, cowwoc wrote:
> >> Clinton,
> >>
> >> I'm not looking for a specification in that sense of the word :) I
> meant
> >> something along the lines of Design by Contract:
> >> http://en.wikipedia.org/wiki/Design_by_contract
> >>
> >
I agree, EJB 3 looks very good. But my point was that the first two
iterations of the spec didn't help. And if anything, the non-spec driven
Spring framework drove EJB 3 to be what it is today.
Clinton
On Wed, Apr 7, 2010 at 11:06 AM, Guy Rouillier wrote:
> On 4/7/2010 9:50 AM, Clint
e lines of Design by Contract:
> > http://en.wikipedia.org/wiki/Design_by_contract
> >
> > If my code depends on iBatis and upgrading to a newer version breaks
> my
> > code then how do we establish whether the problem is:
> >
> > 1. The iBatis implement
guaranteed
> by the specification (i.e. a bug in my application)
>
> Thanks,
> Gili
>
>
> On 07/04/2010 9:50 AM, Clinton Begin wrote:
>
> Then you might be happier with a spec like JPA. Although I'd warn that
> such specs are rarely implemented consistently.
Null parameters are allowed, so we can't fail upon them. To maintain
compatibility with string based calls against map parameters, we don't
distinguish between a null keyed entry in the map and no keyed entry at all.
I'd be willing to consider this change, but it's one of those things that
has al
Yes, that can be reworded and more information is likely possible.
Can you file a Jira ticket for this?
Clinton
On Tue, Apr 6, 2010 at 10:09 PM, cowwoc wrote:
> Hi,
>
>I am getting an error message:
>
>"JDBC requires that the JdbcType must be specified for all nullable
> parameters [..
Then you might be happier with a spec like JPA. Although I'd warn that such
specs are rarely implemented consistently.
This is what has killed J2EE vs. the alternatives. Look at the history:
* CMP - Spec. Dead, along with all implementations.
* EJB - Spec. Dead. Spring killed it -- not a sp
gt; Class X {
> String id
> String desc
> List b
> }
> If index is null the desc is applicable for X and when its not null it
> should be applicable to X.
>
> --V
>
> On Apr 6, 2010, at 7:21 PM, Clinton Begin wrote:
>
> If iBATIS finds ANY values for the mapped propertie
If iBATIS finds ANY values for the mapped properties, it will create the
object. Is it possible that the desc column is populated even when the
index is null?
On Tue, Apr 6, 2010 at 7:52 PM, Viv Kapadekar wrote:
> Hi
> I have a Class X containing a List of Class Y
>
> Class X {
> String a
> List
Yes, iBATIS will rollback the connection if it deems it necessary. The only
time you might need to call rollback explicitly is if you have a "select"
that actually updates data in the database. Such is sometimes the case with
stored procedures.
Clinton
2010/4/5 François Schiettecatte
> If you
in the exception
chain, but you'll have to catch Exception and follow the nested exception
chain.
Clinton
On Mon, Apr 5, 2010 at 2:50 PM, Clinton Begin wrote:
> I don't, because I don't consider it a problem. It's a personal opinion of
> mine that I much prefer pro
I don't, because I don't consider it a problem. It's a personal opinion of
mine that I much prefer proper documentation like the User Guide to source
generated docs. I've never read a decent JavaDoc outside of the JDK itself,
and therefore I don't depend on them. That's just me though. In the p
iBATIS returns whatever type you tell it to based on your result maps or
just the bean property type. Based on this it calls rs.getXxxx() where
X() is the type. iBATIS performs no conversions. So in a sense, as
long as the new SQL Server driver is JDBC compliant, it should work fine.
Clin
Fixed in trunk. Will be released within a day or two as 3.0 GA candidate.
Cheers,
Clinton
On Sat, Apr 3, 2010 at 10:21 AM, Dzmitry Lazerka wrote:
> up
>
>
> On Wed, Mar 17, 2010 at 16:50, Dzmitry Lazerka wrote:
> > Hi!
> >
> > I have default configuration "time_zone=GMT+0:00"
> > and I'm now
I the performance penalty would be quite a bit, so I wouldn't use it in
production. But it's fine for development.
Hopefully you're not reloading your app in production regularly.
Clinton
On Thu, Apr 1, 2010 at 11:26 PM, Derek Scherger wrote:
> On Thu, Apr 1, 2010 at 10:55
This is a known issue. I agree that it would be nice to do something with
it. Ideas are welcome. The only one I have at the moment is to make
ClassInfo an instance and inject it into the SQL mapper configuration. I've
done similar things to eliminate static classes in the framework.
You can ca
+1 for Aqua!
On Thu, Apr 1, 2010 at 1:12 PM, Larry Meadors wrote:
> I use Aqua Data Studio, it's a java app.
>
> François: SQL Editor looks pretty nice, I may have to try it. :)
>
> Larry
>
>
> 2010/4/1 François Schiettecatte :
> > Josh
> >
> > On the Mac I used an application called SQLEditor wh
1 minute and 21 seconds later you'll have a snapshot build of the migrations
in:
/target/ibatis-core-3.0-SNAPSHOT-migrations.zip
Unzip it and you'll recognize the contents to replace your existing
Migrations implementation.
Clinton
On Sun, Mar 28, 2010 at 4:10 PM, Clinton Begin wrot
x27;t sure if there was maybe a JDBC
> driver issue or if it was something that schema migrations was doing.
>
> I've tried saving the scripts in both windows and un*x line ending format
> and that didn't seem to have any effect.
>
>
> Thanks!
>
>
> On Fri, M
You don't even have to really... it will be called automatically if you
don't call commit in most cases. Write a unit test for yourself to confirm
this in your environment.
But yes, what you wrote looks fine. My only recommendation would be to roll
back regardless of the exception type (e.g. cat
What do you mean view in your console?
Clinton
On Thu, Mar 25, 2010 at 10:03 AM, chris oberle wrote:
> Hello,
>
> I have a keen interest in using Ibatis Schema MIgrations but am having an
> issue and am hoping someone can tell me if there is anything I can do about
> it.
>
> For some reason, whe
24, 2010 at 9:15 PM, Clinton Begin wrote:
> You have to tell iBATIS that it's a proc, and set the statement type to
> CALLABLE and set the parameter to an output parameter, as follows:
>
> @Select(" ibatis3select(#{Currency*,mode=OUT*}) ")
> *...@options(
You have to tell iBATIS that it's a proc, and set the statement type to
CALLABLE and set the parameter to an output parameter, as follows:
@Select(" ibatis3select(#{Currency*,mode=OUT*}) ")
*...@options(statementType = StatementType.CALLABLE)*
Integer selectACurrencyBatis3(String sCurrency );
Mos
Thanks Martin. Core is the only module. The compat module is for testing
only.
Cheers,
Clinton
On Tue, Mar 23, 2010 at 8:20 AM, Martin Ellis wrote:
> On 23 March 2010 03:05, Clinton Begin wrote:
> > I plan on cutting a release this week for iBATIS 3.0. Officially it will
> be
Hi all,
I plan on cutting a release this week for iBATIS 3.0. Officially it will be
Beta 11, but I will cast the vote for it to become the GA release.
If you can, please check out from the trunk and build it from source to try
it out. Let us know if there are any last minute challenges. This i
Criticism is welcome here, especially in this somewhat "risky" feature.
To begin though, SelectBuilder is more of a utility than anything. You
could easily create your own builder and use it with no consequence. There
is no dependency on SelectBuilder nor any requirement to use it.
My story is
It was liquidated. Honestly I thought it was messy... but maybe I
underestimated its usefulness...
Clinton
On Fri, Mar 19, 2010 at 3:19 PM, Rick R wrote:
> I really though queryForMap was cool. I'm looking for how to do it in
> ibatis3 but don't see a way. Doesn't seem to exist as a select type
Unfortunately you can't do that with nested result maps that way. The
problem is that the iBATIS sql map syntax doesn't allow for a way to express
the shift of IDs. To build a hierarchy of nodes for example, the parent
node id has to use the same column as the child node id. Because of this,
iBA
p and properties step in this process:
>
>sqlSessionFactoryBuilder.build(reader, properties);
>
> make sense? Not sure how feasible or desirable this is given that I can
> keep SqlSessionFactory(ies) resident.
>
> Thanks again
>
> François
>
> On Mar 18, 2010,
Factory().build(reader,
> properties) for each host name/database name/user name you access. Or did I
> miss something here ?
>
> Cheers
>
> François
>
>
> On Mar 17, 2010, at 11:21 PM, Clinton Begin wrote:
>
> > I'm not sure what to say... this is not really
I'm not sure what to say... this is not really an iBATIS issue.
* First, you're purposefully going directly against a key part of the
SqlSession contract. There's an entire section in the user guide about
SqlSession lifecycle (Page 9) and you're completely ignoring it. This makes
it very diffi
/Contribute+Documentation
Clinton
On Wed, Mar 17, 2010 at 9:49 AM, Clinton Begin wrote:
> If there's documentation lacking, please contribute it as per the note
> within the first couple of pages of the user guide.
>
>
>
> On 2010-03-17, Jon Finanger wrote:
> > Thanks,
&
If there's documentation lacking, please contribute it as per the note
within the first couple of pages of the user guide.
On 2010-03-17, Jon Finanger wrote:
> Thanks,
> Hmm...missing some letters there I see...
> Got a step furtherthe 3 version differs a bit from the 2 version I
> realize.
Fixed. Give it a try.
Clinton
On Tue, Mar 16, 2010 at 12:28 PM, Bekkum Odd-Rune wrote:
> Hi.
>
> To get it to work I've added :OTHER on all INSERT and UPDATE statements.
> I can do check out and build and test it tomorrow.
> I've created Jira ticket IBATIS-762.
>
> Thanks,
> Odd-Rune.
>
> Thank
Did you try writing a quick pure java test to see if it's the jndi
config or something else?
On 2010-03-16, phasor wrote:
>
> Hi,
>
> I´m facing a problem when deploying an extjs app(using ibatis plugin) to
> oracle application server 10.
> In sqlmapconfig.xml i´m referencing a jndi datasource th
Thanks. A few others have reported this, but until now I didn't understand
what was happening. It's unusual for Postgres to allow Types.OTHER for
setNull. Indeed I did remove that code. I don't think it should be a
problem to put it back. I'll try to commit something tonight, and if you're
wil
pecify parameter names, they default to #{0}, #{1}, #{2}
etc...
On Wed, Mar 10, 2010 at 10:11 PM, marksomaha wrote:
>
> Clinton,
>
> No, I am not using @Param. I've read the User Guide, but I don't know what
> the exact syntax to use.
> As I am a newbie to I
Are you naming the parameters in your method using @Param?
Clinton
On Wed, Mar 10, 2010 at 6:14 PM, marksomaha wrote:
>
> Follow-up: Embarrassed to say the "Invalid table name" was my own typo.
> "Insert into USER..." should have been "Insert into USERS..."
>
> Now, it runs, but it is still no
The only rationale there is to allow for you to commit more than once within
a session scope. In previous versions of iBATIS this was possible, but was
messy because Session, Transaction and Batches were all managed separately.
Because we've now merged all three into this one concept, we didn't w
Hmmm... RefCursors might be defaulting to the FastResultSetHandler, which
doesnt' load relationships. Should be a simple fix.
Unfortunately I'm without my computer (no way!) right now. If anyone's
interested in why you should never buy Lenovo, let me know. ;-)
Clinton
On Mon, Mar 8, 2010 at 4
Yes, that's correct.
Cheers,
Clinton
On Fri, Mar 5, 2010 at 1:13 PM, Michael Schall wrote:
> In looking at this further... Resultset.getInt returns an int...
> http://java.sun.com/j2se/1.5.0/docs/api/java/sql/ResultSet.html#getInt(int)
>
> However the autoboxing feature of Java 1.5 converts it t
That's a good observation. Can you throw a feature request in jira?
Cheers,
Clinton
On 2010-03-05, François Schiettecatte wrote:
> Hi
>
> Any reason why there are only two select() methods in
> org.apache.ibatis.session:
>
> void select(String statement, Object parameter, ResultHandler handle
now and it makes my code simpler. I
> know I *could* modify the iBATIS 3 code but I am loath to do that because it
> would introduce variability.
>
> FWIW iBATIS 2 was completely stable sharing SqlMapClient, I had no issues
> for 18 months.
>
> Cheers
>
> François
>
&g
>> Session Level Cache ... does not work if the data has been changed by
>> another process
The session level cache is exactly that... session level. It only
clears things local to your session. If another process changes data,
you should have cache flushing rules in place to cause the cache to
I've recompiled Beta 10 with JDK 5. The website should be updated in a few
hours (mirroring).
The builds to look for are 242 (for core framework) and 243 (for
migrations).
Cheers,
Clinton
On Mon, Mar 1, 2010 at 7:53 AM, Clinton Begin wrote:
> Indeed. This was accidental.
>
>
Indeed. This was accidental.
Clinton
On 2010-03-01, Stephen Friedrich wrote:
> That works fine, indeed.
>
> So it seems it's only the download linked from the main java page is
> broken:
> http://people.apache.org/builds/ibatis/ibatis-3-core/ibatis-3-core-3.0.0.240.zip
>
> Thanks for your help!
A REALLY good example of a paginated web service is amazon's merchant
apis. I can't recall the exact name (AWS?), but I remember really
liking how they implemented a usable web service on top of what is
probably the largest product database on the web.
Clinton
On 2010-02-25, zkn wrote:
> My bad
Ibatis shouldn't block that way. Can you confirm that it's not a table lock?
On 2010-02-24, Tomáš Procházka wrote:
>
> I don't need expose JDBC. I only continuously read large table as queue and
> process every item.
>
> I already used ResultHandler and ArrayBlockingQueue in handleResult(). If
>
The reason is that the rows aren't uniquely identified. Upon a second look,
I see that the column I recommended isn't unique. Which columns uniquely
identify each parent row?
On Sun, Feb 21, 2010 at 9:50 PM, Rick R wrote:
> And those static methods will be moved to a Helper file:) it's not my
Oh... also put an element on the parent (likee parentValueID?).
Also, be careful with automapping and nested results. In Beta 9 I added
configuration to disable automapping for nested results, only because it was
confusing where the results would end up. But that doesn't look like a
problem her
It rolls up by elements, or if none exist, it rolls up by all columns
(which is why specifying an id is important).
Clinton
On Sun, Feb 21, 2010 at 5:55 PM, Rick R wrote:
> I'm now starting to get into using ibatis3 more and I'm curious about why a
> 'roll up' is happening (based on a column I
this matter?
>
> Jan
>
>
> 2010/2/19 Clinton Begin
>
>> There will be a new release by then, probably this weekend.
>>
>> On 2010-02-19, Ing. Jan Novotný wrote:
>> > 3rd March.
>> >
>> > 2010/2/19 Clinton Begin
>> >
>> >&
There will be a new release by then, probably this weekend.
On 2010-02-19, Ing. Jan Novotný wrote:
> 3rd March.
>
> 2010/2/19 Clinton Begin
>
>> When is your workshop?
>>
>> On 2010-02-18, Ing. Jan Novotný wrote:
>> > Thank you guys for sharing yo
1 - 100 of 1217 matches
Mail list logo