kish kumar

Ranch Hand
+ Follow
since Jan 03, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kish kumar

i am facing the similar error, any body can help ?
Hi manish,
I am not using connection object anywhere since the main purpose of jdbcTemplate object itself is to avoid the boilerplate code like opening connection ,closing connection etc.
i have seen the URL you have given where connection object is used. I guess there must be a way to solve it without calling connection object

Hi Bill,
the code is in my personal PC.so i cannot post it now.


Thanks
10 years ago
Hi manish,
By default spring looks for transaction manager with name transactionManager . so i have not explicitly added attribute transaction-manager to <tx:annotation-driven /> . I tried adding but no change in result.

Hi Bill,
"How are you configuring your datasource is autocommit set to false? " . No ,is it required to set!
10 years ago
hi manish it is my mistake to not to provide complete details in begining post.

as mentioned in your reply i defined datasource , transaction manager and <tx:annotation-driven /> tag and jdbc template to update Database from begining . Inspite of this the problem occured.

You please use the same configuration and code (within this use jdbc template for database updation) i gave to reproduce the problem.
10 years ago
Hi i used only <tx:annotation-driven/> tag only
10 years ago
Hi all,

i have method




Now what i want is even if updateMinSalary() succeds and i am purposefully throwing NullPointer exception from updateMaxSalary() and expecting data should not be updated in the database and whole updateSalary method should be rolled back, but the updateMinSalary() method inserting the data.how to prevent it.
10 years ago
Hi
I have a check box which will be rendered based on the value of selected drop down value from a drop down list.now on selecting the check box another panel with 3 fields should be rendered. But the setter method corresonding to the property <h:selectBooleanCheckbox id="checkBox" value="#{backendbBean.includeLine}"> for check box that is setIncludeLine(boolean val) is not getting invoked. How to solve this problem ? Please share valuable solution
10 years ago
JSF
how to pass custom objects to web service methods as parameters &return please explain. if possible give reference to good source
11 years ago
when i run wsgen command i am getting this above error what is the reasonfo this?
11 years ago
alas no one has answer
I am using jpa with hibernate combination . want to check if there is a specific JPA API available to insert bulk number of records in to the database.
Is JPA supports batch insert of multiple records? If so please let me know how it supports!

hi

i have a property file as below

zzzzzz_a=some text1
zzzzzz_b=some text2
zzzzzz_c=some text3
zzzzzz_d=some text4

Now i have <rich:toolTip direction="top-right" value="#{key}"/> in a loop.
i have static key part zzzzzz_ to this i have to append a,b,c and d and supply it to value attribute.
how this can be done ,i mean i want syntax?

11 years ago
JSF
Mark i really appreciate your answer
11 years ago

Hi
I want to initialize a set in a spring bean using constructor injection. i defined a constructor in the spring bean which takes set as a parameter. Please let me know the syntax for initializing the set.

regards
Kishore
11 years ago