خرید بک لینک

Vote count: 0

Is it possible to run a select query that updates an existing java object with myBatis.

For example given this existing java object:

Customer{
    int id;
    String firstName;
    String lastName;
}

lets say I already have a Customer instance C with an Id of 1.

how can I run a myBatis select query that will update that instance rather than create a new instance.

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 18 خرداد 1395 ساعت: 21:43

صفحه بندی