@Retention(value=RUNTIME) @Target(value=FIELD) @Documented public @interface Column
| 限定符和类型 | 可选元素和说明 |
|---|---|
boolean |
autoIncrement
If this column is AUTO_INCREMENT.
|
boolean |
noDefault
Is default value is available.
|
boolean |
nullable
If this column is nullable.
|
int |
precision
The number of significant digits.
|
boolean |
primary
If this column is primary key.
|
int |
scale
The number of digits after the decimal point.
|
long |
size
The string size.
|
String |
value
The mapping column.
|
public abstract String value
public abstract int scale
Copyright © 2019. All rights reserved.