请注意,在方法的主体中,只用一行代码获取完整的 Player 对象,然后它可使用 JPA 将新的 Player 保存到数据库。
Notice that in the body of the method, it only takes one line of code to get a full Player object that can then be used to save the new Player to the database using JPA.
作为root用户,编辑 /etc/shells ,在该文件中为新的shell添加一行,在本例中是 /usr/local/bin/tcsh,保存文件。
As root, edit /etc/shells, addinga line in the file for the new shell, in this case /usr/local/bin/tcsh, and save the file.
由于是在AUTOCOMMIT处于禁用状态的情况下工作,因此新行并未永久地保存到bigdog . products表中。
Because you're working with AUTOCOMMIT disabled, your new row isn't permanently saved in the bigdog.products table.
应用推荐