Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    242

    @Resource not injected sometimes

    Hi all

    I have a very strange issue when I use @Resource to inject beans.
    I am using Struts2 2.2.3.1 with provided Spring plugin with Spring 3.0.0. (I am not able to upgrade to the newest version...
  2. Replies
    5
    Views
    1,306

    Hi i can not tell you what IS a GOOD design...

    Hi

    i can not tell you what IS a GOOD design because i am search myself

    for your question i have similar doubts as well.

    but here is how i look at it

    question 1:
    DAO only concerns the...
  3. Replies
    5
    Views
    1,306

    Hi Simply create one more layer, the Service...

    Hi

    Simply create one more layer, the Service Layer/ Manager.
    Then just like you said, inject DAO to Manager then inject Manager to your Controller.

    Then put Transaction on Manager. and then...
  4. Thanks for the insight

    Thanks for the insight
  5. Thanks for the reply yes I have actually tried...

    Thanks for the reply

    yes I have actually tried annotating my service with @Service and DAO with @Repository.
    And it works wonders just like you said.

    but maybe I don't understand the basic of...
  6. making tc server intercept object injected by @Resource

    Hi
    my application is written using Spring 2.5.6
    however i dont use @Autowire, @Component,...etc
    I use @Resource to do my DI.
    when i run my application in tc server i can only see it intercepting...
  7. SimpleJdbcCall calling function using different param name to store and retrieve valu

    Hi

    I am using Spring 2.5.6 SEC1 and SQL Server 2008

    When I use SimpleJdbcCall to call a stored function and trying to retrieve value but I always get null.
    Then I used debug, I found out that...
  8. Replies
    7
    Views
    1,352

    sorry i guess i might not be able to help you ...

    sorry i guess i might not be able to help you

    maybe check your DB setting make sure everything is set correctly
    thats my last advice
    ^^
  9. Replies
    7
    Views
    1,352

    so you need to change schema depending on some...

    so you need to change schema depending on some other parameter?
    if so you might have to create on SimpleJdbcCall for each schema name
  10. Replies
    7
    Views
    1,352

    not sure how you are doing it i centralized my...

    not sure how you are doing it
    i centralized my code into on place and initialize everything a SimpleJdbcCall needs before actually calling it.

    i do :
    SimpleJdbcCall sjc2 = new...
  11. Replies
    7
    Views
    1,352

    hi what exception message did you see i was...

    hi
    what exception message did you see
    i was able to specify schema name when using SimpleJdbcCall on Sybase.

    or maybe check your login permission on the DB
  12. Replies
    3
    Views
    1,079

    Hi Sorry i dont think i can help i use DB2...

    Hi
    Sorry i dont think i can help
    i use DB2 9.5 and used SimpleJdbcInsert just like you and things just work.

    I guess you might just have to do it on the statement level
    like I am having...
  13. Replies
    3
    Views
    1,079

    Hi i am not too sure but just a guess i...

    Hi

    i am not too sure but just a guess

    i remember getting the same problem before
    i solved my case by simply upgrading my DB2 jdbc driver
    try replace your driver in your lib with the drive in...
  14. Replies
    4
    Views
    4,137

    nope nothing works i think this line bad...

    nope
    nothing works

    i think this line


    bad SQL grammar [{? = call WMSR5USR.FN_GETDATADATE()}]; nested exception is com.ibm.db2.jcc.a.bn: DB2 SQL Error: SQLCODE=-440, SQLSTATE=42884,...
  15. Replies
    4
    Views
    4,137

    hi actually wmsr5usr is my Schema name so i...

    hi

    actually wmsr5usr is my Schema name
    so i actually was trying to specify my schema even though my login has default schema as wmsr5usr

    so i was actually using following which i forgot to...
  16. Replies
    4
    Views
    4,137

    SimpleJdbcCall calling DB2 function

    Hi
    I am using Spring 2.5.6
    and DB2 9.5

    I use SimpleJdbcCall to call a function but it throws an exception



    org.springframework.jdbc.BadSqlGrammarException: CallableStatementCallback; bad...
  17. Replies
    17
    Views
    4,965

    where are you serving the...

    where are you serving the jmaster.jumploader.app.JumpLoaderApplet.class from?
    within your WEB-INF? or some location similar to your javascript?
  18. Problem concerning closing InputStream or calling close on LobCreator

    Hi

    I am using SimpleJdbcInsert to insert my data and JdbcTemplate to update.
    I use Spring 2.5.6SEC01.

    I noticed that after all executions, StatementCreatorUtils.cleanupParameters() will be...
  19. Replies
    0
    Views
    853

    ASE not equal Sybase?

    Hi

    I am using Spring 2.5.6SEC01
    And Sybase(ASE) 15
    I use jtds 1.2.2 as my driver because i am having problem using jconnect as my driver because SimpleJdbcInsert just wont work


    But when I...
Results 1 to 19 of 19