How to tell Hibernate annotation @Column to be case-sensitive? By Admin
@Entity
@Table(name="ECM")
public class RelationshipDbo {
    ...
}

However, I'm facing a "table not found" error : the generated SQL has the table name in lowercase. I cannot change the database configuration to tell it to be case-insensitive.

I've also tried putting quotes like this :

@Table(name="`ECM`")

and this :

@Table(name="'ECM'")

Result : the quotes are added in the query, but the table name is still converted from uppercase to lowercase.

Technical information :


  •  Open
  •  27-07-2016
  •  0
  •  300

Answers ( 0 )

No Answer Found.