A motor comprising: an annular stator attached in a housing ; a rotor that is disposed in the stator and is rotatably supported by the housing ; and a plurality of cross-sectionally rectangular permanent magnets embedded in a rotor core of the rotor and defining magnetic poles along a circumferential direction of the rotor core , wherein a cross-section of each permanent magnet comprises short sides, long sides and a diagonal, the rotor core comprises embedding holes in which the permanent magnets are respectively fitted, each embedding hole having two longitudinal ends and being in contact with lateral surfaces on the long sides of each of the permanent magnets , flux barriers are defined at both longitudinal ends of each embedding holes , the rotor core comprises supports , each of the supports being defined at each of the flux barriers and projecting toward one of two diagonally opposite positions of a respective permanent magnet , the said one of two diagonally opposite positions being on a corresponding one of short sides of the permanent magnet , each of the supports being in contact with the corresponding one of the short sides of each permanent magnet to support each of the permanent magnets , each of the embedding holes is formed with adhesive filling holes , which are each continuous in an axial direction of the rotor core and are each filled with an adhesive, on an opposite side of a corner of the permanent magnet with respect to the support, at each of the two diagonally opposite positions of the permanent magnets , the adhesive is filled in the adhesive filling holes to fix the long sides of the permanent magnets, and the flux barriers are not filled with the adhesive and define an oil path through which a cooling oil flows. an annular stator attached in a housing ; a rotor that is disposed in the stator and is rotatably supported by the housing ; and a plurality of cross-sectionally rectangular permanent magnets embedded in a rotor core of the rotor and defining magnetic poles along a circumferential direction of the rotor core , wherein a cross-section of each permanent magnet comprises short sides, long sides and a diagonal, the rotor core comprises embedding holes in which the permanent magnets are respectively fitted, each embedding hole having two longitudinal ends and being in contact with lateral surfaces on the long sides of each of the permanent magnets , flux barriers are defined at both longitudinal ends of each embedding holes , the rotor core comprises supports , each of the supports being defined at each of the flux barriers and projecting toward one of two diagonally opposite positions of a respective permanent magnet , the said one of two diagonally opposite positions being on a corresponding one of short sides of the permanent magnet , each of the supports being in contact with the corresponding one of the short sides of each permanent magnet to support each of the permanent magnets , each of the embedding holes is formed with adhesive filling holes , which are each continuous in an axial direction of the rotor core and are each filled with an adhesive, on an opposite side of a corner of the permanent magnet with respect to the support, at each of the two diagonally opposite positions of the permanent magnets , the adhesive is filled in the adhesive filling holes to fix the long sides of the permanent magnets, and the flux barriers are not filled with the adhesive and define an oil path through which a cooling oil flows. <EOS>