Click here to Skip to main content
15,899,825 members
Home / Discussions / Database
   

Database

 
GeneralRe: Get Just The Latest Pin
GenJerDan23-Feb-12 4:45
GenJerDan23-Feb-12 4:45 
GeneralRe: Get Just The Latest Pin
Chris Meech23-Feb-12 4:48
Chris Meech23-Feb-12 4:48 
GeneralRe: Get Just The Latest Pin
GenJerDan23-Feb-12 9:45
GenJerDan23-Feb-12 9:45 
AnswerRe: Get Just The Latest Pin
David Mujica23-Feb-12 5:15
David Mujica23-Feb-12 5:15 
QuestionOrder of tables in an Inner Join Pin
dbrenth22-Feb-12 3:25
dbrenth22-Feb-12 3:25 
AnswerRe: Order of tables in an Inner Join Pin
Shameel22-Feb-12 3:36
professionalShameel22-Feb-12 3:36 
Questiontrouble in connecting to Postgre SQL from web server. Pin
hellono121-Feb-12 20:43
hellono121-Feb-12 20:43 
AnswerRe: trouble in connecting to Postgre SQL from web server. Pin
Pete O'Hanlon22-Feb-12 2:50
mvePete O'Hanlon22-Feb-12 2:50 
Looking at your code, I can't help but think you're being hammered because you have static methods in a multi user system, and the code isn't thread safe. In other words, you have static variables (take a look at your connection variable), and you are opening and closing them without any form of synchronisation in place. In other words, you could have two users both "open" a connection at the same time, and then one finishes and closes the connection before the other one completes.

The easiest fix is to move the open and close logic into the other methods, rather than relying on member variables.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility


GeneralRe: trouble in connecting to Postgre SQL from web server. Pin
hellono122-Feb-12 4:05
hellono122-Feb-12 4:05 
AnswerRe: trouble in connecting to Postgre SQL from web server. Pin
Luc Pattyn22-Feb-12 2:56
sitebuilderLuc Pattyn22-Feb-12 2:56 
GeneralRe: trouble in connecting to Postgre SQL from web server. Pin
hellono122-Feb-12 4:06
hellono122-Feb-12 4:06 
Questiondesign a database Pin
messages19-Feb-12 5:06
messages19-Feb-12 5:06 
AnswerRe: design a database Pin
Eddy Vluggen19-Feb-12 5:39
professionalEddy Vluggen19-Feb-12 5:39 
GeneralRe: design a database Pin
Hamid_RT19-Feb-12 5:53
Hamid_RT19-Feb-12 5:53 
AnswerRe: design a database Pin
Eddy Vluggen19-Feb-12 6:09
professionalEddy Vluggen19-Feb-12 6:09 
AnswerRe: design a database Pin
Luc Pattyn19-Feb-12 6:55
sitebuilderLuc Pattyn19-Feb-12 6:55 
GeneralRe: design a database Pin
messages19-Feb-12 17:22
messages19-Feb-12 17:22 
AnswerRe: design a database Pin
Mycroft Holmes19-Feb-12 12:08
professionalMycroft Holmes19-Feb-12 12:08 
GeneralRe: design a database Pin
messages19-Feb-12 17:21
messages19-Feb-12 17:21 
GeneralRe: design a database Pin
Mycroft Holmes19-Feb-12 17:27
professionalMycroft Holmes19-Feb-12 17:27 
GeneralRe: design a database Pin
messages19-Feb-12 19:40
messages19-Feb-12 19:40 
GeneralRe: design a database Pin
Mycroft Holmes19-Feb-12 20:03
professionalMycroft Holmes19-Feb-12 20:03 
GeneralRe: design a database Pin
messages20-Feb-12 0:54
messages20-Feb-12 0:54 
GeneralRe: design a database Pin
Jörgen Andersson20-Feb-12 3:02
professionalJörgen Andersson20-Feb-12 3:02 
GeneralRe: design a database Pin
messages20-Feb-12 3:20
messages20-Feb-12 3:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.