db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Sundberg" <Mikael.Sundb...@artificial-solutions.com>
Subject derby and jpa
Date Mon, 26 Jan 2009 08:38:27 GMT

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


View raw message