I have a java web project using hibernate to manage database operations. There are two SQLs executed in order: execute “CREATE TEMP temp_table…;” through hibernate native sql query. execute “COPY temp_table from SDTIN” through org.postgresql.copy.CopyManager to transmit a csv file into temp_table. My code: public boolean loadElectricFishData(Integer fileId, File eventfile, File samplefile) { Session session […]
The post How to indicate a session instance to Postgresql CopyManager appeared first on BlogoSfera.