<div>1 About this book</div><div>1.1 Software version</div><div>1.2 Database system</div><div>1.3 Code downloads</div><div>1.4 Conventions used in this book</div><div>1.5 An important notice for Amazon customers</div><div>2 Introduction</div><div>2.1 Object oriented programming (OOP) & the Domain Model</div><div>2.2 Demo application<div>3 A self-made ORM</div><div>3.1 Loading an Entity</div><div>3.2 Saving an entity</div><div>3.3 Associations</div><div>3.4 Next steps</div><div>4 Hello, Doctrine 2!</div><div>4.1 Installation</div><div>4.2 A first Entity</div><div>4.3 A first Association</div><div>4.4 Core concepts at a glance</div><div>5 Defining entities</div><div>5.1 Mapping formats</div><div>5.2 Mapping objects to tables</div><div>5.3 Mapping scalar member variables to fields</div><div>5.4 Inheritance</div><div>6 References between Entities</div><div>6.1 One to one relationship, unidirectional</div><div>6.2 One to one relationship, bidirectional</div><div>6.3 One to many relationship, bidirectional</div><div>6.4 Many to many relationship, unidirectional</div><div>6.5 Many to many relationship, bidirectional</div><div>6.6 One to many relationship, unidirectional</div><div>6.7 Many to one relationship, unidirectional</div><div>6.8 One to one relationship, self-referencing</div><div>6.9 One to many relationship, self-referencing</div><div>6.10 Many to many relationship, self-referencing</div><div>7 Managing Entities</div><div>7.1 Creating a new Entity</div><div>7.2 Loading an existing Entity</div><div>7.3 Changing an existing Entity</div><div>7.4 Removing an Entity</div><div>7.5 Sorting an association</div><div>7.6 Removing an association</div><div>7.7 Life Cycle events</div><div>7.8 Cascading operations</div><div>7.9 Transactions</div><div>8 Doctrine Query Language</div><div>8.1 Introduction</div><div>8.2 Retrieving results</div><div>8.3 Constructing basic queries</div><div>8.4 Constructing join queries</div><div>9 Command line tools</div><div>9.1 Setting up the command line tools</div><div>9.2 DBAL commands</div><div>9.3 ORM commands</div><div>10 Caching</div><div>10.1 Introduction to ORM cache types</div><div>10.2 Caching backends</div><div>11 Advanced Topics</div><div>11.1 Zend Framework 2 integration</div><div>11.2 Native SQL statements</div><div>11.3 Doctrine 2 Extensions</div></div>