File |
Line |
com\poscoict\glueframework\scheduling\store\GlueScheduledJobInfoLogger.java |
139 |
com\poscoict\glueframework\scheduling\store\GlueScheduledJobInfoLogger.java |
189 |
ResultSet rs = null;
try
{
con = DataSourceUtils.getConnection( this.dataSource );
ps = con.prepareStatement( loggingQueries.getInsertQuery() );
ps.setObject( 1, context.getScheduler().getSchedulerInstanceId() );
ps.setObject( 2, trigger.getKey().getName() );
ps.setObject( 3, trigger.getKey().getGroup() );
ps.setObject( 4, job.getKey().getName() );
ps.setObject( 5, job.getKey().getGroup() );
ps.setObject( 6, getBooleanFlag( trigger.isVolatile() ) );//trigger.mayFireAgain()
ps.setObject( 7, getBooleanFlag( job.isStateful() ) );//job.isConcurrentExectionDisallowed()
ps.setObject( 8, getBooleanFlag( job.requestsRecovery() ) );
ps.setObject( 9, "RUNNIG" ); |
File |
Line |
com\poscoict\glueframework\scheduling\store\GlueScheduledJobInfoLogger.java |
261 |
com\poscoict\glueframework\scheduling\store\GlueScheduledTaskDBLoggerImpl.java |
170 |
}
@Override
public void afterPropertiesSet() throws Exception
{
Assert.notNull( this.dataSource, "DataSource must be provided" );
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() ); |