Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

queryForList

 
lavanya Ananth
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using a method queryForList method in the package org.springframework.jdbc.core.JdbcTemplate. When i try to import this package, it gives me an error that import cannot be resolved.

Can someone tell me how to resolve this error? Thanks for ur time and help.

Thanks Again,
Lavanya
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whatever jar the Spring framework uses is not in your classpath.
 
lavanya Ananth
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks ! I just had one more question. I am using this Jdbd template for the first time. Just wanted to know whether it is efficient in terms of performance and also whether it is reliable.

Thanks
Lavanya
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not familiar with it. A more specific question about performance would be helpful. Use JAMon and measure its performance yourself is also easy. In general I find that most performance problems aren't really java code, but database queries, network IO, and disk IO (i.e. IO)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic