howto use mixed case names for tables and columns db2 8.2

Hi;
I am transferring data from mysql to db2 using my own java/jdbc program. Working out ok, except for the fact that our apps use mixed-case names for tables and columns. Although my CREATE TABLE commands issued via jdbc uses mixed case for the names, db2 insists on using only upper case. (This also happens from the CLP or DB2CC, but my concern is for it to [also]work via jdbc.)

Is there a simple setting at the database level to allow mixed case?

How do I tell db2 NOT to uppercase my table and column names?

Thanks,
nat
LVL 1
natgrossAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sachinwadhwaCommented:
db2 by default change column & table names to uppercase unless you give " (quotes).

try

"db2admin"."myTable"

db2 is case insensitive (even if you specify quotes)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
natgrossAuthor Commented:
Can you please explain what you mean that it is case insensitive *even with quotes*.

Thanks
nat
sachinwadhwaCommented:
if you create table with "db2admin"."myTable"

you can still access with DB2ADMIN.MYTABLE or db2admin.mytable ....

although it will display it as db2admin.myTable in control center.
natgrossAuthor Commented:
How about the flip scenario?
If db2 has it as MYTABLE,
can I do a
      select * from "MyTable" ?
nat
natgrossAuthor Commented:
Anyhow, let me not hold back your earned points.

Thanks;
nat
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DB2

From novice to tech pro — start learning today.