Re: [ANNOUNCEMENT] iBATIS Project Team Moving to Google Code

2010-05-26 Thread Simone Tripodi
Hi Clinton, I'm sure you all had more than one good reason to leave the ASF home and starting a new adventure. I hope this will be the time to encourage people to submit MyBatis subprojects (3rd parts integrations, caches integrations etc etc) and join the team. Good luck!!! Simo

Re: integrating lucene with ibatis - advice wanted

2010-03-16 Thread Simone Tripodi
Hi Andrius, very nice to meet you and congratulations for the idea, I fount it brilliant. These are just my 2 cents. generally speaking, I'd suggest you to implement the solution number 1: 1 interceptor and 1 annotation, nothing more, clear and reusable solution; 2 is also great and easy to

Re: iBatis 3.0 minimal complete example

2010-02-11 Thread Simone Tripodi
Great, I'll use your sample as the foundation of the JPetStore iBaGuice version Thanks a lot, very appreciated, Simo http://people.apache.org/~simonetripodi/ On Thu, Feb 11, 2010 at 2:21 AM, Clinton Begin clinton.be...@gmail.com wrote: Anyone and everyone is welcome (and encouraged) to create

Re: XML vs Annotations

2010-02-08 Thread Simone Tripodi
Hi Clinton, can you tell me please where I can start looking for configuration classes? After reading your email I started thinking about realizing a polyglot iBatis, extending the existing classes, allowing it reading the configuration files in various formats... Maybe I'm just too much a

Re: XML vs Annotations

2010-02-08 Thread Simone Tripodi
, Simone Tripodi simone.trip...@gmail.com wrote: Hi Clinton, can you tell me please where I can start looking for configuration classes? After reading your email I started thinking about realizing a polyglot iBatis, extending the existing classes, allowing it reading the configuration files

Re: XML vs Annotations

2010-02-06 Thread Simone Tripodi
Hi all, I'm *very* interested too on this last topic, I'd really would like to know more about it :P Have a good weekend, Simo http://people.apache.org/~simonetripodi/ On Sat, Feb 6, 2010 at 11:21 PM, Daryl Stultz da...@6degrees.com wrote: On Sat, Feb 6, 2010 at 3:29 PM, Daryl Stultz

Re: How to throw an exception when a property from a parameter map is null or missing?

2010-02-04 Thread Simone Tripodi
Hi, personally I totally agree with Clinton, generally speaking it should be a task of a higher level of applications, validations seems easy but it could become so complex that trying to mix it with the persistence layer could be painful; also Hibernate guys have been tried but at the end they

Re: Mapper parsing problem

2010-02-04 Thread Simone Tripodi
the preferred way of the majority, and second, because we need a parameter syntax that is compatible with other configuration options, like annotations or JSON, etc. Clinton On Thu, Feb 4, 2010 at 12:44 AM, Simone Tripodi simone.trip...@gmail.com wrote: Hi all guys, sorry but I explained

Re: Mapper parsing problem

2010-02-03 Thread Simone Tripodi
Hi all, just my 2cents: even if I'm familiar with XML SQL maps, I've always found the property parameter a little confusing into iBatis, since adds a new syntax in the XML syntax, indeed I was a great fan of iBatis2 ParameterMap. IMHO a nice to have in the SQL map is something like: parameter

Re: Mapper parsing problem

