If you book directly on the JAL site you'll notice the middle name field isn't required but if you do use your middle name in the reservation no matter where you book it, you can only reference your reservation on the site by typing in your first and middle names run together, no space, in the first name field. Otherwise won't recognize you.