Embed presentation
Downloaded 18 times










The document discusses ORM (object-relational mapping) patterns and proposes an alternative approach of having "SQL-speaking objects" where objects can directly execute SQL queries without an ORM layer. It provides an example of a Book class that can rename itself by executing a raw SQL UPDATE statement using JDBC to directly communicate with the database. Avoiding ORM and allowing objects to directly talk to the database via SQL queries is advocated as a cleaner approach.









