Re: Setting schema name

2007-11-13 Thread Carlos de Luna Saenz
You are right, i mix the question with another one asking for a solution like this... :D Greetings - Mensaje original De: Niels Beekman <[EMAIL PROTECTED]> Para: user-java@ibatis.apache.org Enviado: martes, 13 de noviembre, 2007 10:09:11 Asunto: RE: Setting schema name I think the sch

Re: Logging oddity

2007-11-13 Thread Gwyn Evans
Ah, thanks... I've added a page to that effect below the "Not Yet Documented" page on the Wiki. /Gwyn On 13/11/2007, Jeff Butler <[EMAIL PROTECTED]> wrote: > This is related to a structural defect in the way iBATIS does logging. > iBATIS does logging through dynamic proxies for all the JDBC obje

Re: Logging oddity

2007-11-13 Thread Jeff Butler
This is related to a structural defect in the way iBATIS does logging. iBATIS does logging through dynamic proxies for all the JDBC objects - and these objects are only proxied if the Connection object itself is proxied. The Connection object is proxied only if debugging is enabled for it. So, you

Logging oddity

2007-11-13 Thread Gwyn Evans
Hi - wonder if anyone can explain this... I'm testing with ibatis & am finding that if I have java.sql.Connection = Info java.sql.PreparedStatement = Debug java.sql.ResultSet = Debug then I don't get *any* ibatis logging, but if I change just the java.sql.Connection value to Debug, then I get th

Re: Setting schema name

2007-11-13 Thread Jeff Butler
Another thought is that most JDBC drivers allow you to set a default schema as a driver property. Using this approach, you could write all your SQL without any schema at all and change to the proper schema based on driver properties in the datasource. Jeff Butler On Nov 13, 2007 10:09 AM, Niels

RE: Setting schema name

2007-11-13 Thread Niels Beekman
I think the schema in question is a DB-schema which afaik, is only injectable using the configuration file solution, because iBATIS does not modify the SQL statements you write in any way. Niels From: Carlos de Luna Saenz [mailto:[EMAIL PROTECTED] Sent: din

Re: Setting schema name

2007-11-13 Thread Walter . Heestermans
Hi, What a like to have is that I deploy, for example, a web application inside the WebSphere environment, and the proeprties file with teh schema information is outside this application, the file is somewhere on the filesystem and then loaded by the ibatis runtime when needed. This properties

Re: Setting schema name

2007-11-13 Thread Carlos de Luna Saenz
Yes, use something like this: and put your file inside the dtd directory... i have a resource directory that eclipse recognize as a source directory. Greetings - Mensaje original De: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Para: user-java@ibatis.apache.org Enviado: martes, 13 de novie

RE: dtd got from the jar file

2007-11-13 Thread Chris Lamey
Hello, As has been explained to you before; you shouldn't have to do anything to get this to work. You should be able to have the DTDs in your xml files pointing to ibatis.apache.org. The xml parser should find the DTDs in the ibatis jar files and not even try going out to the web. I often w

dtd got from the jar file

2007-11-13 Thread Jeremy Jardin
Hey, I've got a problem to reach http://ibatis.apache.org, my application runs in a environnement without any web connection. So, in my dao.xml and sqlmapconfig files, I forward to http://localhost/myApp, wich contains the dtd. It works well from my webApplication, when my server is up. But now,

Setting schema name

2007-11-13 Thread Walter . Heestermans
Hi, Is there a way to set the schema name using some Java code instead of setting it inside the iBatis configuration file? Walter