I was going to say Gallbladder from your description. I had these symptoms for months and was told I needed my Gallbladder removed. I had the operation and ALL IS GOOD. I was soo happy to be free of it and pain free.
hernias can be very painful. They told you that you had one and what? did nothing about it? Maybe it needs to be fixed surgically? Since you say its on your left side, did the dr every say anything about your pancreas or spleen? Acute Pancreatitis can be very painful. Also if your stomach lining is really badly inflamed, you could be having Chronic Gastritis attacks, which are also painful. But it could all be your ulcers. What are you doing to help heal your stomach? Do they have you on any medications? What foods are you eating? I'd try not eating anything acidic, dairy, garlic, onions, or high in fat (greasy foods, peanut butter) and see if that helps at all.