Provided is a compound represented by general formula (I) and having an excellent GPR119 agonistic activity, or a pharmaceutically acceptable salt thereof. [In general formula (I), m1 represents an integer of 0-2 m2 represents an integer of 1-2 the ring represented by A represents a benzene ring or a 6-membered heteroaromatic ring X represents -O- or -NR3- and Y represents a C1-6 alkanediyl.]本發明係提供具有優異的GPR119致效劑作用之化合物。具體上係提供下述一般式(I)所表示的化合物或其製藥學上所容許之鹽。[上述一般式(I)中,m1為0~2之整數,m2為1~2之整數,A所表示的環為苯環或6員之雜芳香環,R11、R12及R13,相同或相異,表示由取代基群Z1所選出之基,X為-O-或-NR3-,R3為氫原子或C1-4烷基,Y為C1-6烷烴二基,R2為(a)C1-6烷基、鹵C1-6烷基或者C3-8環烷基、(b)-COOR21(R21為C1-6烷基、鹵C1-6烷基或C3-8環烷基。)、(c)下述式(β)所表示的5或6員之雜芳基、(d)C1-6烷基磺醯基或者C3-8環烷基磺醯基、(e)C1-6烷基羰基或者C3-8環烷基羰基或(f)C1-6烷基胺基羰基。]