Connection String

Hi There:

I am using netbeans on my projects I have been including conection string on my code, it makes it dificult when there are changes on the server,

Anyone has an Idea on how can I get the connection string from a .dat file, or how can I have a class with a connection string, and how do I use that class on other classes

Please Help

Comments

  • you could use a .properties file containing all your initial configurations.
  • Hi,
    You should use connection string at run time. I hope it will fix your problem. try
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories