Skip to content

Commit

Permalink
for #66, switched from getColumn to getLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
mlbiam committed Jul 14, 2019
1 parent 5d71c5c commit 2ec97e9
Show file tree
Hide file tree
Showing 4 changed files with 610 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public boolean hasMore() throws LDAPException {
Iterator<String> it = interceptor.db2ldap.keySet().iterator();
ResultSetMetaData rsmd = rs.getMetaData();
for (int i=1,m=rsmd.getColumnCount();i<=m;i++) {
String dbField = rsmd.getColumnName(i);
String dbField = rsmd.getColumnLabel(i);
String ldapField = interceptor.db2ldap.get(dbField.toLowerCase());

if (ldapField == null) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sourceforge/myvd/server/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class Server {
static Logger logger;


public final static String VERSION = "1.0.6";
public final static String VERSION = "1.0.7";

String configFile;
Properties props;
Expand Down
Loading

0 comments on commit 2ec97e9

Please sign in to comment.