2-Prong Pendant Light into Ceiling Installation

Hi, I would like to install an Ikea pendant light into my prewired ceiling (has 3 wires).
The problem I'm having is that the pendant light has a 2-prong plug (no ground). My plan is to cut off the plug, and attach the 2 wires to the 2 wires in the ceiling. But will I get in trouble with building codes because I didnt use the ground wire? If I have to use the ground wire, how would I do that?
Heres my diagram..
http://www.geocities.com/codesampler/diy/pendantinstall.gif (You may have to cut-n-paste the link if it doesnt work)
Thanks for your help! g00ber Collegeville, PA
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file

HomeOwnersHub.com is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.