I’m working on changing to JPA to talk to my database. But I seem to have encountered some problems.

My tables named similar to: “MyTable”  so I tell my JPA class that it belongs to “MyTable” but then it looks for MYTABLE and ofcourse it can’t find it.

When using SQL I have simply used “Select * from \”MyTable\”” to work around that problem. But in JPA that doesn’t seem to work either and it doesn’t feel like the correct way to do it either since then I bind my JPA to only be used with derby. Other databases seem to understand that “MyTable” is MyTable and not MYTABLE. Is there any way to work around this problem? Except for renaming the tables since that simply isn’t an option.