3 ms·
Yes, and there is this ORM impedance mismatch thing. I stopped writing classes for all tables and it removed many useless code and many issues related to statef
by gbog 14y ago
Yes, and there is this ORM impedance mismatch thing. I stopped writing classes for all tables and it removed many useless code and many issues related to stateful methods. Just one example: if you delete a book with book.delete() then how come you can two or many lines later change its title with book.title = Foo?
- zxcvb 14y agoYou can't. The JVM will tell you that the book object you are referring to no longer exists. I'm assuming your delete() method did actually remove the object.