oracle 表設計時列名同關鍵字衝突時 hibernate 怎么映射

oracle 表設計時列名同關鍵字衝突時 hibernate 如何映射?假如一個表中的列名是:level這個正好同oracle一關

oracle 表設計時列名同關鍵字衝突時 hibernate 如何映射

?

假如一個表中的列名是:level

這個正好同oracle一關鍵字相同,hibernate如何映射呢,以下是一種解決方式:

?

?

@Column(name = ""LEVEL"", unique = true, nullable = false, precision = 4, scale = 0)

public Long getLevel() {

return this.level;

}