Sac Jadhav

Greenhorn
+ Follow
since Apr 23, 2012
Sac likes ...
Hibernate jQuery Java
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sac Jadhav

@Stephan, to be specific. It is AbstractMx object which I get when parser swift message
5 months ago
Thanks all,
@Rob/@Stephan- I want to pass  MyObj is in the constructor, the reason is Class A is base class and it will have some common methods where MyObj is needed for the mapping so I am passing it to the constructor and initializing instance variable which I can use in both superclass and subclass.

@Tim - Sorry I have mentioned it incorrectly Actually MyObj is not the user-defined class. It is the class from the third party library.
5 months ago
@Service
abstract class A {
 protected MyObj obj;
 protected A(MyObj obj) {
   this.obj = obj;
 }
 public abstract XYZ getTrade();
}

@Service
public class B extends A {
  B(MyObj obj) {
    super(obj);
  }

  public XYZ getTrade() {}
}

@Service
public class C extends A {
  C(MyObj obj) {
    super(obj);
  }

  public XYZ getTrade() {}
}

@Controller
public class MyController {

 @GemMapping("/test")
 public void test() {
   MyObj obj = new MyObj();
   if(condition 1) {
      //call getTrade() method of class B
   }
   if(condition 2) {
      //call getTrade() method of class C
   }
 }
}

MyObj is a user-defined POJO that is not managed bean. I have the above classes. now I have to call getTrade() method based on some condition in Controller. Could you please help/advise?
5 months ago
Hi Carey. Thanks for the reply. Yes, we have and we are doing the same way. But now we are planning to rewrite/created microservices our application so checking if there any other best way to perform it.
6 months ago
I have to do trade validations. I have 1 generic bean for ant type of trade. So based on asset type I have to apply validations. for example, there is a total of 10 validations. for one type of trade I have to apply only 4 validations and for the second 7 validations and for other all validations. Could you please suggest any idea or framework. There is not a user interface involved in this.
6 months ago
Congratulations Yujun
3 years ago
I am working on performance tuning. We are using saveOrUpdate method to save data. If we use save method to save new object instead of saveOrUpdate, will it improve performance.
You cannot access executorList directly
3 years ago
Use worker1.executorList
3 years ago
Sorry This is not a webapp. This is a Desktop application. when I debug it and try to ispect then I can see English characters only
3 years ago

Dave Tolls wrote:

Sac Jadhav wrote:Yes Dave. character set of db and eclipse are correct i.e UTF-8



But what about what you're using to actually see the values...and does the font used actually have glyphs to represents those code points?

This is why we're suggesting printing it out to a file since then you can try and deal with the font issue more easily, if you have a suitable application.



I checked in the database. I can type /input in Marathi in TextField but it inserts English characters in DB.
3 years ago
Yes Dave. character set of db and eclipse are correct i.e UTF-8
3 years ago
I tried to debug application and also saved data in database but no luck
3 years ago
Hi Paul, I know how to develop a desktop application. I want to make it in Marathi. I tried to use Marathi font. I am able to input Marathi text in textField but when I print that text on console it prints in English not Marathi
3 years ago
Hi Tim, I have installed font(Marathi-Indian language) and I am able to type it in textfield but when I debug or print it on Console it prints in 'English' only not in Marathi.
3 years ago