Backendless 4 :Creating records in a table with child item(1:n)column

hello , thanks for helping me
using V3 i could add record with childs in other columns (one to many) and it worked simply like the crud example

Orders orders = new Orders();
orders.setOrderstate("0");
orders.setItemcount(new Random().nextInt((int) (Math.pow(2, 29) / 2 - 1)));
orders.setSerialVersionUID(new Random().nextDouble());
orders.setAddress(UUID.randomUUID().toString());
orders.setOrdernumber(UUID.randomUUID().toString());
orders.setTotalprice(UUID.randomUUID().toString());
orders.setRestaurant(null);
orders.setDetails(new ArrayList<OrderDetail>());
Log.d("Save Currennt ", String.valueOf(currentOrders.get(0).getRestaurant().toString()));
orders.saveAsync(new AsyncCallback<Orders>() {
 @Override
 public void handleResponse(Orders orders) {
 Log.d("saved", orders.getObjectId());
 }
 @Override
 public void handleFault(BackendlessFault backendlessFault) {
 Log.d("Fauly", backendlessFault.toString());
 }
});

but when trying the same in backendless 4 , the “order” is added to Orders table but the column details is empty and no record added ((one to many) to Table OrderDetails )

Hi Ibrahim,

This is by design. Please see the following section in the documentation describing the differences in relationship management between 3.x and 4.0.
https://backendless.com/docs/android/doc.html#related_objects

Regards,
Mark

okay thanks i got that working now but what about the retrival i had another post about it