Wrong. Dead wrong.
Officers who leave the service received discharges with "HONORABLE" on them unless they resigned in disgrace (OTHER THAN HONORABLE) or as a result of court martial (DISHONORABLE).
You are correct. Everyone who separates from Active Duty (officers, warrant officers and enlisted) all get a DD214 on separate for whatever reason--retirement, discharge, resignation, etc.
The DD214 serves two principle purposes -- Characterizes your services; Provide the Veterans Administration with information about your service that determines what benefits, if any, you are entitled too.
The key to determining the exact reason for issuance of the DD214 is a 3 digit alpha-numeric separation program number (SPN) code.
For instance: SPN 238 - Service retirement in lieu of other administrative action
Check here for numbers and definitions: