Problem with BeansItemsContainer

I have a little problem with beansintemscontainer. One of my table is fill with beans items which are loaded from database. That table got columns: Tittle of book, Last Name, First name, publisher, isbn, etc.
After pressing button “reservation” i want to put info about book to next table in my sql and next show it in application.
I’m stuck now with copy data from table1 to table2. With using beans I’m able to copy->paste data in application, but I don’t know how to get it into my sql base.
Anyone could help me? Thanks.