在JPA,如果我尝试使用setter和getter方法,无需使用事务开始和提交更新管理对象,并JPA自动更新考虑数据库(不是立即,但后来)FlushType是AUTO.
FlushType
AUTO
java orm hibernate jpa transactions
hibernate ×1
java ×1
jpa ×1
orm ×1
transactions ×1