Hi, I'd like to help you with your question.
It sounds like your boyfriend has a lot of issues, either related to his former relationship or possibly learned behavior from childhood issues. How our parents react to one another affects us in our relationships when we are adults. He may have unresolved issues of this nature.
Have you tried talking with him about how his behavior hurts you? Is he interested in continuing your relationship and if so, is he willing to work on these problems? Usually, when someone criticizes like he does, they have issues of anger and insecurity. He will need to be open to working on those problems. Both of you can also work on communication. He needs to find better ways of discussing when he is bothered by something.
I highly recommend couples therapy. You can both benefit from learning new ways to communicate and he can work on the source of his behavior as well. You can ask your doctor for a referral or if you attend church, your pastor can help. Pastors are usually good at couples counseling so you might be able to get help at your church. Also, your local community mental health center may also be a good resource for help.
Here are a few good resources to help you. One is called Communication Miracles for Couples: Easy and Effective Tools to Create More Love and Less Conflict by Jonathan Robinson. Another is Why Can't You Read My Mind? Overcoming the 9 Toxic Thought Patterns that Get in the Way of a Loving Relationship by Jeffrey Bernstein and Susan Magee. Also, this website is very helpful with learning communication- http://www.5lovelanguages.com/.
I hope this has helped you,