Description
If I use the table name "bookstore.book" and then try to telete all booksby
Criteria criteria = new Criteria();
criteria.where(BookPeer.BOOK_ID, (Long) null, Criteria.NOT_EQUAL);
BookPeer.doDelete(criteria);
the generated sql will be
DELETE FROM bookstore.book, book WHERE book.book_id IS NOT NULL
whereas it should be
DELETE FROM bookstore.book WHERE book.book_id IS NOT NULL
Also other places should be checked for similar errors.