It pretty much gets rid of the problem permanently. Your stomach may still produce a lot of acid, but it won't be giving you the "heartburn" effect anymore.
The way my gf had it done, they put five small openings in her chest for the instruments, right below the ribcage, and then carefully tightened up the sphincter at the top of the stomach. She was in and out of the hospital in maybe a day or two.