Skip to content

Commit

Permalink
Changing MySQLAccess query
Browse files Browse the repository at this point in the history
Attribute changed and this is catching up.
  • Loading branch information
clj13001 committed Feb 10, 2017
1 parent 97d5692 commit 9adfdea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .settings/oracle.eclipse.tools.webtier.ui.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_hiddenCategory_\:HTML=false
_hiddenCategory_\:ManagedBeans=false
_hiddenCategory_\:PageVariables=false
_hiddenCategory_\:jsp11=false
eclipse.preferences.version=1
1 change: 1 addition & 0 deletions bin/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/features/
/database/
2 changes: 1 addition & 1 deletion src/database/MySQLAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public void connectDB() throws SQLException, ClassNotFoundException {
while(resultSet.next()){
String deviceName = resultSet.getString("Device_Name");
String deviceDescription = resultSet.getString("Device_Description");
String hardwareType = resultSet.getString("Hardware_Type");
String hardwareType = resultSet.getString("Hardware_Model");

for(int i = 0; i<1; i++){
result[i][0] = deviceName;
Expand Down

0 comments on commit 9adfdea

Please sign in to comment.