Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

sam liya

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

Recent posts by sam liya

I have developed a Android application, when i try to run this it gives me below error.I tried to clean and buit again,but still same.

1 week ago
Yes, I have a JSON column which is not supported by default. Below is the model class for that.



1 month ago
This is yaml file DB details

1 month ago
I am unable to connect to my local Database. below is the error i am getting. i used correct username and password.

1 month ago
I found that Postgress Db has json column implemented. Why relational Db need a json column?
actually i need to get the value from each callback. for example i have a list which contain 10 items. So that means there will be 10 call backs. So each call back i need to access the list and get relevant  value. For example for the 1st iteration  i need to get 1st value of list, but when callback comes the i value of iteration may changed to different value. So how do i know 1st iteration callback comes which items to get from the list?
4 months ago
I am calling Rest API using AsyncRestTemplate inside a loop. Once callback returns i need to access main thread values. But the issue is i am calling AsyncRestTemplate inside a loop as below .




inside callback i need t oaccess list values. but issue is since this runs  inside a loop when callback comes loop may in a different iteration. So how can i access the same values when i am calling exchange methos ?
5 months ago
yes, i found that i was connected  local DB, not the server DB
6 months ago
I am using Spring boot in my project. When i try to retrieve object using repository.findone method is returns null value. I already autowired the repository . I can't fine the solution yet



6 months ago
I need to uninstall ruby from my centos machine(AWS VM)
i try to get hte version of the ruby installed as below.



but when i searched any folders for named ruby as below  there is no any folders named ruby for   find / ruby

So how can i uninstalled the ruby from my machine ?
7 months ago
I have installed ruby in centos 7. Then i try to ran the tmuxinator it gives me below error. How to solve this issue?



output for ruby -v is ruby 2.2.8p477 (2017-09-14 revision 59906) [x86_64-linux

output for rpm -q ruby is ruby-2.0.0.648-30.el7.x86_64

I try to remove old dependencies using rpm -e ruby , but it gives me below error. error: Failed dependencies: /usr/bin/ruby is needed by (installed) rubygems-2.0.14.1-30.el7.noarch /usr/bin/ruby is needed by (installed) ruby-irb-2.0.0.648-30.el7.noarch /usr/bin/ruby is needed by (installed) rubygem-rdoc-4.0.0-30.el7.noarch
7 months ago
I have a jason request as below, i need to get a each object from request. I can use Jackson library to get map objects, but there is a data at the beginning, due to that i am unable to get the object.
I have a int  property , i need to add a default value via annotation. I am using Spring Data JPA(Spring Boot). I tried with below, but it didn't work. is there any other way to do this ?

7 months ago
I got below error when i try to run the project. I tried to find the error using google .


8 months ago