spring-data-mybatis icon indicating copy to clipboard operation
spring-data-mybatis copied to clipboard

@JoinColumn does not escape column name

Open kopax opened this issue 8 years ago • 0 comments
trafficstars

I am using capital case for our table names and column names.

I had to write this in order to get the proper query value:

@JoinTable(
	name = "LINK_MANAGER_ROLE",
	joinColumns = @JoinColumn(name = "\"MANAGER_ID\"", referencedColumnName = "ID"),
	inverseJoinColumns = @JoinColumn(name = "\"MANAGER_ID\"", referencedColumnName = "ID")
)

kopax avatar Sep 16 '17 10:09 kopax