Never confuse education with intelligence, you can have a PhD and still be an idiot.
- Richard Feynman -



File:Column names and JDBC.pdf

From Juneday education
Jump to: navigation, search
Column_names_and_JDBC.pdf(file size: 77 KB, MIME type: application/pdf)

Lecture about what to do when two columns have the same name. Refers to the Exposing data lab3 where this situation occurs since there is a "name" column in both the product and productgroup tables.

The problem occurs when getting the value of "name" from the ResultSet - we can't use getString("name") since the resultset will choose one of the two columns with that name (the first one it finds according to the specification).

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current12:59, 16 March 2018 (77 KB)Rikard (Talk | contribs)Lecture about what to do when two columns have the same name. Refers to the Exposing data lab3 where this situation occurs since there is a "<code>name</code>" column in both the <code>product</code> and <code>productgroup</code> tables. The problem o...
  • You cannot overwrite this file.