title: org.hibernate.MappingException:Repeated column in mapping for entity User
body: <p>There are other questions like this, but none of them helped me.</p>
  
  <p>I've got an external database with the table 'team' and the columns 'username' and 'password'.
  In my Grails-Project I want to map my User-class correctly:</p>
  
  <pre><code>class User {
  
       String username
       String passwordHash 
  
        static mapping={
           table 'team'
           version false
           passwordHash column: 'password' 
           id column: 'username'
        }
    }
  </code></pre>
  
  <p>I keep getting MappingException: Repeated column in mapping for entity: User column: username (should be mapped with insert="false" update="false").</p>
  
  <p>Any ideas?</p>