hibernate + spring run on jboss to
contol the connection close on each transaction. how to configure with
ibatis?
Thanks a lot!!
--
Anthony Hong
wrote:
Hi, I don't know if I could understand very well your question, but you can
define an "extension" through the TypeHandlerCallback class implementation.
Than you will can automatic convert between two types.
Regards,
On 11/21/06, Anthony Hong <[EMAIL PROTECTED]> wro
ow to achieve with ibatis help, something like
before paremeter set I can do something. Or in result map. I can do
convertion.
--
Anthony Hong
suppose a have a common field in each table, say client_id.
I want each sql append client_id = 123 automaticly, 123 is pass by
invoker dynamiclly.
How could I achieve this goal?
Is there any interceptor or hook provided by ibatis that I can use?
Thanks.
--
Anthony Hong
Thanks Gareth,
It's clear for me now.
I use iBatis as my DAO Layer for now. It works fine with no-args
constructor class.
Then it can setter properties in result map.
But If I have a class without no-args constuctor, how to instantiate
in iBatis, As there is a column in selection that can be used to pass
in constructor to create a ne
I have a class,
class testA() {
public testA(String name) {
}
}
can it be used in result-map, if can how to write result map
--
Anthony Hong
Is this impossible to achieve?
On 6/30/06, Anthony Hong <[EMAIL PROTECTED]> wrote:
Thanks, I already tried it, but doesn't work.
DTD only accept true/false for this attribute.
On 6/30/06, Torsten Michelmann <[EMAIL PROTECTED]> wrote:
> Not sure if it works, but you m
d
then you can use
cacheModelsEnabled=${isCacheEnabled}
Original-Nachricht
Datum: Fri, 30 Jun 2006 21:23:56 +0800
Von: Anthony Hong <[EMAIL PROTECTED]>
An: user-java@ibatis.apache.org
Betreff: Re: Unit test problem with sql cache
> I saw sqlMapconfig has settings wit
I saw sqlMapconfig has settings with cacheModelsEnabled
How to change it dynamicly. Or Can I seperate sql map settings and sql
map resource into two file and merge them in using?
On 6/30/06, Anthony Hong <[EMAIL PROTECTED]> wrote:
I use db unit test to do intergration test with sql.
One
during web application page.
--
Anthony Hong
--
Anthony Hong
Any example or links can be provides?
I cannot find it through ibatis developer guideline and sqlmap
document to descibe how to use it.
Thanks.
On 6/11/06, Gilles Bayon <[EMAIL PROTECTED]> wrote:
Yes, use discriminator tag in Result-Map.
-Gilles
--
Anthony Hong
create Class B
Can this be achieved in ibatis result-map support?
Thanks in advance
--
Anthony Hong
hi all,
I have a problem during development.
SQLMapClient will read resource of sqlmap configuration. SQLMap have
sqls defined in there.
My problem is if sql failed. I can redeploy correct one but do not
have to restart web server. dynamic reload the latest updated sql map
file.
Can?
--
Anthony
I'm novice of ibatis. I interested in it, its simple but with many
useful functions.
Anybody can tell me thing about its performance? How slow its compare
with JDBC.
In my mind, SQL is written by yourself. So it should have good
controlling on sql performance
--
Anthony Hong
15 matches
Mail list logo