Java Commit

3
I have created a mendix object in java and set the name field using this code HP_Import.setName(returnString); however this is not committed to the database. How do i go about commiting the changed information to the database? I can see that the object has been created in the database but the information has not been written to the name field. Thanks
asked
1 answers
2

You can use the Core.commit function for that:

(updated, see comment)

Core.commit(this.getContext(),HP_Import.getMendixObject());

answered