INSERT INTO trusted_aim (id, certificate, host, spid, trusted, verify_signature, type) VALUES (NEXTVAL('hibernate_sequence'), PG_READ_BINARY_FILE('mypeig.aducid.com.crt'), 'tcp://mypeig.aducid.com:61616', 'mypeig.aducid.com', true, true, 'HOME_AIM');