Project

General

Profile

Revision c60cae60

IDc60cae60d50ebee983de4a4e3650da64e5b39bd1
Parent b137f4e3
Child 7920febf

Added by Andreas Müller over 1 year ago

ref #8118 fix compile error in SequenceTableCreator

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/update/v25_30/SequenceTableCreator.java
15 15

  
16 16
import org.apache.log4j.Logger;
17 17

  
18
import com.mysql.jdbc.exceptions.MySQLSyntaxErrorException;
19

  
20 18
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
21 19
import eu.etaxonomy.cdm.database.DatabaseTypeEnum;
22 20
import eu.etaxonomy.cdm.database.ICdmDataSource;
......
137 135
			try{
138 136
				String query = maxIdQuery.replace("@tableName", tableName);
139 137
				maxId = datasource.getSingleValue(query);
140
			}catch(MySQLSyntaxErrorException e){
138
			}catch(SQLException e){
141 139
				// table does not have a column id, so it is not an entity table
142 140
				maxId = null;
143 141
			}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)