The PostgreSQL docs say that "Temporary tables are automatically dropped at the end of a session, or optionally at the end of the current transaction." If I create a temporary table through a java.sql.Statement and then call close() on that Statement, will the temporary table be dropped? In other words, does a java.sql.Statement carry its own "session"? Thanks, Orhan
Orhan wrote: > The PostgreSQL docs say that "Temporary tables are automatically > dropped at the end of a session, or optionally at the end of the > current transaction." If I create a temporary table through a > java.sql.Statement and then call close() on that Statement, will the > temporary table be dropped? In other words, does a java.sql.Statement > carry its own "session"? A session is from connection to disconnect. -- Richard Huxton Archonet Ltd
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера