Search:

Type: Posts; User: mamntc02; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,385

    Nice, thanks a lot.

    Nice, thanks a lot.
  2. Replies
    5
    Views
    1,385

    Thanks a lot for your example hoffmandirt....

    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...
  3. Replies
    5
    Views
    1,385

    No one can help me? I think it should be an...

    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.
  4. Replies
    5
    Views
    1,385

    Call a webservice

    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...
  5. Replies
    9
    Views
    1,146

    That's what I said... at least that was my...

    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...
  6. Replies
    9
    Views
    1,146

    Yes, I use Oracle. But as far as I know, "select...

    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.
  7. Replies
    9
    Views
    1,146

    Thanks but I can't, because I don't know the...

    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.
  8. Replies
    9
    Views
    1,146

    Hi satsranchuser, Thanks for your answer, but...

    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...
  9. Replies
    9
    Views
    1,146

    How lock a database register

    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...
  10. Replies
    7
    Views
    6,478

    Yes, it was a wrong question, because I thought...

    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...
  11. Replies
    7
    Views
    6,478

    Thanks for your answer, but I've solved just...

    Thanks for your answer, but I've solved just getting the bean of the class PropertiesFactoryBean. In AppContext:

    <bean id="configProperties"...
  12. I had a similar problem using quartz persistence...

    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...
  13. Replies
    7
    Views
    6,478

    Load properties file

    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:
    ...
  14. Replies
    1
    Views
    2,064

    Test Spring Application using JUnit 4.4

    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...
  15. I was afraid of all I've read, I didn't...

    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.
  16. Meaning of rollback in read-only transaction

    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"...
  17. Replies
    25
    Views
    11,779

    Well, but it does, because if this value is...

    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...
  18. Replies
    25
    Views
    11,779

    Well, finally I know why it fails, and its...

    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...
  19. Replies
    25
    Views
    11,779

    I thought everything was right, but it was only a...

    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:...
  20. Replies
    25
    Views
    11,779

    Ohh!! This is wonderful. I think I'll come back...

    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...
  21. Replies
    25
    Views
    11,779

    Hi again, al0, I have a problem with your...

    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...
  22. Replies
    25
    Views
    11,779

    Yes I realized my mistake, because first query...

    Yes I realized my mistake, because first query result was never treated ;)

    Thanks again.
  23. Replies
    25
    Views
    11,779

    Nice!! I'll try it!! For now, I'm following...

    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...
  24. Replies
    25
    Views
    11,779

    And that's all? Ok, I thought when 'for update'...

    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!!!!
  25. Replies
    25
    Views
    11,779

    Yes, that's what I thought if it doesn't work...

    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?
Results 1 to 25 of 30
Page 1 of 2 1 2