2010-02-03 Thread Simone Tripodi
=”insertUser” parameterType=”User” insert into users (id, username, password) values (#{id}, #{username}, #{password}) /insert All the best ;) Simo http://people.apache.org/~simonetripodi/ On Wed, Feb 3, 2010 at 9:19 PM, Simone Tripodi simone.trip...@gmail.com wrote: Hi all, just my

Re: Mapper parsing problem

2010-02-03 Thread Simone Tripodi
Hi all guys, sorry but I explained my 2 cents idea in the wrong way :P Indeed, in my dreams, I'd completely _remove_ the #{} syntax, IMHO it should be simpler reading a 100% pure XML SQL map like: update ORDER_ENTRY.CONTACT set DEPT_ID = parameter name=deptId javaType=String jdbcType=VARCHAR /

Re: iBatis 3 transaction isolation level control

2010-01-24 Thread Simone Tripodi
. SqlSessionFactory now has two new openSession methods... SqlSession openSession(TransactionIsolationLevel level); SqlSession openSession(ExecutorType execType, TransactionIsolationLevel level); Clinton On Thu, Jan 14, 2010 at 1:38 AM, Simone Tripodi simone.trip...@gmail.comwrote

is 3.0-beta-9 missing from central repo?

2010-01-24 Thread Simone Tripodi
Hi all guys, after noticed on the ibatis website that the 3.0-beta-9 is out, I switched in my pom to the new version, but is not resolved from the central repository... can anyone please tell me how I can get it using maven? Many thanks in advance, best regards!!! Simo

Re: is 3.0-beta-9 missing from central repo?

2010-01-24 Thread Simone Tripodi
to install it manually into your local m2 repo if you need it right now. On Jan 24, 2010, at 9:59 AM, Simone Tripodi wrote: Hi all guys, after noticed on the ibatis website that the 3.0-beta-9 is out, I switched in my pom to the new version, but is not resolved from the central repository... can

Re: [Announcement] iBATIS 3.0 beta 8 released

2010-01-12 Thread Simone Tripodi
Hi Nathan, that's great!!! I updated my dependency and it works like a charm, congrats ;) All the best, Simo On Tue, Jan 12, 2010 at 5:56 AM, Nathan Maves nathan.ma...@gmail.com wrote: Beta 8 is out. There were only 4 issues discovered during this beta period, but more importantly, they were

Mapper interfaces inheritance

2010-01-12 Thread Simone Tripodi
Hi all guys, I find very important fixing the IBATIS_655[1] issue before releasing the final version, is there any chance any iBatis committer can apply the patch? Unfortunately I don't have spare time otherwise I would more than pleased to provide my help. Have a nice day, best regards :) Simo

Re: Mapper interfaces inheritance

2010-01-12 Thread Simone Tripodi
Hi Clinton, thanks a *lot*, very very appreciated! Bets regards, Simo On Tue, Jan 12, 2010 at 3:58 PM, Clinton Begin clinton.be...@gmail.com wrote: I'll have a look. On Tue, Jan 12, 2010 at 3:11 AM, Simone Tripodi simone.trip...@gmail.com wrote: Hi all guys, I find very important fixing

Re: [Announcement] ibatis addons project site

2010-01-04 Thread Simone Tripodi
) integration , hosted on google-code: http://code.google.com/p/ibaguice/ (here you can find the snapshot site: http://ibaguice.googlecode.com/svn/site/1.0-SNAPSHOT/index.html) We are much more that pleased to merge our efforts to yours, so please take us in consideration :) Best regards Simone Tripodi

Re: Possible race condition using org.apache.ibatis.cache.Cache#hasKey ?

2010-01-01 Thread Simone Tripodi
Hi Clinton, I just open a Jira issue about this topic, you can find it on https://issues.apache.org/jira/browse/IBATIS-724 Best regards and happy new year! Simone On Thu, Dec 31, 2009 at 11:09 PM, Simone Tripodi simone.trip...@gmail.com wrote: ROFL, I feel so nerd, I should restart learning

Possible race condition using org.apache.ibatis.cache.Cache#hasKey ?

2009-12-31 Thread Simone Tripodi
of potential issues. What do you think about it? Have a nice end of the year party and see you next year! :D Best regards, Simone Tripodi [1] http://ibaguice.googlecode.com/svn/site/1.0-SNAPSHOT/caching.html [2] http://memcached.org/ -- http://www.google.com/profiles/simone.tripodi

Re: Possible race condition using org.apache.ibatis.cache.Cache#hasKey ?

2009-12-31 Thread Simone Tripodi
. Moreover, Cache.NULL_OBJECT has to be Serializable. Happy new year and tanks for your replies!!! :) Best regards, Simone Tripodi On Thu, Dec 31, 2009 at 5:11 PM, Clinton Begin clinton.be...@gmail.com wrote: PS:  I just had a look, and I doubt there's any chance of a race condition here... there's

Re: Possible race condition using org.apache.ibatis.cache.Cache#hasKey ?

2009-12-31 Thread Simone Tripodi
, Simone Tripodi simone.trip...@gmail.com wrote: Hi Clinton, sure, I'll add the Jira ticket for this, but since here in Italy, because of the timezone, started celebrating the new year, I'll do it tomorrow :P BTW, I discourage the use of the test value == Cache.NULL_OBJECT but rather

Re: Issue with Interface Mapper that Extends an Interface itself

2009-12-30 Thread Simone Tripodi
Hy guys, any news about this issue? I just met the case when a mapper needs to extend an existing one, but mapper methods are not found :( Thanks in advance!!! Simone Tripodi On Fri, Dec 11, 2009 at 11:27 PM, Soks86 michael.chrostow...@gmail.com wrote: Sorry for not including this in my

Re: Enjoy the power of iBatis3 + google-guice2

2009-12-29 Thread Simone Tripodi
AM, Simone Tripodi simone.trip...@gmail.com wrote: Hi all guys, we just uploaded the new snapshot of iBaGuice: we added the @Transactional feature following he Osya Bender's request/suggestions, moreover added the Ehcache support and splitted the project in multi modules, so users

Re: Enjoy the power of iBatis3 + google-guice2

2009-12-28 Thread Simone Tripodi
Hi Stef, thanks for your interest on our small effort :) See my comments below: Sounds extremely interesting... Does it also have the ability to rollback transactions and wrap Ibatis exceptions into some generic DataAccessException class? Sure, as described in the small table in

