Compounds of Formula (I) and pharmaceutically acceptable salts thereof in which X1, X2, L, R3, R4, R5, R7 and n have the meanings given in the specification, are modulators of GPR119 and are useful in the treatment or prevention of diseases such as such as, but not limited to, type 2 diabetes, diabetic complications, symptoms of diabetes, metabolic syndrome, obesity, dyslipidemia, and related conditions.式(I)の化合物及びその薬学的に許容される塩(ここで、X1、X2、L、R3、R4、R5、R7及びnは、明細書に提示された意味を有する)は、GPR119のモジュレーターであり、2型糖尿病、糖尿病合併症、糖尿病の症状、代謝症候群、肥満、脂肪異常症及び関連する状態などであるが、これらに限定されない疾患の治療又は予防に有用である。本発明の別の態様において、式Iの化合物及び薬学的に許容される担体、希釈剤又は賦形剤を含む医薬組成物が提供される。