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...
Type: Posts; User: lunaspeed; Keyword(s):
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...
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...
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...
Thanks for the insight
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...
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...
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...
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
^^
so you need to change schema depending on some other parameter?
if so you might have to create on SimpleJdbcCall for each schema name
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...
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
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...
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...
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,...
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...
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...
where are you serving the jmaster.jumploader.app.JumpLoaderApplet.class from?
within your WEB-INF? or some location similar to your javascript?
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...
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...