You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2019/07/11 19:25:32 UTC

[GitHub] [commons-dbutils] rewerma opened a new pull request #9: Add a annotation Column for mapping

rewerma opened a new pull request #9: Add a annotation Column for mapping
URL: https://github.com/apache/commons-dbutils/pull/9
 
 
   Add a annotation 'Column' for mapping, use it like this:
   ```
   public class User {
       ......    
       private Date creationDate;
   
       @Column(name = "creation_date")
       public Date getCreationDate() {
           return creationDate;
       }
   
       public void setCreationDate(Date creationDate) {
           this.creationDate = creationDate;
       }
       ......
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services