java - How to insert a outlook mail msg as an element in a row in PostgresSQL -
i need develop system in requester upload outlook *.msg file having approval request. how can save(insert) *.msg file in postgresql row of approval table. business logic developed in java.
you should store email messages bytea fields, because might in text encoding. would:
create
bytearrayinputstreampoints message file; anduse jdbc parameterized
insertorupdate, inserting datapreparedstatement.setbinarystream(...)byteafield.
see:
Comments
Post a Comment