Nice, thanks a lot.
Type: Posts; User: mamntc02; Keyword(s):
Nice, thanks a lot.
Thanks a lot for your example hoffmandirt.
However I still don't see which is the operation in web service that you request for.
Correct me, if I'm wrong because there are some knowledge in web...
No one can help me?
I think it should be an easy question, and I'm quite desperate because I cannot find an answer: How do I ask for a certain operation in a web service using Spring?
Thanks.
Hi all!!
I'm quite new in web services and I don't know how call a web service using Spring. I've been reading reference documentation for Spring Web Services: chapter 6, which explains the...
That's what I said... at least that was my intention ;) Maybe my terrible english confuses :confused:
I also need to lock the register for reading operations. It means, if I select a locked register...
Yes, I use Oracle. But as far as I know, "select ... for update" statement only locks on write. Is this right?
I need both read and write.
Thanks a lot.
Regards.
Thanks but I can't, because I don't know the increment of the counter until I receive the confirmation request.
Is there no way lo lock a register for read and write?
Regards.
Hi satsranchuser,
Thanks for your answer, but that's not enough, because it does not depend on user. The purpose of this method is build a counter. That is:
I have a table with 3 fields. Two of...
Hi all,
That's what I need:
Select an unique register and lock it, both read and write.
On demand, unlock register and update its value.
Thats' what I did:
I use Spring's JdbcTemplate to...
Yes, it was a wrong question, because I thought that was the class I was looking for ;)
Yeah, but I'm forced to do. I'm a programmer that use work in C/C++ in low/mid-level applications. Now, I'm...
Thanks for your answer, but I've solved just getting the bean of the class PropertiesFactoryBean. In AppContext:
<bean id="configProperties"...
I had a similar problem using quartz persistence jobstore. I think yours are not the same, but have a look to this bug, which can help to fix. I solved that bug upgrading both spring and quartz to...
Hi all!!
I looking for a sample how a properties file can be loaded with Spring, which values can be taken in a programmatic way. For example a properties like this:
...
Hi all,
I've developed a web application with Spring. Now, it's time to test it, but I don't know how.
First, I try to explain what I want to test and how the application is done.
I'm trying to...
I was afraid of all I've read, I didn't understand. So, if this is only for internal DB statistics or management, it makes me not to be worried about all I understood ;)
Thanks a lot.
Hi all,
I've been reading chapter 9 of spring documentation, which refers to "Transaction Management" and I have a doubt. In section 9.5, which explains "declarative transaction management"...
Well, but it does, because if this value is greater than the rows returned it works. But if it is less than the rows, it throws the exception!!
I'm not sure, but that's what I think:
The...
Well, finally I know why it fails, and its because the fetchSize of the cursor, that was set to 10 rows.
The easy solution could be modify this parameter when I create the preparatedStatement in...
I thought everything was right, but it was only a thought :(
The only thing I missed was how pass parameters to the query, because I was passing parameters to the query in the query:...
Ohh!! This is wonderful. I think I'll come back to this forum much more often ;)
Finally, I made 'a mix' with your advices, because I don't understand totally why you need a private class to...
Hi again,
al0, I have a problem with your code. Now I've tried:
public static void selectForUpdate2(String query, Object []args){
JDBCUtil jdbc = JDBCUtil.getInstance();
RowCallbackHandler...
Yes I realized my mistake, because first query result was never treated ;)
Thanks again.
Nice!! I'll try it!!
For now, I'm following the very good advices from Andreas Senft and dejanp. So I store all resultSet into a List, leaving 'for update' statement set in 'select' query. Then I...
And that's all? Ok, I thought when 'for update' was set, it took some advantage of it, to perform the update.
Thanks a lot to all!!!!
Yes, that's what I thought if it doesn't work what I wanted to do.
However, in this way I think I don't take advantage of performance of 'for update' statement in Oracle.
You know what I mean?