Adhesive for PVC-glass in a high temp situation
I think making a strong, lasting bond between glass and PVC is actually very difficult.  With the temperature changes, you need something that will be flexible / elastic enough to tolerate the uneven expansion of PVC and glass.  It will have to make a vapor tight seal that holds up under pressure, and stands up to the mechanical stress involved.  There may be specialty adhesives available for industrial use that would work, but it will not be easy to find.  

I think you'll have more luck if you look for a fitting that makes a seal through the lid, with silicone gaskets / o rings you should be able to make a satisfactory lid, but it will be fragile, glass isn't ideal.  If you could find something with a lid that isn't glass, everything will get much easier.