Skip to content

Loop through 200 author objects and save them to the database. Field values can be any. Use the flush method for every 10 objects. Execute the commit method once at the end.

Minisiia/HibernateFlush

Repository files navigation

HibernateFlush

Loop through 200 author objects and save them to the database. Field values can be any. Use the flush method for every 10 objects. Execute the commit method once at the end.

6. JDBC & Hibernate 5. Hibernate

Задание 6

Из пакета ex_002_insert_and_update создайте в цикле 200 объектов author и сохраните в БД. Значения полей могут быть любыми. Используйте метод flush для каждых 10 объектов. Метод сommit выполняйте один раз в конце.

About

Loop through 200 author objects and save them to the database. Field values can be any. Use the flush method for every 10 objects. Execute the commit method once at the end.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages