The problem with new connection is that, second method going to called many times like thousands time. So I am afraid that my connection pool is not that much. I know it will release the connection...
Type: Posts; User: springWSDev; Keyword(s):
The problem with new connection is that, second method going to called many times like thousands time. So I am afraid that my connection pool is not that much. I know it will release the connection...
Thanks Marten, I worked very well. But there is a small problem, I am sure you would solve it. Actually I am passing connection as the argument to the second method where it executes some DB...
Hi,
In my service class I have two methods, both are Transactional. I want to create a new Transaction when control enters into second method from first method. Because what I am doing in second...
Hi,
As I explained in this thread, I am having problem in getting Connection which takes part in Transactions. For that I have application-Context.xml file with all beans needed.
<bean...
Hi Marten, I think this is going very long so if you could give me your email I would give you the whole idea what I am trying to do and why.
Thnx..:)
Hi Marten, I have done all the changes, but I am still having same problem. I am not able to get the transactional connection. I have attached the modified code. Please let me know where I am...
Thanks Marten for your feedback. But I could not find, how am I loading beans more than one time, do you mean by passing app-config.xml as context-param and in DispatcherServlet. If don't give any...
Hi Marten, I have attached the files you asked about. Please have a look and let me know the problem. Thnx....:)
Thanks Marten for efforts, but the project I am working is kind of big project and I cant share the code. But as you asked other question about right datasource in code. Here is the spring-config.xml...
Hi Marten,
I think, I doing something wrong for sure. Because the connection type I am getting is 'oracle.jdbc.driver.LogicalConnection', that seems to be Oracle specific.
And I have put...
Hi Marten,
How should I take Connection from the Datasource.
private DataSource myDataSource;
Connection conn = myDataSource.getConnection();
Here DataSource is the...
Hi,
Thanks for the help. actually my most of the code is legacy code and I have to use the existing code and cant change that as well. But I got a way to accommodate your suggestion and it did not...
But the Datasource I am injecting in Oracle that should be 'oracle.jdbc.pool.OracleDataSource', otherwise it will throw ClassCastException in the Oracle class where I am configuring the cache for...
Hi,
I have been doing same as you stated. I am attaching my code
these are the configuration files.
<bean id="proxyDataSource"...
Hi,
I did read that chapter. But that has nothing much just information about the class:-
Here is the link from where I read....
Hi,
Thanks for reply. Could you give me some link or reference for that, because I am new to these things. Any example or sample code would help.
Thanks :)
Hi,
I have an old application which is using the simple JDBC, means Statements and PreparedStatments, for the Database query and update.
Now I am integrating this application with REST web...
Hi,
I have developed couple of REST web services using spring web API. I want them all to document so that our client can use those. Like WSDL in SOAP, I heard REST has WADL. So thought to give it...
I know it is very old post. But I am still looking for something which can generate the WADL for the REST Web services developed in Spring framwork 3.0.
It will be fine if there is any third party...
Hi,
I investigated through whole application and I found that it has Piccolo.jar. So whenever there is need of any unmarshaling it takes the instance of PiccoloParser instead SaxParserImp. So I...
Hi,
I have checked it number of times, it is fine according to me. It would be good if you can point me anything which needs to be there.
And one more thing, when I deploy this as separate...
Hi felix,
Mapping files means java file generated from XSD ? if yes, then I have already created a jar and put into classpath. But that should not be the case because my GET method is working very...
Please, could someone reply.......I have been digging into this for two days, yet to get it resolved this.
Thanks.....
Hi all,
This is my first post here on this forum.
I wrote a Rest web service in which I have one method. That is the http Post type method which is as following:-
...