Is there a sample code that shows how to store and retrieve List fields?
4440 次
error from debugger mi_cmd_stack_list_frames not enough frames in stack for all my projects
Well I've got a serious problem with my application.When I want to build and run one of my application I have the error :error from debugger mi_cmd_stack_list_frames not enough frames in stack
and this for all my projects, so that shows it's not a problem which come from an app but from something else .So How can I solve this please ? sorry for my english I'm french :/
1 に答える
10
たとえば、リストを使用してクラスを作成するだけです。例:
public class Order{ ... リスト項目; ... }
それで:
ODatabaseObjectTx db = new ODatabaseObjectTx("local:/temp/db");
db.create();
db.getEntityManager().registerEntityClass(Order.class);
db.getEntityManager().registerEntityClass(OrderItem.class);
Order o = new Order(234);
o.items = new ArrayList<OrderItem>();
o.items.add( new OrderItem('mouse', 10, 12.5) );
db.save( o );
于 2011-11-05T21:48:26.203 に答える