Search:

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

Search: Search took 0.02 seconds.

  1. Stored Proc with multiple optional result sets.

    Hi,

    We are having an issue with a complex stored proc. We use spring's Jdbctemplate and StoredProcedure classes.
    In database, we have a stored procedure which returns multiple resultset...
  2. Bw, just realised that @Provider is a Jersey...

    Bw, just realised that @Provider is a Jersey annotation and not a spring one. Is there any the two can work together?
  3. Replies
    2
    Views
    616

    You can separate projects and have your spring...

    You can separate projects and have your spring application-context.xml in the main project import the application context in the dependency as follows.

    <?xml version="1.0" encoding="UTF-8"?>

    ...
  4. Issue with @Provide and @Profile working together.

    Hi,
    We have a spring-jersey app. We use spring bean profiles for configuring various environments in our application. Its works great untill we tried adding a provider. We are using...
  5. Replies
    6
    Views
    1,439

    Thank you very much. That was it. The moment I...

    Thank you very much. That was it. The moment I set a property in glassfish 'spring.profiles.active' with value as 'local' , the spring bean profile worked. The maven build is very straightforward as...
  6. Replies
    6
    Views
    1,439

    Thanks for the reply. What is am doing is...

    Thanks for the reply.

    What is am doing is packaging the war to be deployed on glassfish directly running in eclipse during dev. But I would also like to cater for other profiles like QA,...
  7. Replies
    6
    Views
    1,439

    Thanks Marten for the reply. I will remember to...

    Thanks Marten for the reply. I will remember to use the <code> tag.

    I have tried changing the parameter name but it didn't work. Considering using environment variables, this is something we...
  8. Replies
    6
    Views
    1,439

    Problem setting Spring Bean Profile

    I have a maven spring project. I am trying to use Bean profiles which was introduced in Spring 3.1

    Basically we have a datasource bean which would change as per profile.

    <beans...
  9. Ok fixed this. For others encountering the same...

    Ok fixed this. For others encountering the same problem, Here is the solution . use setFunction(true) and declare the return param as the first parameter as shown below. The name of the param...
  10. Return value of stored procs using StoredProcedure class and not SimpleJdbcCall.

    Hi,
    I am using Spring 3.1.1 . I would like to konw how I can retrieve a return value from a stored proc. My stored proc returns errorcodes. I have read that this can be done using SimplejdbcCall,...
Results 1 to 10 of 10