File |
Line |
com\poscoict\glueframework\scheduling\store\GlueScheduledJobInfoLogger.java |
299 |
com\poscoict\glueframework\scheduling\store\GlueScheduledTaskDBLoggerImpl.java |
208 |
}
@Override
public void afterPropertiesSet() throws Exception
{
String databaseProductName = dataSource.getConnection().getMetaData().getDatabaseProductName();
this.logger.debug( "Loaded JDBC Driver: {}", this.dataSource.getConnection().getMetaData().getDriverName() );
this.logger.debug( "Loaded JDBC Driver Version: {}", this.dataSource.getConnection().getMetaData().getDriverVersion() );
this.logger.debug( "DBMS Name: {}", this.dataSource.getConnection().getMetaData().getDatabaseProductName() );
this.logger.debug( "DBMS Version: {}", this.dataSource.getConnection().getMetaData().getDatabaseProductVersion() );
this.logger.debug( "DBMS URL: {}", this.dataSource.getConnection().getMetaData().getURL() ); |
File |
Line |
com\poscoict\glueframework\scheduling\store\GlueScheduledJobInfoLogger.java |
135 |
com\poscoict\glueframework\scheduling\store\GlueScheduledJobInfoLogger.java |
203 |
ResultSet rs = null;
try
{
con = this.dataSource.getConnection();
ps = con.prepareStatement( loggingQueries.getInsertQuery() );
ps.setObject( 1, context.getScheduler().getSchedulerInstanceId() );
ps.setObject( 2, trigger.getName() );
ps.setObject( 3, trigger.getGroup() );
ps.setObject( 4, job.getName() );
ps.setObject( 5, job.getGroup() );
ps.setObject( 6, getBooleanFlag( trigger.isVolatile() ) );
ps.setObject( 7, getBooleanFlag( job.isStateful() ) );
ps.setObject( 8, getBooleanFlag( job.requestsRecovery() ) );
ps.setObject( 9, "RUNNIG" ); |