If you measure it in milliseconds over hundreds of thousands of calls, it's
technically far worse. But practically speaking, your users probably
wouldn't notice in a million years. :-)
Clinton
On Sat, Nov 15, 2008 at 9:06 AM, Rick <[EMAIL PROTECTED]> wrote:
> I'm starting this conversion of an
Oh also if you're loading LOTS of data, the map might need twice as much
space, as I can't remember if it calls intern() on the keys (or values for
that matter).
Clinton
On Sun, Nov 16, 2008 at 7:23 AM, Clinton Begin <[EMAIL PROTECTED]>wrote:
> If you measure it i
I'd use 3 separate classes whether it was flat or not: Person, Car,
CarRanking
I'd add the collection (and the back reference) as necessary (i.e. where it
made sense for my application).
Clinton
On Sat, Nov 15, 2008 at 6:43 AM, Rick <[EMAIL PROTECTED]> wrote:
> I was going to mail this directl
Yeah, this time you have to blame Derby... While Larry is right and this is
a very silly API... Derby was wrong to allow setting NULL without specifying
the type, and unfortunately you got caught using their non-standard API.
Funny how the "Java DB" is non-standard. :-)
But then again, it just w
s not adhere to the JDBC standard".
> >
> > I think (and more with me) that what Derby does as in accordance with
> > the JDBC specification (I think it was thoroughly discussed on the
> > derby-dev list a year or two ago), and that MySQL,PostgreSQL and
> > Oracle has implem
Mario,
My records show that you never sent the source. You only sent a fully
compiled binary demo. We can't do much with that... ;-)
Clinton
On Mon, Nov 24, 2008 at 5:29 AM, Mario Ds Briggs <[EMAIL PROTECTED]>wrote:
> Hi Prakash,
>
> Sometime last year i had made the offer on the dev list -
The easiest and most accurate thing to do would be to mount the ibatis
source code and step through it yourself. We can provide general answers,
but there's nothing like checking it right at the source.
Of course the result set "should be" closed. Only you can confirm if it
actually is.
Clinton
Now, now... :-)
Maps are useful for more than just ad hoc non-types... they're good for
passing multiple (typed) params as well.
But I believe the typing Nathan was talking about was the parameter type
itself... without specifying the Map as the expected parameter, you could
happily pass someObje
Jeff, you're a wizard. Excellent work and a great display of commitment.
I'm trying to keep pace with your commits!
Cheers,
Clinton
On Tue, Dec 23, 2008 at 6:27 AM, Jeff Butler wrote:
> Yes - the standalone version is fully functional. There was a minor
> bug in version 1.2.0 related to clas
rogress.
> Can't wait to see how it ends up!
>
> Jeff Butler
>
>
> On Tue, Dec 23, 2008 at 10:43 AM, Clinton Begin
> wrote:
> > Jeff, you're a wizard. Excellent work and a great display of commitment.
> >
> > I'm trying to keep pace with you
Feel free to grab the iBATIS DAO source and make it your own.
No need to start from scratch... it's Apache licensed... :-)
Clinton
On Fri, Jan 9, 2009 at 1:03 PM, Rick wrote:
> On Fri, Jan 9, 2009 at 2:47 PM, Jeff Butler wrote:
> > I meant that you could write plumbing code to support whateve
For the record I don't even use DAO anymore. It's an extra layer of
abstraction that isn't needed unless you know out of the gate that you're
going to have multiple persistence frameworks or databases.
Cheers,
Clinton
On Fri, Jan 9, 2009 at 12:07 AM, Rick wrote:
> I've looked at guice. I was l
The uncommitted data would be seen by thread B as you expect, *if* the
cache is configured as read-only.
To stop this problem, set the cache to read/write and serializable.
Sorry for the confusing configuration here.
Clinton
On 1/12/09, Young, Alistair wrote:
> Apologies for following up my own
Yes, minor. The biggest difference is that it ends up using the
UnknownTypeHandler, which does have to figure out the types at runtime.
Clinton
On Mon, Jan 19, 2009 at 7:25 PM, Rick wrote:
> I usually leave off naming the parameter class in my sqlMap
> definitions. Is there a performance hit l
t;
>
>
> PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"
>"sql-map-config-2.dtd">
>
>
>
>useStatementNamespaces="true"
> lazyLoadingEnabled="
Yes, they're both fine for production. iBATIS SimpleDataSource has been
around since iBATIS 1.0 and has changed very little (but it does get a major
facelift in iBATIS 3.0). The difference between the iBATIS SimpleDataSource
and most others is that it's a synchronous datasource. That is, it does
PS: If you're using an application server, my recommendation is to use the
container managed DataSource... always always always...
Cheers,
Clinton
On Tue, Jan 20, 2009 at 6:37 AM, Clinton Begin wrote:
> Yes, they're both fine for production. iBATIS SimpleDataSource has been
&
Hi all,
I've been studying a few large enterprise applications and have noticed an
interesting trend... many of these apps have HUNDREDS of connections (like
600) available or even open in their connection pools...
Survey Questions:
1. How many connections do you have available in your pool?
onder what others think...
>
>
>
>
> On Tue, Jan 20, 2009 at 8:43 AM, Clinton Begin wrote:
>
>> Hi all,
>>
>> I've been studying a few large enterprise applications and have noticed an
>> interesting trend... many of these apps have HUNDREDS of connec
or not getting
>> something right. As far as my understanding goes, arent number of
>> connections in a pool in relation to the number of parallel users that
>> access the application than the number of CPU cores in a database?
>>
>> Regards
>> S
>>
>
use the EXTERNAL transaction manager and pass in your own connection.
cheers,
Clinton
On Tue, Jan 20, 2009 at 4:57 PM, Xiangrong Fang wrote:
> Hi There,
>
> How can I use iBatis without starting an transaction? I try to do:
>
> PRAGMA synchronous=OFF
>
> for SQLite database, but iBatis report
Hi everyone,
A group of developers have approached us with a contribution of code
to patch iBATIS so that it supports SQLJ.
If you've never heard of SQLJ, here are two links...
http://en.wikipedia.org/wiki/SQLJ
http://www.google.com/trends?q=sqlj
The future of SQLJ is not clear to me, nor is it
I suppose we should count all of the misinterpretations about "what
SQLJ is" as "no". ;-)
Clinton
On Fri, Jan 23, 2009 at 1:45 PM, Larry Meadors wrote:
> As a clarification, SQLJ is NOT a database or even an API.
>
> It is a Java language extension.
>
> Larry
>
>
> On Fri, Jan 23, 2009 at 1:39
will provide the needed hooks to write a
> SQLJ plugin/extension.
>
> Brandon Goodin
>
>
> On Fri, Jan 23, 2009 at 1:05 PM, Clinton Begin
> wrote:
>>
>> Hi everyone,
>>
>> A group of developers have approached us with a contribution of code
>> to
The reason is so that you can implement the recommended coding pattern:
try {
// start transaction
// commit transaction
} finally {
// end transaction
}
If you called commit OR end/rollback, you'd have to use a catch
block which sux. :-)
Cheers,
Clinton
On Fri, Jan 23, 2009 at 5:17 P
26, 2009 at 3:11 PM, wrote:
>
> 0
>
> IF it doesn't impact the main code line and someone is willing to maintain
> it, then why not? Seems more like a plugin at this rate.
>
> Chris Mathrusse
> christopher.mathru...@sybase.com
> Sybase, Inc
> One Sybase Drive
.
Best regards,
Clinton Begin
On Fri, Jan 23, 2009 at 12:05 PM, Clinton Begin wrote:
> Hi everyone,
>
> A group of developers have approached us with a contribution of code
> to patch iBATIS so that it supports SQLJ.
>
> If you've never heard of SQLJ, here ar
Do you have statememnt logging enabled?
On 1/31/09, MGG List Subscription wrote:
> When I format the SQL within my insert element like Example 1.0 and time
> several application calls the performance is degraded *substantially*.
> However, if I format the SQL as shown in Example 1.1 the performan
This is a good summary. I've been watching the other thread.
I think I might have found a possible candidate:
public class SqlText implements SqlChild {
//...
public void setText(String text) {
this.text = text.replace('\r', ' ').replace('\n', ' ').replace('\t', ' ');
this.isWhiteSpa
ethod for formatting text when statement cache is used.
>
>
> 2009/2/2 Clinton Begin :
>> This is a good summary. I've been watching the other thread.
>>
>> I think I might have found a possible candidate:
>>
>> public class SqlText implements SqlChild
e removed the formatting statements and committed the code to SVN.
Please check it out, run the build and try it for yourselves to see if
this solves the problem.
Clinton
On Tue, Feb 3, 2009 at 1:42 AM, Chema wrote:
>> 2009/2/3 Clinton Begin :
>> The statement cache operates only wit
atted SQL
>>
>> 3 mins 20 sec 42 secs
>>
>> Again, I am more than willing to provide logs, application code whatever to
>> assist in a resolution.
>>
>> Regards,
>>
>> M. Goodell
>>
>> -
Thanks for running these tests Jeff
I'll roll back the change I made unless it's confirmed that formatting
is an issue.
Clinton
On Tue, Feb 3, 2009 at 4:37 PM, Jeff Butler wrote:
> I'll take that challenge! :)
>
> In the test as distributed, each insert is a new transaction so there
> is
Hi Jan,
Let me address a few of your assertions, and then I can give you an update:
* First, Kai is right, iBATIS 2 has reached it's "feature completeness" --
we won't add any new significant features to it. We'll maintain it and fix
bugs.
* As far as Java 5 goes, iBATIS 2 supports Enums an
for the new Dynamic SQL? Is there an ETA for
> that specific feature? I would like to use iBatis for a new project but I
> would rather use iBatis 3 than 2 if Dynamic SQL is not too far away.
>
> Thanks
>
> Fred
>
> 2009/2/9 Clinton Begin
>
> Hi Jan,
>>
>>
Reflection is not slow enough to worry about. But if you don't specify the
result maps explicitly, then iBATIS has to access a bunch of metadata, look
stuff up in maps, and synchronize the call. That's slower. Still not
enough to worry about IMHO.
Clinton
On Thu, Mar 12, 2009 at 10:47 PM, Ivan
I recommend:
* Write the code you're worried about.
* Test it.
* If it's fast enough, don't worry about it.
* If it's not, return to the first step and try something else.
Technical spikes answer questions in a more relevant way than general
discussion.
Clinton
On Fri, Mar 13, 2009 at 1
All JDBC drivers require the type to be specified, as it's part of the
spec...
INSERT INTO
HEDEF_TANIMLARI (OID, VERSION, AD)
VALUES (#oid#, #version#, #ad:*VARCHAR*#)
On Tue, Mar 17, 2009 at 6:55 AM, Brian Bruns wrote:
> You need to explicitly give it the type, s
A few things
* You were sharing the connection and the statement in the JDBC
tests. But in the iBATIS tests you were outside of a
session/transaction scope. So to make it fair, you either need to
open/close the connection and create/close the statement each time.
* You were using Statement v
If you don't want to turn off lazy loading, then this is more of an XStream
question. iBATIS proxies are no different from any other proxy, so you'll
need to deal with it at the XStream level (or unwrap it manually
beforehand).
Clinton
On Wed, Mar 25, 2009 at 3:35 PM, AlexElba wrote:
>
> BTW t
Can you provide some example code from your application, showing some
crud operations?
Clinton
On 2009-04-03, Jeff Hibbs wrote:
> Hello All -
>
> Any help will be greatly appreciated...Thanks!!!
>
> Our iBatis-based application was running on Sun1 Server/DB2 Version 8 -
> z/OS with no problems.
I've done one better... iBATIS 3 does not support null value replacement at
all.
Cheers then. :-)
Clinton
On Mon, Apr 13, 2009 at 8:51 PM, Zoran Avtarovski
wrote:
> That’s why I’ve never managed to get it to work. Can I suggest that for
> the next version the logic be reversed on inserts. It’
Yes, that's exactly right Nathan. I like to believe the world has changed,
and that if we're in such a situation again today, we can just change the
data type in the app. :-)
Clinton
On Mon, Apr 13, 2009 at 10:08 PM, Nathan Maves wrote:
> oh right this "feature" was made for the times when you
You can manage this with a combination of your build and iBATIS. Both Ant
and iBATIS support token replacement like this:
Then either get Ant or iBATIS to replace the db_vendor token. I suggest
using your build to copy the default files to each vendor specific folder,
to avoid duplicate code.
In my opinion, this was more of an Oracle question than an iBATIS question.
iBATIS SimpleDataSource doesn't do anything special. It opens and closes
connections based on how many you tell it to keep alive, using the driver
you specify. It has no idea what a v$session view is, nor do I. The driv
Not really... but why are you asking for data you don't need? Is there any
way to just select out exactly what you need?
On Thu, Apr 30, 2009 at 2:20 AM, Ben Shory wrote:
> Hi,
> any way of breaking from row handler if I don't need to traverse the
> results anymore?
> if I throw runtime except
Currently, the trick is to ensure that you have caching enabled for those
statements (caching of any configuration, other than weak reference caching,
will work).
This is not ideal and is solved by iBATIS 3.0, which is just around the
corner.
Clinton
On Mon, May 11, 2009 at 6:54 AM, RO86 wrote:
Also make sure you're using cursor mode... can't remember the exact
JDBC URL parameter for that one though...
Clinton
On Thu, May 14, 2009 at 2:29 PM, Kai Grabfelder wrote:
> ups, thats of course the correct answer to your question ;-)
>
> --- Original Nachricht ---
> Absender: christopher.mathr
For everyone saying that "iBATIS shouldn't do this": The reason it does is
that JDBC provides an API for it. iBATIS generally defines its scope by
what JDBC allows for (think of iBATIS as an easier to use JDBC).
So generally, if it's available in JDBC, we support it (cautiously). If
there's a bet
xx(). Otherwise,
you should seek to use database specific limiters like MySQL OFFSET/LIMIT an
oracle rownum.
Clinton
On Fri, May 15, 2009 at 12:38 PM, Clinton Begin wrote:
> For everyone saying that "iBATIS shouldn't do this": The reason it does is
> that JDBC provides an API for
Not sure where to start with this one, but you might want to read the entire
user guide.
* You shouldn't start the transaction in your statement
* Look up specifically in the docs
* This looks like a proc body, so you might want to look up stored proc
support
* In this case, it might be ne
> I can't use a stored procedure because I can't change the database.
> I have to get the code (begin transaction...go) working with ibatis
> syntax... isn't it possible? I've read te documentation but I don't
> understand how can I retrieve the identity in the same
BTW: Leave out the begin/commit transaction lines... iBATIS will do that
through the driver.
On Wed, May 20, 2009 at 1:58 PM, Clinton Begin wrote:
> You're better off with JDBC then. There's too much of a mismatch for this
> SQL. It might not be impossible, but it certainly
nt ...how?
> int idAudio= sqlMap.select("selectLastIdAudio");
> amdr.setIdAudio(idAudio );
> sqlMap.insert("insertFileMD", amdr);
> ann.setIdAudio(idAudio );
> sqlMap.insert("insertAnnuncio", ann);
>
> sqlMap.commitTransaction();
> //commit transact
You can use a factory, a singleton, or a dependency injection container such
as Spring or Guice.
Cheers,
Clinton
On Sat, May 23, 2009 at 9:08 PM, Anoop kumar V wrote:
> I was reading the example that ships with Ibatis and the initializer block
> has this comment before configuring the SQL Map. I
Nope, they're completely different. Read the docs for each and you'll see
the differences.
In a nutshell, iBATIS is a framework for building applications. Apatar is a
tool for integrating system databases.
Clinton
On Wed, May 27, 2009 at 1:17 PM, SMe Software - Rocky <
rcastan...@smartermanager
Of course. You should start with the docs
On Wed, May 27, 2009 at 3:27 PM, SMe Software - Rocky <
rcastan...@smartermanager.com> wrote:
> Is there a possibility they can be used altogether in one application?
>
> Clinton Begin wrote:
>
>> Nope, they're complet
For standalone applications, you probably should not use a Connection Pool.
In other words, you should either pass in your own connection, or use a
non-pooling datasource implementation. I think you can achieve this effect
by setting the max idle connections on SimpleDataSource to 0, or you can
j
Here's a simple unpooled datasource implementation
http://svn.apache.org/repos/asf/ibatis/trunk/java/ibatis-3/ibatis-3-core/src/main/java/org/apache/ibatis/datasource/unpooled/UnpooledDataSource.java
Clinton
On Tue, Jun 2, 2009 at 10:32 PM, Clinton Begin wrote:
> For standalone appl
If you have a fast, well designed database with well written SQL, it's quite
possible that you'd never need more than a few connections for many users.
The default pool size for TopLink when I used it was 6 (4 read, 2 write or
something like that). It's a common misconception that more connection
When it comes to Transaction Management, there are few frameworks (if any)
better than Spring.
Your choices are:
* Spring (with iBATIS EXTERNAL TX type).
* Your App Server, with a container managed data source and connection
(with iBATIS EXTERNAL TX type).
* iBATIS JTA TX type. Very few pe
David, have you read all of the actual iBATIS documentation? Having read
that, you should have no issue writing that by hand.
If you do have trouble, once you've attempted it, post your statement and
result map here, and someone can help you.
Cheers,
Clinton
On Thu, Jun 11, 2009 at 8:46 PM, Dav
ScriptRunner isn't really a supported feature of iBATIS. It's meant for
utilities and unit tests only.
Its API may change significantly in the future without warning.
Clinton
On Thu, Jun 25, 2009 at 12:47 PM, wrote:
> Hello!
>
> Using iBatis 2.3.4.726.
> Had some problems with transfering a SQ
or your reply, Clinton :)
>
> Is there another supported way to transfer scripts to database yet? Or isnt
> iBatis meant to do such tasks?
>
>
> Paule
>
>
> Original-Nachricht
> > Datum: Thu, 25 Jun 2009 18:11:16 -0600
> > Von: Clinton Begin
No, you don't have to use start/commit/end with selects -- but it is faster
and will give you more reliable data if you have multiple related selects.
A switch from a throttle increment problem to a connection pool problem is
pretty much a guarantee that somewhere in your code a transaction is not
JPetStore also has unit tests that hit the database directly.
Clinton
On Wed, Jul 8, 2009 at 12:03 PM, Jeff Butler wrote:
> You could look at the Ibatis or Ibator builds - they both unit test with
> JUnit against a "live" database (hsqldb).
> The Ibator build uses generated DAO layer, JUnit, hsq
I think the problem with this has always been that there's no way to do a
"package" listing of all of the classes/files/resources in a package. So
we'd have to convert the package to a file path via a URL (file://) and then
do quite a messy hack that would only work *sometimes* (i.e. if your
resou
Nope... sorry. That code is pretty old too. I'd simplify it if I were to
rewrite it today. Ditch the DAO layer, etc.
On Thu, Jul 23, 2009 at 1:15 PM, Odelya YomTov wrote:
> HI!
>
> I am using JPetStore as a basis to my virtual shop.
>
> Is there a written back office code for the manager to u
You could start with the documentation...or even just your IDE code
completion... :-)
Look up the queryForList method signatures..
Clinton
On Fri, Jul 24, 2009 at 4:39 PM, John Seer wrote:
>
> Hello,
>
> I am using in one of my projects ibatis and have a problem with pagination.
>
> For examp
Have you tried serializing to XStream or another alternative, instead of
using Java's serialization? While this is a limitation of iBATI 2 (version
3 solves it somewhat, but still not between systems), you should never
depend on Java serialization for connecting two systems. You should choose
a m
0
> 10 2 null null 0 0 0 1
> 11 2 null null 0 0 1 0
> 12 2 null null 0 0 1 1
> 13 2 null null 0 1 0 0
> 14 2 null null 0 1 0 1
> 15 2 null null 0 1 1 0
> 16 2 null null 1 1 0 0
>
> If I will ask to get from
>
Larry,
He's doing a join, so each result object is made up of possibly many rows.
So simply skipping arbitrary rows will create incomplete objects.
Clinton
On Mon, Jul 27, 2009 at 12:12 PM, Larry Meadors wrote:
> I'll put this as nicely as I can: What the heck are you talking about?
>
> Larry
>
LOL... I have a feeling that we'll deprecate them, but kind of like how Sun
deprecated the Date methods. They'll always be there.
Don't be offended by the strikethroughs in the documentation. :-)
Clinton
On Mon, Jul 27, 2009 at 1:04 PM, Hugh Ross wrote:
> Sorry to hear about the deprecation o
You'll have to paste it in, as attachements get stripped.
I think I've seen it before though, a bunch of $adfweragvav type fields. I
wish there was a way in XStream to ignore fields that start with $ or
something. You'd have the same problem with any framework that uses CGLIB
or ASM etc.
I've h
I'll put it all up by the end of the day. The docs need some
thickening up, but are broadly complete.
Clinton
On 2009-08-03, sirmak wrote:
>
> Hi,
>
> We want to start our new project with the newest technology, there is no
> problem if it's in alpha phase, is there any documentation, guide, ar
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ý wrote:
> Congratulations, I can't wait to see whether all
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 wrote:
> Congratulations
>
> Where can we look for the main ne
Lots of people actually use it without maven or the attitude.
We have people to deploy to the repo, and I'm sure they'll get to it soon.
Do snapshot/beta releases go to the maven repo?
Clinton
On 2009-08-10, Zhubin Salehi wrote:
>
> Hi,
>
> Is it possible to put iBATIS 3.0 Beta 1 on Maven rep
Maven is a broken process, because I have to do extra work. Maven is
not a feature of ibatis. At best, it's a bonus if it makes it in at
all.
Maven should work more like git. Their project team and network of
affiliates should 'pull' jars into their repository.
I never signed up to be bound by
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 wrote:
> Hi Nathan,
>
> Thanks for sharing the brand new features of iBatis. I quite lik
I don't know, did you finally implement it?
On Tue, Aug 11, 2009 at 1:08 PM, zart colwin wrote:
> Hi,
>
> Is it finally possible to iterate over two or more collections using the
> new statement ?
> Doesn't seem possible from what I have seen on the doc, but did not fully
> understand the Note:
Once every few years I feel the need to remind the community that iBATIS is
a volunteer effort and that everyone is involved.
I think The Little Red Hen explains it best.
The Little Red Hen
-
One day as the Little Red Hen was scratching in a field, she found a grain
of w
peers.
Clinton
On Wed, Aug 12, 2009 at 11:47 AM, Zart Colwin wrote:
> 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?
>>
>>
LOL Nice Larry. :-)
No, you can expect free documentation. As it turns out, writing books is a
pain in the ass, they're outdated by the time they're printed and the
process is rife with bureaucracy and side agendas of publishing companies
(except Pragmatic, they're really good, but still hav
LOL... you know what? I didn't upload the DTDs...
The framework should use the DTD embedded in the JAR file, but if you're
using a weird parser or an external tool, it will fail. Sorry. I'll
upload them now, and they'll propogate across the mirrors over the next 24
hours.
Clinton
2009/8/12
?
>
> 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 is not a dictatorship or a bure
Probably a typo. You can place any typos in the Wiki in the documentation
contributions.
On Wed, Aug 12, 2009 at 9:42 PM, Zoran Avtarovski
wrote:
> Thanks Jeff,
>
> I asked about the string substitution because the docs use the ${...}
> notation for primitives or simple data types. Is the user
ed, Aug 12, 2009 at 9:52 PM, Clinton Begin wrote:
> Probably a typo. You can place any typos in the Wiki in the documentation
> contributions.
>
>
> On Wed, Aug 12, 2009 at 9:42 PM, Zoran Avtarovski > wrote:
>
>> Thanks Jeff,
>>
>> I asked about
I suggest you remove the specific schema and log in as the appropriate user
and use the appropriate schema. This can be specified in your JDBC URL.
But if they're hard coded as you have below... then you're in for some
Search and Replace.
clinton
On Wed, Aug 12, 2009 at 10:26 PM, pczurak wrote
java@ibatis.apache.org/msg09212.html
>
>
> But it does not explain what file or where, so I though maybe someone in
> this forum would know.
>
>
>
> Clinton Begin wrote:
> >
> > I suggest you remove the specific schema and log in as the appropriate
> > user
&g
Sorry correcting myself: in this case you might have to pass it in as a
parameter. I don't think the SQL statements themselves count in the
application of properties.
Clinton
On Wed, Aug 12, 2009 at 10:52 PM, Clinton Begin wrote:
> Try the properties file you're using to conf
I'm not sure.. did iBATIS 2.x work fine for you? There's very little
difference in the actual parsing and entity resolvers.
However, that XML parser seems a bit weird. Why would it be invoking a
transformer and looking for a style sheet? We don't use XSLT for anything.
Clinton
2009/8/13 Erdem
resume 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
>
>
> On Sun, Aug 9, 2009 at 04:33, Clinton
Hi all,
If anyone would like to write JPetStore 6, please let me know. Key things
to do:
* Upgrade it to iBATIS 3
* Ditch the DAO layer entirely
* Ditch the proprietary web framework
* Fix my very poor CSS and reskin the look
* Use Stripes as the web framework
* Use Guice for Depende
Sorry... iBATIS 2...
$schema$
On Wed, Aug 12, 2009 at 10:57 PM, pczurak wrote:
>
> I did, but I get Syntax errors in my SQL statements, so iBATES does not
> understand ${schema}
>
> I don't know how or where to tell iBates to look in the properties file
>
>
> Cli
ception.NestedSQLException:
> >
> > So it seems $schema$ should work, but I don't know where to define it,
> what
> > file or what section.
> > Would it go in the applicationContext.xml file, but what section?
> >
> >
> >
> > Clinton Begin wrote:
the problem is that many JDBC drivers have problems with newline
characters. So we have to put the SQL all in one line. I think there's an
open request to make it optional, and if I recall correctly, in iBATIS 3 I
send the statement as is... so we'll see how many JDBC drivers/databases
still have
Source Gods gave us :)
>
> I'll try, I am starting a project and I wouldn't mind dropping H and use
> iBatis again.
>
> Fred
>
>
> On Thu, Aug 13, 2009 at 20:42, Clinton Begin wrote:
>
>> There's no JavaDocs. This is my own personal hangup. I
This question is worthy of a new thread. But since the answer is so simple:
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 wrote:
> Is there a way to execute a sql statement other than select/insert
Hi all,
As bugs etc. are submitted and fixed, we'll try to get them in ASAP. I'll
plan to do a release each Sunday, with the bug fixes from the last week.
I wish I could do one every day, but the Apache deployment process is
non-trivial.
Clinton
1 - 100 of 1217 matches
Mail list logo