Specifying columns that properties in beans map to

The @Column annotation specifies the SQL column that maps to a property in a bean.

You can use this annotation only on public properties and public methods. If you use it anywhere else, pureQuery ignores it.

Read syntax diagramSkip visual syntax diagram
>>-@Column--(--name--=--name_of_column--+-------------------------+-><
                                        '-table--=--name_of_table-'   

To understand the conventions that are used in the syntax diagram, see How to read syntax diagrams.

You can use the @Column annotation for either of two reasons:


Feedback