Creating an infinite ocean (looping)
Add a plane in Top Ortho view (numpad key 7 on Win), in Edit mode scale down Y axis, add some Bevel CTRL B (turn on Vertex only), select all and delete only faces. 

Convert this mesh to Curve using ALT C and rotate 90 degrees on X axis in Object mode

Add another plane in Top Ortho view (now it will be an ocean). Create significant amount of loopcuts to get a better transition on curve's angles

Add Array and Curve modifiers to ocean plane. In Array settings select Fit to curve and don't forget to check First-Last and Merge options in Array to have nice loop.
Now you can animate X location to get loop moving




Additionally you can parent both Curve and Ocean plane to the same controlling Empty for easier manipulation in 3D space.