Answer the question
In order to leave comments, you need to log in
How to allocate memory in Java?
The question may be stupid, but somehow I couldn’t formulate it particularly, and I didn’t find anything on Google. There is a times
function :
String where = "name = '"+ comboBoxEmployers.getSelectedItem().toString() +"'";
Employer emp = Employer.Find(database.getCursor(), where);
String id = emp.getValue("id").toString();
return new DBInteger(Integer.parseInt(id));
return new DBInteger(Integer.parseInt(Employer.Find(database.getCursor(), "name = '"+ comboBoxEmployers.getSelectedItem().toString() +"'").getValue("id").toString()));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question