Commits

tbrugz  committed ed34735

sqldump: MetaData updated for JDK 1.7 ; + SQLDump small changes

  • Participants
  • Parent commits 93bc49b

Comments (0)

Files changed (2)

File src/tbrugz/sqldump/SQLDump.java

 	static final String CONN_PROPS_PREFIX = "sqldump";
 	
 	//sqldump.properties
-	static final String PROP_SCHEMAGRAB_GRABCLASS = "sqldump.schemagrab.grabclass";
-	static final String PROP_SCHEMADUMP_DUMPCLASSES = "sqldump.schemadump.dumpclasses";
+	public static final String PROP_SCHEMAGRAB_GRABCLASS = "sqldump.schemagrab.grabclass";
+	public static final String PROP_SCHEMADUMP_DUMPCLASSES = "sqldump.schemadump.dumpclasses";
+	public static final String PROP_PROCESSINGCLASSES = "sqldump.processingclasses";
+
 	static final String PROP_DO_DELETEREGULARFILESDIR = "sqldump.deleteregularfilesfromdir";
-	static final String PROP_PROCESSINGCLASSES = "sqldump.processingclasses";
-	
 	public static final String PROP_DUMPSCHEMAPATTERN = "sqldump.dumpschemapattern";
 	
 	//properties files filenames

File src/tbrugz/sqldump/def/AbstractDatabaseMetaDataDecorator.java

 		return metadata.getFunctionColumns(catalog, schemaPattern,
 				functionNamePattern, columnNamePattern);
 	}
+
+	//since 1.7
+	@Override
+	public ResultSet getPseudoColumns(String catalog, String schemaPattern,
+			String tableNamePattern, String columnNamePattern)
+			throws SQLException {
+		return metadata.getPseudoColumns(catalog, schemaPattern, tableNamePattern, columnNamePattern);
+	}
+
+	//since 1.7
+	@Override
+	public boolean generatedKeyAlwaysReturned() throws SQLException {
+		return metadata.generatedKeyAlwaysReturned();
+	}
 	
 }