I have used in my java DAO class which contains Space in between LANG PREF
@Column(name = "LANG PREF")
private String langprefid;
Once my java class runs, I am getting
org.hibernate.exception.SQLGrammarException: Incorrect syntax near the keyword 'as'.
Can anyone help me regarding this problem?