File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes what is singleton? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what is singleton? " Watch "what is singleton? " New topic

what is singleton?

Vibhath jayasinghe

Joined: Feb 13, 2013
Posts: 1
Hi how to use singleton to send information through SQL in JDBC application?
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46349
Welcome to the Ranch
The simplest answer is: not at all. There are many places where you can find out about sending SQL information; here’s a good one.
fred rosenberger
lowercase baba

Joined: Oct 02, 2003
Posts: 11955

Any time someone asks "How do I use X to do Y", I want to SCREAM at the top of my lungs "STOP!!!"

Your question is like saying "How do I use a hammer to drill a 1.5cm hole in a wall?" Don't decide on the tool first and then figure out how to make it do what you need done.

Look at what you need to to - analyse it, write down some specs, consider end- and corner-cases...and THEN look in your toolbox for something that can help you do that. Or ask a master carpenter what would be a good tool to do the job.

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
I agree. Here's the link:
subject: what is singleton?
It's not a secret anymore!