Wood glues come in two distinct varieties: Type 1 and Type 2.  The former is waterproof, while the latter offers water-resistant protection. Both can also sustain a moderate amount of heat without breaking down.