Okthe error starts with:
Exception in thread "main" org.springframework.jdbc.UncategorizedSQLException:
SqlMapClient operation; uncategorized SQLException for SQL []; SQL state
[null]; error code [0];
--- The error occurred in test.xml.
--- The error occurred while applying a result map
I had used ibator, and my plugin referenced it a lot. But I still choose to "rewheel",why!it don't support relation, for small projects,managing the relation is boring. as i said in "dynamic Sql and two-level parameter" , a good dao for small projects is more convenient. The plugin i devel
Brandon Goodin wrote:
What transaction manager do you have configured in your dao.xml? If
you have a SQLMAP it does the job of initializing your SqlMapClient.
You do not need to use SqlMapClientBuilder.
Further, if you created a SqlMapClient apart from the DaoManager then
transactions would
Wang Lei,
I can appreciate what you are doing. But, I don't understand why you
are spending time integrating persistence layers into your solution. I
think what you are trying to accomplish needs to be done on a much
more core level to all the java persistence tools. As each persistence
tool incre
In fact,i never want to replace the hibernate,ojb or other persistence layers. The first reason i developed it is just avoiding the resource management.I don't want the programmers to manage resource,just like session.begintTransaction and so on. I use callback to avoid the transaction manageme
To save on some typing, I'll point to the blog entry that I just wrote about
this:
http://jroller.com/page/tkelley?entry=does_ibatis_have_a_competitor
Not that I *want* to find something other than iBatis... I've been tasked with
trying to find solutions that don't quite call for the ORMs and I
Interesting.
My experience with ORM must be quite different from yours.
I have seen some special cases where ORM might come in handy like
smaller projects where the database is only used by one application,
and would all fit into memory.
In an enterprise application on the other hand, where the
Troy,
I've been using iBatis for well over a year now and have had nothing
short of success on about a half dozen projects. So, I really
haven't
had any great desire to look elsewhere at this point. On a few of
these projects, the object model was (in my view) somewhat complicated
and iBatis wor
Nope. Your solution is fine.Cheers,ClintonOn 2/12/06, wang lei <[EMAIL PROTECTED]> wrote:
I am soryy not to agree to your opinions. You said the xml is simpler than the code.
Now i want to write it in detail. the code is the following;int id=... int min=... int max=... //get value f