File was renamed from xdgnjobs/ximple-spatialjob/src/main/java/com/ximple/eofms/jobs/OracleElementLogging.java |
| | |
| | | import com.ximple.io.dgn7.TextElement; |
| | | import com.ximple.io.dgn7.TextNodeElement; |
| | | |
| | | public class OracleElementLogging |
| | | public class OracleElementLogger |
| | | { |
| | | static Log logger = LogFactory.getLog(OracleElementLogging.class); |
| | | static Log logger = LogFactory.getLog(OracleElementLogger.class); |
| | | private static final String ELMOUTPATH = "elmout"; |
| | | private static final String TAB_IGDSSEED = "SD$IGDSSET_SEED"; |
| | | |
| | |
| | | private FileChannel fch = null; |
| | | private int logCount = 0; |
| | | |
| | | public OracleElementLogging(Connection connection) |
| | | public OracleElementLogger(Connection connection) |
| | | { |
| | | this.connection = connection; |
| | | } |
| | |
| | | |
| | | public void logElement(Element element, String currentSchema) |
| | | { |
| | | if (this.currentSchema.equalsIgnoreCase(currentSchema)) |
| | | if ((this.currentSchema == null) || |
| | | (!this.currentSchema.equalsIgnoreCase(currentSchema))) |
| | | { |
| | | schemaChanged = true; |
| | | this.currentSchema = currentSchema; |