Java .class files can be decompiled fairly easily. How can I protect my database if I have to use the login data in the code?

Edit
Report