0 Replies Latest reply on Nov 19, 2008 4:40 AM by Mikail Ahundov

    How to create text column in Postgres table

    Mikail Ahundov Newbie

      Hi!


      I need to create table in Postgres with text type column. Name of column - data.


      In code i try this


      private String data;


      - get varchar type in postgres


      private byte[] data;


      - get bytea type


      What type i must give to data in Java code to get text type column in Postgres?


      If it can be made only by mapping, then can you give me a simple example of mapping of table in Seam? May be a link for such example?


      Thank you very much!!!!