nutzam/nutz — Issue #112: dao insert collection忽略了@prev的操作
Author: hujun82589167
Created: 2011-11-15 02:36:50+00:00
State: open

pojo：class User{
@Id
@Column
@Prev(@SQL("SELECT SEQUENCE_PUBLIC.nextval from dual"))
private long id;

@Column
private String name;
}
dao: User user=new User();
user.name="test";
List list1 = new LinkedList();
list.add(user);
dao.insert(list);

结果：user对象id字段未被设置值