"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
. All I did was change the Compiler Compliance Level to 1.7 and update that in the maven pom.diamond operator is not supported in source 1.6
Stuart Nightingale wrote:I guess my next task is to separate out the db connection to only pass the query. Would this be better as a new function below or another class?
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Stuart Nightingale wrote:All I did was change the Compiler Compliance Level to 1.7 and update that in the maven pom.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
THe one thing that I am concerned about is that the Map is still within the DAO. Is there any way in which I can do this within the index so that It doesnt matter what sql i pass to the DAO, I can do what I like within the index or if I make other files to use it?
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Stuart Nightingale wrote:THanks Kev for the awesome reply again!
Ok. So I have taken your advbice and moved from trying to make a general call of SQL and make seperate classes for each table I will need to use.
Stuart Nightingale wrote:
Within this table I want to send back more than 2 values so I added this:
Eclipse keeps complaining aboput it so I added this:
Stuart Nightingale wrote:
Eclipse always throws a wobbly when im trying to get rid of the static bit.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |