Molecular dynamics (MD) simulations allow determining internal flexibility of molecules at atomic level. Using ab initio Born-Oppenheimer molecular dynamics (BOMD), one can simulate in a reasonable time frame small systems with hundreds of atoms, usually in vacuum. With quantum mechanics/molecular mechanics (QM/MM) or full-atom molecular dynamics (FAMD), the influence of the environment can also be simulated. Here, we compare three types of MD calculations: ab initio BOMD, hybrid QM/MM, and classical FAMD. As a model system, we use a small antibiotic molecule, clindamycin, which is one of the lincosamide antibiotics. Clindamycin acquires two energetically stable forms and we investigated the transition between these two experimentally known conformers. We performed 60-ps BOMD simulations in vacuum, 50-ps QM/MM, and 100-ns FAMD in explicit water. The transition between two antibiotic conformers was observed using both BOMD and FAMD methods but was not noted in the QM/MM simulations.