is there a way to list all the ibatis statements from a given XML map file?
I'm getting the following exception:
com.ibatis.sqlmap.client.SqlMapException: There is no statement named...
Type: Posts; User: silly_me; Keyword(s):
is there a way to list all the ibatis statements from a given XML map file?
I'm getting the following exception:
com.ibatis.sqlmap.client.SqlMapException: There is no statement named...
Perfect, that was it! In my eclipse environment, I was depending on another project that had the older 1.1 dbcp!
Thanks for helping on this!
my applicationContext.xml has the propertyConfigurator to load the values that emod.jdbc.datasource.xxx evaluates to. (both applicationContext.xml and dataAccessContext.xml are loaded via classpath...
When I run my junit test against my DAOs, I get a weird Commons DBCP Exception complaining about the initialiSize for the data source could not be set.
however, when I run the app from tomcat, the...
Here's the stack trace from my junit test.
org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC connection for transaction; nested exception is...
hi All,
I'm using MS-SQL server as the backend db with Spring 1.2.1 using the ibatis 2.0 data mapping layer.
I'm getting this error: "Object has been closed"
My transaction setting is:
hi All,
I have a set of service interfaces and object interfaces that I would like to expose to the client. The server obviously contains these interfaces and their implementations. However when...
I found a solution to this..
Due to my branded oem jdbc driver, it requires a username/password to unlock. In order for me to do that I had to create a delegateDataSource.
Here I was able to...
I am getting pool exhausted exceptions and wanted to know if I have a connection leak.
Is there a way I can monitor the current number of connections in the pool, which of them are idle, which are...
The hang that I was experiencing wasn't actually caused by the httpInvoker but due to exhhausting the connection pool. The datasource was blocking for connections.
httpInvoker was working like a...
Here's an attempt with a dependency on httpclient (i know, but we fortunately approved the commons httpclient)
public class SimpleAuthExecutor extends CommonsHttpInvokerRequestExecutor {
...
i've read through the blogs about basic authentication and it seems that the only way for the httpInvoker to have this feature is to utilize the acegi security package.
is there a way to natively...
The problem was not the dispatchServlet, nor httpInvokerProxy it was my BasieDBCPDataSource was configured to have the default pool size. I increased it to 100 and no more hang.
could it be that the wait is happening at the dispatcher servlet? how should I configure the dispatchServlet to handle large payloads?
I am experiencing the httpInvoker protocol hanging after doing some large file transfers( ~4mb files). After transfering from a client to the server, all subsequent connections seem to hang. The...
I too send large bytes back and forth using the httpInvoker protocol. What I do is have a serializable class that stores a byte array of the file contents.
But as a tangent, I am experiencing the...
The CommonsDbcpNativeJdbcExtractor did the trick!
thanks!
The getTargetConnection(..) didn't work.
I tried override the DelegatingDataSource class by doing the following:
public MyDatasource extends DelegatingDataSource {
public MyDatasource(DataSource dataSource) {
...
thanks! I'll give that a try.
hi all,
our company has an OEM jdbc driver from DataDirect that is branded.. Good driver but tough password constraints.. we unfortunately have to hardcode our password every time we call the...
i found that setting the log severity levels to DEBUG on the package namespaces did the trick:
log4j.logger.com.ibatis=DEBUG
log4j.logger.java.sql=DEBUG
--sm
hi all,
I'm using the ibatis sqlmap with the spring framework and wanted to know how I can print out my sqlmap SQL statements for debugging purposes? I want to see the actual CURD sql commands as...
did you ever get your problem resolved? I have a similar problem to solve.
I'm using purely JSF in the web-tier w/o struts and for my persistent layer using ibatis and the sql mapper.
Is there a performant way of doing pagination with data sets in the order of 10,000...