Skip to content

Commit

Permalink
Merge pull request #1341 from javiereguiluz/patch-6
Browse files Browse the repository at this point in the history
[doc] Minor fixes and typos
  • Loading branch information
Ocramius committed Mar 18, 2015
2 parents b3a6fb7 + be18915 commit 05db65d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/en/tutorials/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ uses the database platforms native id generation strategy (for
example AUTO INCREMENT in the case of MySql or Sequences in the
case of PostgreSql and Oracle).

Now that we have defined our first entity, lets update the database:
Now that we have defined our first entity, let's update the database:

::

Expand Down Expand Up @@ -375,7 +375,7 @@ Call this script from the command-line to see how new products are created:
What is happening here? Using the ``Product`` is pretty standard OOP.
The interesting bits are the use of the ``EntityManager`` service. To
notify the EntityManager that a new entity should be inserted into the database
you have to call ``persist()``. To intiate a transaction to actually perform
you have to call ``persist()``. To initiate a transaction to actually perform
the insertion, You have to explicitly call ``flush()`` on the ``EntityManager``.

This distinction between persist and flush is allows to aggregate all writes
Expand Down Expand Up @@ -1547,4 +1547,3 @@ will be added to this tutorial incrementally, topics will include:

Additional details on all the topics discussed here can be found in
the respective manual chapters.

0 comments on commit 05db65d

Please sign in to comment.