• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SQL error codes for 'PostgreSQL' found

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I have created a connection for Postgres as below:


But i got an errror:


I don't know why Database product name cached for DataSource [org.springframework.jdbc.datasource.DriverManagerDataSource@acb158]: name is 'PostgreSQL'. My expected result is "library"

Thank you,

Tien Nguyen
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I think you might read your error message wrongly.

The actual error is : The column name borrowedby was not found in this ResultSet.
 
Tien Nguyen Doan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Kuba Zygmunt:
I have read error carefully. But I don't understand why I cannot connect to "library" db in order to retrieve all records (select * from book). Data source is cached.
 
reply
    Bookmark Topic Watch Topic
  • New Topic