test
test
testing (please ignore)
testing (please ignore)
testing (please ignore)
testing (please ignore)
Re: Optimistic locking strategy with iBatis
Just keep a copy of the orginial List of results fileds. Then use them in you where clause. .V Wulf, Andrew wrote: Before I figure it out the hard way, anyone have some pointers on implementing an optimistic lock strategy with iBatis. The difficulty is that we have nothing in the database (or can add anything) like a version field or last update time. The current strategy in the home grown persistance framework (which we will migrate hopefully to ibatis) is to create a hash of the row contents and store it with the value object, then on update reread the row (select for update on primary key) compare the hashes and throw an exception if they don't match. How best to do something similar with iBatis? - Andrew STATEMENT OF CONFIDENTIALITY: The information contained in this message or any attachments to this message are intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material as well as being protected from disclosure. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is strictly prohibited. If you received this in error, please contact the sender immediately and delete the material from any computer.
Re: ibatis technology need company references.
1up.com is using iBatis 2 and has 10 million members and 10,000 concurent users. My new project is larger. .V Victor Stepanov wrote: Brandon Goodin wrote: I can vouch that we use iBatis internally at Plum Creek Timber Company, Inc. But, i can't give you links or anything. Brandon On Apr 6, 2005 9:55 AM, Victor Stepanov <[EMAIL PROTECTED]> wrote: Hi All. I need to provide references about ibatis and sqlmaps that this product is stable can anybody give some references or where I can found it. Thanks. I can describe sitution we write one tender where describe that we use IBatis but we've got claim that IBatis in Apche Incubator and not stable for goverment sector development . For me will be good get some links or may be some documents
Re: bad perfomance ibatis between native JDBC and PLSQL
Under low load, 1/3 of a second makes no difference. Under how many concurent users before iBatis puls ahead? .V Brandon Goodin wrote: Your metrics are generic. Is your JDBC and PL/SQL also translating results into Lists of objects? Also, make sure you execute the statement within ibatis more than once. When you run a select for the first time it caches the mapping to the object. The second time through things are cached and should perform better. The only exception to this would be if you have remapResults set to true. The rule here is to be specific and map everything so that iBatis only has to perform minimal reflection. Brandon On Apr 6, 2005 1:19 PM, rodrigo castillo <[EMAIL PROTECTED]> wrote: I tested the perfomance between ibatis, jdbc, and pl/Sql where ibates is 5 times but slow that the previous ones. How Can i improve perfomance of ibatis?. The query has 100 rows. IBATIS: 265 ms. c=97 IBATIS: 281 ms. c=97 IBATIS: 265 ms. c=97 IBATIS: 296 ms. c=97 IBATIS: 311 ms. c=97 JDBC: 78 ms. c=97 JDBC: 94 ms. c=97 JDBC: 47 ms. c=97 JDBC: 62 ms. c=97 JDBC: 47 ms. c=97 PL/SQL: 78 ms. c=97 PL/SQL: 94 ms. c=97 PL/SQL: 109 ms. c=97 PL/SQL: 109 ms. c=97 PL/SQL: 93 ms. c=97 PL/SQL: 78 ms. c=97 PL/SQL: 78 ms. c=97
Re: OT: Tomcat debugging with Eclipse (Was Re: JDBCRealm using iBATIS?)
XML Buddy is all you need. .V Brandon Goodin wrote: My Eclipse rocks!!! But, if you have Intellij I can't imagine that they wouldn't have that ability. Brandon
Re: ibatis technology need company references.
I... sometimes say things I should not. So a company policy is to go by "handles", in my case netsql. I do wonder if that is ok? .V Brice Ruth wrote: Vic, can you use an email client that actually puts "Vic" as your name?! Would you like a Gmail account?! Love your contributions, but always frustrated that I can't tell who's posting until I see ".V" ... :)
Re: ibatis technology need company references.
:-P People that would be upset... it's enough to confuse them. I duno hell, I use Collections instead of beans. .V Brice Ruth wrote: What's the point if you sign your messages .V?! On Apr 7, 2005 8:39 AM, *NetSQL* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: I... sometimes say things I should not. So a company policy is to go by "handles", in my case netsql. I do wonder if that is ok? .V Brice Ruth wrote: > Vic, can you use an email client that actually puts "Vic" as your > name?! Would you like a Gmail account?! > > Love your contributions, but always frustrated that I can't tell who's > posting until I see ".V" ... :) > > -- Brice Ruth Software Engineer, Madison WI
Re: ibatis technology need company references.
Leonardo Bueno wrote: Did you get a job at JBoss Inc .V ? ;-) Nope. :-[ .V
Re: Please Help in arguing for iBatis SqlMaps
Kaushik Ashodiya wrote: Hi, I have hard time arguing for iBatis SqlMaps (not because something wrong with SqlMaps). Please give me more reasons so that I can convince them. Their argument: 1. For small project SqlMap is adding unnecessary complexity. 2. Why learn one more tool when you have a simple base data access object that gives you connection, prepared statement and a result and does cleanup? (only when extended class calls cleanup() !!!) 3. Generally open source projects dies shortly and does not have support. 4. Adding many jars of those open source projects make out project more complex and un-maintainable. 5. What if SqlMaps goes out of market? It is fairly new and not hardened. Again to re-iterate a point I was trying to make yesterday, architecturally speaking you should always try and keep it simple (not on an individual application level) but as far as possible on an enterprise level. I'm going to ask you the same question that I asked yesterday...what do you think are the advantages/disadvantages of O/R mappings for relatively small applications where persistance is not the deciding criteria (or for that matter not even a criteria)?(I've attached yesterdays email thread for Kevin since he didn't get that one :)) I'll list the disadvantages: 1) You add multiple third party jars (open source or otherwise), which you need to be aware of when building new apps. Re-use of working thing... vs writing your own bugs and documenting. These include components which the vendor will eventually provide if the market demand is high... 2)You add multiple configurations for each of those products, which you need to understand on how to tune in case there are performance issues. If you don't need cache, don't use it. Else set # of minutes. 3) Most of these components seem to be build on the current versions of jdk which take a decent time to hit mainstream commercial product support. ?? vs what? 4) If these products are not built to a spec (even though they may end up driving a spec), the migration process becomes an added overhead. Even when they do become a part of the spec, the implementation differences of the vendor of choice may be so different that you pretty much waste any advantage of early adoption. If you are a vendor of a product, an effective early adoption can translate into you either being bought out by the bigger established vendor or you getting to be a key player in that spacebut we don't fall in that category. Yeah, JST # 123 vs Apache. Which is more standard? 5)You need to be able to train existing resources to use the product (unless there is a plan to let go people and get "new" fresh resources who may have had experience with the adopted product). Now if the existing resources themselves have a discomfort moving over to an object oriented paradigm, putting up them up against the challenges of going thru the learning curve of extra products further lowers the probability of success. Maybe good docs would help. And make it stnadarad ANSI SQL. 6) You increase the possibility of chaos and reduce flexibility of resource utilization. Besides the six points above, I would not recommend use of products like iBatis in applications at UCOP is because in my opinion the applications that we do or have done are relatively small and O/R mapping for those kinds of apps is probably an overkill (again personal opinion.) Maybe better to avoid hevy O/R. To some level Hibernate is a valid candidate for evaluation (taking into account that it is driving the EJB spec). But again, my business acumen says that IBM will definitely take care of that. IBM does have a J2EE reputation. Like it's the worst. Now my perpective looking at the example below, one of the key shortcommings that I see is it couples the "Display/View" with the model (Data Access) Basically what this means is that if you wanted to create the same object tomorrow from not a "non" database/jndi source, you would be re-writing the logic for creating the same object. Another disadantage that I mentioned yesterday was if your display object gets created from multiple datasources (one db2, one sybase) transaction management becomes an issue How would you use iBatis in a system which does not need persistanc but needs transaction management? Isn't the whole idea of going with some big commercial vendor like IBM to consolidate your infrastructure source so that you dont knock on different doors? Often such a vendor is selected based on how many services required by a business are provided by the vendor. Nothing against Hibernate or iBatis. I'm sure they are great at what they are designed to do. But each one of them doesn;t do all that we probably need (they still need an underlying EJB container.) Hibreante and iBatis don't. If thats the case, why would you want to introduce the additional learning curve and the additional layer associated with each
Re: getResultsAsXml
Vic Cekvenich (netsql) wrote: There was talk and I think saw away to getResultsAsXml. How/where? Url? tia, .V
Re: getResultsAsXml
And what method? getResulstAs?? And if object, then ... how to convert to something of use? A string? tia, .V Clinton Begin wrote: Just set the type to "xml" or "dom" in the result map. "xml" will return XML as a String, "dom" will return a DOM object. Cheers, Clinton On 5/2/05, *Netsql* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Vic Cekvenich (netsql) wrote: > There was talk and I think saw away to getResultsAsXml. > > How/where? Url? > > tia, > .V >
ria w/flash + ibatis ex
I found another link: http://coenraets.com/viewarticle.jsp?articleId=92 :-[ :-[ :-[ .V
Re: Cache Objects
There are other bloated and slow DAO's that do this. This works for small or simple projects. iBatiis is fast and simple becuase it caches the results of the querry, and thus is more scaleable. If diferent users want same results, it's cached. It may initialy seem to somoneone w/ out experience that caching each row is faster or better. It's not. Any SQL engine does that better already. .V Brandon Goodin wrote: Not currently and we don't plan on supporting OID (Object Identity). There is too much baggage that comes along with it. Brandon On 5/26/05, Eloyi <[EMAIL PROTECTED]> wrote: Hi, I understand that the cache is over the statement, but is possible to cache the objects that the queryforList returns instead the resultsSets of the statement?? Thanks
Re: IBATIS DOMAIN NAME UPDATE - DTD WARNING
Clinton Begin wrote: Option 2) Use local filesystem Every iBATIS JAR file comes with the DTDs. You can extract the DTDs and put them on your local filesystem. This is a lame approach, but some people already do it for performance or other security reasons. This will also stop your DTDs from resolving from the JAR file. I allways forget why this is not the default. .V
Re: [ANNOUNCEMENT] iBATIS graduates to top-level ASF project
.V Ted Husted wrote: Recently, the Apache Software Foundation Board of Directors approved our application to become an official top-level ASF project. This is great news, and, even better news is that the disruption to our resources will be minimal. Soon, we will be moving the website and mailing lists to use the ibatis.apache.org host. You will not need to resubscribe to the lists, though you may need to reset some of your filters. When the (new and improved) website changes location, a link will be provided so that you can update your shortcuts. The Subversion repository will be moving at 3a PST on Monday 6 June 2005 (tomorrow morning). I don't think we have an official beer yet, so for now I'll crack open a Molson Canadian, and offer a toast to the hardworking Team iBATIS: May your features outnumber the issues that grow, And may bugs avoid you whenever you code. Ted.
[Fwd: ibatis qeurryForXml]
--- Begin Message --- There was talk and I think saw away to getQuerryAsXml. How/where? Url? tia, .V --- End Message ---
getResultsAsXml
There was talk and I think saw away to getResultsAsXml. How/where? Url? tia, .V
ibatis qeurryForXml
There was talk and I think saw away to getQuerryAsXml. How/where? Url? tia, .V
Re: Vote your favourite iBATIS community member onto the "Contributors" list
My vote is for sale! I prefer silent auction, send me a private email as to an entitlment, or pay pal wire transfers. No donations is to small or to large. I have sway w/ many others and we will make you popular, it's almost a gurantee. You don't want us to vote the other way. For a little extra, I will have you publicly endorsed. And not just iBatis vote, if you are runing for office, paypal me also. If you want a way arround the maximum donations laws, contact me and we will set up an of-shore transfer via netsted LLCs - no worries. :-) .V