|
javalove (m)
|
Hi all
Meeennn i need u guys help oooo. I v just finished a desktop app and it needs to be deployed ASAP. Its a network app.
Here is me probs.
When i create my table in Mysql, it saves the names as lower case even when i use upper case. My app connects to it well on local host but when its on the network, it gives me errors.
My question,
Is there a way I can make my table names save as uppercase or mixed case on windows in mysql?
|
|
|
|
|
|
logica
|
dude just change the names in your code to lower-case. that's about the only way 2 handle it.
|
|
|
|
|
|
javalove (m)
|
well i guess dats d only option for me, my won don finish, d code plenty oooooo
dats wai its gud to work in a team,
tnx man.
|
|
|
|
|
|
logica
|
no. that's why u declare constants such as names of database tables as global strings. u usually do this by having an interface which you can call "Constants" for instance. then u declare each table name like this:
public static final String TBL_NAME_1 = "table_name_1";
that way u only change the name of the table in exactly 1 location if there is a need 2 make a change.
that's good design. shikena.
|
|
|
|
|
|
javalove (m)
|
tnx man, funny enuf dats aw i do other stuffs ooo but neva done it for table names cos dis is d first time m facing dis probs,
tnx man
|
|
|
|
|
|
japro
|
This is off topic but Thank goodness, i 've seen your post in nairaland n naijadukes. Iam a newbie , i could not register my self @ naijaduke pls help me on that and i need your asistance on JAVA CODING and software enginering. What i know how to do now is print ''WELCOME TO JAVA PROGRAMMING'' in comand window.pls i need your guildiance javalove. My mail is morexwell@hotmail.com.08052724800. Thanks.
|
|
|
|
|
|
javaprince (m)
|
This is off topic but Thank goodness, i 've seen your post in nairaland n naijadukes. Iam a newbie , i could not register my self @ naijaduke please help me on that and i need your asistance on JAVA CODING and software enginering. What i know how to do now is print ''WELCOME TO JAVA PROGRAMMING'' in comand window.please i need your guildiance javalove. My mail is morexwell@hotmail.com.08052724800. Thanks. A good start  .
|
|
|
|
|
|