title: ERROR: 22001: value too long for type character varying(255)
body: <p>there! I am using PostgreSQL + NHibernate. I have 4 fields in mapping file:</p>
  
  <pre><code>&lt;property name="Name" not-null="false" type="String"/&gt;
  &lt;property name="Include" not-null="false" type="String"/&gt;
  &lt;property name="Exclude" not-null="false" type="String"/&gt;
  </code></pre>
  
  <p>When I compile the code there are many insertions queries into the DB. PostgreSQL gives me this error </p>
  
  <blockquote>
    <p>"ERROR: 22001: value too long for type character varying(255)"</p>
  </blockquote>
  
  <p>I know there is "text" type in the PostgreSQL capabilities of storing data. How could I make NHibernate provide my fields with "text"-type?</p>