Re: Enjoy the power of iBatis3 + google-guice2

2009-12-28 Thread Simone Tripodi
of sqlmaps for each project so that they could be automatically assembled into a single sqlmapconfig. Basically, each project had a set of tables it needed and only one app project importing them all. thanks, -- yuri On Mon, Dec 28, 2009 at 2:19 AM, Simone Tripodi simone.trip...@gmail.com wrote: Hi

Re: Enjoy the power of iBatis3 + google-guice2

2009-12-27 Thread Simone Tripodi
the whole packages. Feedbacks are obviously welcome, please let us know what you think about it!!! Best regards, Simone Tripodi Marco Speranza On Tue, Dec 22, 2009 at 2:38 PM, Simone Tripodi simone.trip...@gmail.com wrote: Hi Clinton, thank you for your kind reply :) I understand your point of you

Re: Enjoy the power of iBatis3 + google-guice2

2009-12-22 Thread Simone Tripodi
. -Original Message- From: Simone Tripodi [mailto:simone.trip...@gmail.com] Sent: Monday, December 21, 2009 4:23 PM To: user-java@ibatis.apache.org Subject: Re: Enjoy the power of iBatis3 + google-guice2 Hi guys, thanks for your kind replies!!! @OBender: yes, the intention

Re: Enjoy the power of iBatis3 + google-guice2

2009-12-22 Thread Simone Tripodi
to be working well for them.  So I would expect iBATIS support to be built in or contributed to their project sometime soon. Clinton On Mon, Dec 21, 2009 at 2:22 PM, Simone Tripodi simone.trip...@gmail.com wrote: Hi guys, thanks for your kind replies!!! @OBender: yes, the intention is absolutely

Enjoy the power of iBatis3 + google-guice2

2009-12-21 Thread Simone Tripodi
integrates other nice tools that are perfectly designed to cooperate with iBatis, it would be nice if iBatis users that are used to DI through Guice could provide us both positive and negatives feedbacks. Best Regards, Simone Tripodi Marco Speranza [1] http://ibaguice.googlecode.com/svn/site/1.0

Re: Enjoy the power of iBatis3 + google-guice2

2009-12-21 Thread Simone Tripodi
, so I'll definitely check this out. Cheers, Clinton On Mon, Dec 21, 2009 at 9:32 AM, Simone Tripodi simone.trip...@gmail.com wrote: Hi Guys, a friend of mine and I are developing a mini-library that alleviates to the users the issue of creating and injecting iBatis objects through Google

Re: [ibatis3] Throubles on caching pt2

2009-12-10 Thread Simone Tripodi
... I had thought we fixed that.  Just in case, file a jira ticket and I'll have a look. I believe the intended behavior is that it should always cache, unless rollback is called. Clinton On 2009-12-09, Simone Tripodi simone.trip...@gmail.com wrote: Hi all guys, I've been porting my old

[ibatis3] Throubles on caching pt2

2009-12-08 Thread Simone Tripodi
Hi all guys, I've been porting my old stuff to the version 3 and I noticed queries are stored only and only if I force the session commit. I didn't understand if this is the right way to proceed or maybe I miss something, can anyone please give me a more detailed explaination? This morning I

Re: [iBatis 3] Cache troubles

2009-11-18 Thread Simone Tripodi
? Is there any way to obtain the cache group, speaking in iBatis2 therms? Thanks in advance, best regards Simone [1] http://code.google.com/p/memcached-tag/ On Wed, Nov 18, 2009 at 7:49 AM, Simone Tripodi simone.trip...@gmail.com wrote: Hi Clinton, thanks for your kind reply, I'll let you know ASAP

Re: [iBatis 3] Cache troubles

2009-11-18 Thread Simone Tripodi
, Simone Tripodi simone.trip...@gmail.com wrote: Hi Clinton, unfortunately the official version of Memcached - the one we've been using on production for years - doesn't support namespaces/tags, there is a patched version called Memcached-tags[1] but isn't officially supported :( Can you provide

[iBatis 3] Cache troubles

2009-11-17 Thread Simone Tripodi
Hi all guys, I've been doing some experiment using the last beta of iBatis 3 and I've the feeling you happily fixed the inglorious IBATIS-555 issue about the CacheKey unique hashcode generation on different JVMs :) Now I've been porting my old stuff to the new iBatis implementation and everything

Re: [iBatis 3] Cache troubles

2009-11-17 Thread Simone Tripodi
or inconsistent data. Hope that helps, Clinton On Tue, Nov 17, 2009 at 1:23 PM, Simone Tripodi simone.trip...@gmail.com wrote: Hi all guys, I've been doing some experiment using the last beta of iBatis 3 and I've the feeling you happily fixed the inglorious IBATIS-555 issue about the CacheKey