Hi Jeff,Severe problems with Mylar forced me to remove the complete .metadata directory in my primary workspace killing all my set preferences. Incidently that also solved the abator problem :)Still that leaves the fact that some preference settings can break abator :( puzzled, but back to producti
I switched DaoManager transaction and everything
worked fine. Can anyone tell me what's difference
between the sqlmapclient transaction and DaoManager
transaction? is there documentation on this difference
and when to use which kind?
thanks a bundle
___
Hi Vadim,
I feel your pain in quietly cursing iBATIS' seemingly mystical error
messages when I was first starting out.
I'm not aware of any way to make iBATIS' error mechanism more verbose.
In practice, I do the following, along with your suggestion of
commenting out parts of the map:
1. Keep
Hi all,
in a situation where iBATIS's parser throws an exception, is there a way
to tell which part of the sql map being parsed is actually the culprit?
The error shown in the exception is too vague, and doesn't point to a
particular file/line/xml element/whatnot. Specifically, I have a case
The line break differences and tabs are coming from eclipse formatting the code when it rebuilds the Java file after a merge. I'll take a look at getting rid of them - it is a little confusing.
The files are not saved with eclipse APIs - so the default character set in Eclipse will have no impac
that's exactly what i'm doing,but it's giving me the
exception i posted earlier, I get the sqlmapclient
starttransaction commit and end
my transactionamanager config is
--- Jeff Butler <[EMAIL PROTECTED]> wro
I think it might help to see some of your code...are you using DAO or not? I wasn't sure from your previous posts. SqlMapClient calls should look like this:
try {
sqlMap.startTransaction();
sqlMap.insert(...);
sqlMap.update(...);
sqlMap.commitTransaction();
} finally {
sqlMap.endTrans
btw, the application server is websphere 5.1 and I've
specified the jndi datasource and have a
transactionmanger="jdbc", can anyone tell me what i'm
doing wrong?
thanks
--- Bing Lu <[EMAIL PROTECTED]> wrote:
> I'm trying the sqlmapclient.starttransaction,
> committrasaction for now. but it's givi
I'm trying the sqlmapclient.starttransaction,
committrasaction for now. but it's giving me the
following exception can anyone tell me what i might be
doing wrong? And I did call
sqlmapclient.starttransaction
thanks
com.ibatis.common.jdbc.exception.NestedSQLException:
Could not commit transaction.
Hi Jeff,I have downloaded the source from SVN and got it to compile. I have built a full plugin and replaced my existing 0.6.5 with that.In my main workspace I still get the failure with duplicated methods. A snippet of generated code looks like this, indented with spaces:public class Cart extends
you can ignore/delete my former message.
it was a stupid error in my app.
greets
t.
hello,
i'm just testing ibatis with abator for my application.
i got a table called odm_bill
IDNOT NULL NUMBER
AMOUNT NUMBER(22,2)
STATE VARCHAR2(31)
DATE_CREATED
On Tue, 18 Jul 2006, CIJOML wrote:
newKontakt.setId_lokace('4');
Detail: Key (lokace_id_lokace)=(52) is not present in table "lokace".
Caused by: org.postgresql.util.PSQLException: ERROR: insert or update on
table "kontakt" violates foreign key
constraint "kontakt_lokace_id_lokace_fkey"
Hi All,
I fixed XML file, so now I have same number of columns as variables :)))
I also rewrite Kontakt.class to be unix_time as Date
Now I am trying insert this:
//KONTAKT - nejde vlozit TIME!!!
Kontakt newKontakt = new Kontakt();
newKontakt.setId_kontakt('3');
newKontakt.setId_administrator('
14 matches
Mail list logo