We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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字段未被设置值
The text was updated successfully, but these errors were encountered:
@id(auto=false)
Sorry, something went wrong.
No branches or pull requests
pojo:class User{
@id
@column
@Prev(@Sql("SELECT SEQUENCE_PUBLIC.nextval from dual"))
private long id;
}
dao: User user=new User();
user.name="test";
List list1 = new LinkedList();
list.add(user);
dao.insert(list);
结果:user对象id字段未被设置值
The text was updated successfully, but these errors were encountered: