Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    318

    Use Placeholder value in JSP page?

    Hi!

    Using Spring 3.0.x for a web application, is it possible to get/read a placeholder value from a JSP page?

    I found two solutions, but they are not elegant:
    - store the value in a bean and...
  2. Replies
    2
    Views
    1,493

    SimpleJdbcCall - array input parameter?

    CREATE OR REPLACE
    TYPE ARRAY_OF_NUMBERS AS TABLE OF NUMBER
    /

    procedure foo(p_a IN INTEGER,
    p_b IN CHAR,
    p_c IN ARRAY_OF_NUMBERS);


    How to pass a set of Longs to this procedure properly?
  3. Replies
    2
    Views
    4,533

    Best way to set NLS_SORT for Oracle?

    Hi!

    Using Spring JDBC with Oracle 11g, what is the best way to set the NLS_SORT variable?
    We will be using a connection pool.

    - Environment variable on the client seems a bit too out of...
  4. Replies
    0
    Views
    789

    Oracle function call fails

    Hi!

    We are using Oracle Database and this function call:


    m_translateProc = createFunc("OUR_FUNCTION");
    m_translateProc.addDeclaredRowMapper("p_result", new RowMapper<FooResult>() {...});
    ...
  5. Replies
    2
    Views
    1,733

    "me too" class Foo { @Transactional public...

    "me too"

    class Foo {
    @Transactional
    public void doSomething()
    { ... }
    }

    class Bar extends Foo{...}
  6. Well, I wrote one myself...

    Well, I wrote one myself...
  7. Combine BeanPropertySqlParameterSource and MapSqlParameterSource?

    Is there a (simple) way to combine BeanPropertySqlParameterSource and MapSqlParameterSource?

    For example:


    BeanPropertySqlParameterSource inParams;
    inParams = new...
  8. BeanPropertyRowMapper splits numbers in property names

    Hi!

    BeanPropertyRowMapper creates a (IMO) bad underscored name if the name contains numbers.

    Example:
    x11FooBar si converted to x_1_1_foo_bar

    IMO it should be x_11_foo_bar

    Is there a way...
  9. Fixed! Instead of SimpleJdbcCall I used...

    Fixed!

    Instead of SimpleJdbcCall I used AbstractLobCreatingPreparedStatementCallback, as described on its JavaDoc:...
  10. It is harder than I thought.... Another try: ...

    It is harder than I thought....

    Another try:


    MapSqlParameterSource inParams = new MapSqlParameterSource();
    inParams.addValue("a_id", foo.getA_Id());
    inParams.addValue("data", new...
  11. Aha, according to...

    Aha, according to org.springframework.jdbc.core.StatementCreatorUtils.javaTypeToSqlTypeMap , only Blob.class is mapped to BLOB, so I have to cook up something by hand.
  12. (RESOLVED)Inserting BLOB using BeanPropertySqlParameterSource ?

    Hi!

    I have defined a bean (class Foo) having one Long and one byte[] property.

    When reading with SimpleJdbcCall ....returningResultSet("return_parameter", ...
  13. Replies
    4
    Views
    1,467

    Yes, I already did.

    Yes, I already did.
  14. Replies
    0
    Views
    1,052

    jira has small typo at creating issue page

    https://jira.springframework.org/secure/CreateIssue!default.jspa

    click NEXT

    "Spring Forum Reference:: "

    Has two colons.

    Regards,
    David
  15. Replies
    4
    Views
    1,467

    In "1.3.1 Dependency Management and Naming...

    In "1.3.1 Dependency Management and Naming Conventions" there is a broken download link:
  16. Replies
    4
    Views
    1,467

    Beow on the same page, under section 1.3 , the...

    Beow on the same page, under section 1.3 , the image says "Dymaic Binding to Domain Model" (on the top).

    It should be "Dynamic Binding..."
  17. Replies
    4
    Views
    1,467

    Error in Spring reference doc

    Not sure if this is the correct forum, but:

    In this page, the third paragraph says "such as the simple declarative transaction management feature mentioned previously."

    But the declarative...
  18. Forum member confirmation link gives bogus error

    Hi!

    I just registered. I got the confirmation email, clicked the link in it and the page it opened had red, framed text, saying:

    Your account is awaiting email confirmation. Please click the...
Results 1 to 18 of 18