<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for REVERT TO CONSOLE</title>
	<atom:link href="http://www.reverttoconsole.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reverttoconsole.com</link>
	<description>for f in *;do echo &#124; sed &#039;i\rtc&#039; &#62;&#62; $f;done; java programming et al</description>
	<lastBuildDate>Thu, 19 Jan 2012 04:32:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>Comment on Mock Unit Testing Services and Daos with Mockito and Spring 3 by Priyatam</title>
		<link>http://www.reverttoconsole.com/blog/spring/mock-unit-testing-services-and-daos-with-mockito-and-spring-3/comment-page-1/#comment-54281</link>
		<dc:creator>Priyatam</dc:creator>
		<pubDate>Thu, 19 Jan 2012 04:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.reverttoconsole.com/?p=984#comment-54281</guid>
		<description>@DAVID - Spring comes into play via the @Service annotations and/or @Inject/@Transactional. Not sure what in Spring you would want to mock; the approach, though, is similar.</description>
		<content:encoded><![CDATA[<p>@DAVID &#8211; Spring comes into play via the @Service annotations and/or @Inject/@Transactional. Not sure what in Spring you would want to mock; the approach, though, is similar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mock Unit Testing Services and Daos with Mockito and Spring 3 by David Hilton</title>
		<link>http://www.reverttoconsole.com/blog/spring/mock-unit-testing-services-and-daos-with-mockito-and-spring-3/comment-page-1/#comment-54270</link>
		<dc:creator>David Hilton</dc:creator>
		<pubDate>Wed, 18 Jan 2012 20:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.reverttoconsole.com/?p=984#comment-54270</guid>
		<description>A great example. 

I agree with your comments about other examples using lists since they didn&#039;t reflect Martin Fowler&#039;s discussion about the &#039;subject under test&#039; as distinct the collaborator (http://martinfowler.com/articles/mocksArentStubs.html), in list examples I think they have collapsed the &#039;subject under test&#039; and collaborator together as one in order to showcase mockito easier but this cause confusion about the right technique when mocking. 

I am not sure where Spring is coming in here, that&#039;s why I was looking at your article in the first place(google, &quot;Spring and Mockito&quot;), your example is a straight Mockito test i.e. there is no Spring dependency injection (maybe I have the wrong end of the stick?)

None the less, a good Mockito example.</description>
		<content:encoded><![CDATA[<p>A great example. </p>
<p>I agree with your comments about other examples using lists since they didn&#8217;t reflect Martin Fowler&#8217;s discussion about the &#8216;subject under test&#8217; as distinct the collaborator (<a href="http://martinfowler.com/articles/mocksArentStubs.html" rel="nofollow">http://martinfowler.com/articles/mocksArentStubs.html</a>), in list examples I think they have collapsed the &#8216;subject under test&#8217; and collaborator together as one in order to showcase mockito easier but this cause confusion about the right technique when mocking. </p>
<p>I am not sure where Spring is coming in here, that&#8217;s why I was looking at your article in the first place(google, &#8220;Spring and Mockito&#8221;), your example is a straight Mockito test i.e. there is no Spring dependency injection (maybe I have the wrong end of the stick?)</p>
<p>None the less, a good Mockito example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mock Unit Testing Services and Daos with Mockito and Spring 3 by Ajinkya</title>
		<link>http://www.reverttoconsole.com/blog/spring/mock-unit-testing-services-and-daos-with-mockito-and-spring-3/comment-page-1/#comment-53198</link>
		<dc:creator>Ajinkya</dc:creator>
		<pubDate>Fri, 23 Dec 2011 12:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.reverttoconsole.com/?p=984#comment-53198</guid>
		<description>Best and easy example so far :) 
Keep the good work up!</description>
		<content:encoded><![CDATA[<p>Best and easy example so far <img src='http://www.reverttoconsole.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Keep the good work up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Logout Filter handler in Spring 3 by avinash</title>
		<link>http://www.reverttoconsole.com/blog/spring/custom-logout-filter-handler-in-spring-3/comment-page-1/#comment-52943</link>
		<dc:creator>avinash</dc:creator>
		<pubDate>Sat, 17 Dec 2011 07:56:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.reverttoconsole.com/?p=668#comment-52943</guid>
		<description>please tell me how to call the filter</description>
		<content:encoded><![CDATA[<p>please tell me how to call the filter</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Logout Filter handler in Spring 3 by avinash</title>
		<link>http://www.reverttoconsole.com/blog/spring/custom-logout-filter-handler-in-spring-3/comment-page-1/#comment-52942</link>
		<dc:creator>avinash</dc:creator>
		<pubDate>Sat, 17 Dec 2011 07:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.reverttoconsole.com/?p=668#comment-52942</guid>
		<description>hi,
i have a Tag file &quot;head.tag&quot; in that i want to implement the &quot;logout&quot; functionality in spring. . Now i want to call the default &quot;logoutfilter&quot;  provided by spring. As i am new to spring i am not able to map that in my &quot;Web.xml&quot; and &quot;spring-security-config.xml&quot; .
So please help me with Filter mapping as i want to redirect to my login page after success. please tell me the process.</description>
		<content:encoded><![CDATA[<p>hi,<br />
i have a Tag file &#8220;head.tag&#8221; in that i want to implement the &#8220;logout&#8221; functionality in spring. . Now i want to call the default &#8220;logoutfilter&#8221;  provided by spring. As i am new to spring i am not able to map that in my &#8220;Web.xml&#8221; and &#8220;spring-security-config.xml&#8221; .<br />
So please help me with Filter mapping as i want to redirect to my login page after success. please tell me the process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spring Security 3 Unit Testing Example with DbUnit by Sasya Y</title>
		<link>http://www.reverttoconsole.com/blog/spring/spring-security-3-unit-testing-example-with-dbunit/comment-page-1/#comment-51539</link>
		<dc:creator>Sasya Y</dc:creator>
		<pubDate>Sat, 12 Nov 2011 10:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.reverttoconsole.com/?p=701#comment-51539</guid>
		<description>I am trying to write unit tests for @PreAuthorize. Please let me what configurations should be specified in my xml file other than the test xml that you have specified in the above example. Though we have specified authorities in the xml file when will this be loaded. 

I tried the above example but it is not working for me.</description>
		<content:encoded><![CDATA[<p>I am trying to write unit tests for @PreAuthorize. Please let me what configurations should be specified in my xml file other than the test xml that you have specified in the above example. Though we have specified authorities in the xml file when will this be loaded. </p>
<p>I tried the above example but it is not working for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mock Unit Testing Services and Daos with Mockito and Spring 3 by Taran Singh</title>
		<link>http://www.reverttoconsole.com/blog/spring/mock-unit-testing-services-and-daos-with-mockito-and-spring-3/comment-page-1/#comment-51233</link>
		<dc:creator>Taran Singh</dc:creator>
		<pubDate>Thu, 03 Nov 2011 16:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.reverttoconsole.com/?p=984#comment-51233</guid>
		<description>Gr8 article and I def. I agree the annoying foo/bar doesn&#039;t give anything solid especially when you run into errors :(

TestData.createTestProfile(&quot;userid&quot;); Here still we are incurring some manual labour to create a class and method to return us a profile and to me it looks like not mocking completely, but may be in future what I would like to have is that you just specify the data somehow and get the object created. Thanks</description>
		<content:encoded><![CDATA[<p>Gr8 article and I def. I agree the annoying foo/bar doesn&#8217;t give anything solid especially when you run into errors <img src='http://www.reverttoconsole.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>TestData.createTestProfile(&#8220;userid&#8221;); Here still we are incurring some manual labour to create a class and method to return us a profile and to me it looks like not mocking completely, but may be in future what I would like to have is that you just specify the data somehow and get the object created. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Clustering Quartz Jobs in Spring by Abhinav Kumar</title>
		<link>http://www.reverttoconsole.com/blog/spring/clustering-quartz-jobs-in-spring/comment-page-1/#comment-51158</link>
		<dc:creator>Abhinav Kumar</dc:creator>
		<pubDate>Sun, 30 Oct 2011 09:55:57 +0000</pubDate>
		<guid isPermaLink="false">http://reverttoconsole.com/archives/38#comment-51158</guid>
		<description>http://packtlib.packtpub.com/library/9781847191526/ch06lvl1sec05 use full link with quartz-Oracle.jar uses.</description>
		<content:encoded><![CDATA[<p><a href="http://packtlib.packtpub.com/library/9781847191526/ch06lvl1sec05" rel="nofollow">http://packtlib.packtpub.com/library/9781847191526/ch06lvl1sec05</a> use full link with quartz-Oracle.jar uses.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Clustering Quartz Jobs in Spring by Abhinav Kumar</title>
		<link>http://www.reverttoconsole.com/blog/spring/clustering-quartz-jobs-in-spring/comment-page-1/#comment-51155</link>
		<dc:creator>Abhinav Kumar</dc:creator>
		<pubDate>Sun, 30 Oct 2011 09:18:41 +0000</pubDate>
		<guid isPermaLink="false">http://reverttoconsole.com/archives/38#comment-51155</guid>
		<description>Entries for Oracle in the DB</description>
		<content:encoded><![CDATA[<p>Entries for Oracle in the DB</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Clustering Quartz Jobs in Spring by Abhinav Kumar</title>
		<link>http://www.reverttoconsole.com/blog/spring/clustering-quartz-jobs-in-spring/comment-page-1/#comment-51154</link>
		<dc:creator>Abhinav Kumar</dc:creator>
		<pubDate>Sun, 30 Oct 2011 09:18:05 +0000</pubDate>
		<guid isPermaLink="false">http://reverttoconsole.com/archives/38#comment-51154</guid>
		<description>--
-- A hint submitted by a user: Oracle DB MUST be created as &quot;shared&quot; and the 
-- job_queue_processes parameter  must be greater than 2, otherwise a DB lock 
-- will happen.   However, these settings are pretty much standard after any
-- Oracle install, so most users need not worry about this.
--
-- Many other users (including the primary author of Quartz) have had success
-- runing in dedicated mode, so only consider the above as a hint ;-)
--

delete from qrtz_fired_triggers;
delete from qrtz_simple_triggers;
delete from qrtz_simprop_triggers;
delete from qrtz_cron_triggers;
delete from qrtz_blob_triggers;
delete from qrtz_triggers;
delete from qrtz_job_details;
delete from qrtz_calendars;
delete from qrtz_paused_trigger_grps;
delete from qrtz_locks;
delete from qrtz_scheduler_state;

drop table qrtz_calendars;
drop table qrtz_fired_triggers;
drop table qrtz_blob_triggers;
drop table qrtz_cron_triggers;
drop table qrtz_simple_triggers;
drop table qrtz_simprop_triggers;
drop table qrtz_triggers;
drop table qrtz_job_details;
drop table qrtz_paused_trigger_grps;
drop table qrtz_locks;
drop table qrtz_scheduler_state;


CREATE TABLE qrtz_job_details
  (
    SCHED_NAME VARCHAR(120) NOT NULL,
    JOB_NAME  VARCHAR2(200) NOT NULL,
    JOB_GROUP VARCHAR2(200) NOT NULL,
    DESCRIPTION VARCHAR2(250) NULL,
    JOB_CLASS_NAME   VARCHAR2(250) NOT NULL, 
    IS_DURABLE VARCHAR2(1) NOT NULL,
    IS_NONCONCURRENT VARCHAR2(1) NOT NULL,
    IS_UPDATE_DATA VARCHAR2(1) NOT NULL,
    REQUESTS_RECOVERY VARCHAR2(1) NOT NULL,
    JOB_DATA BLOB NULL,
    PRIMARY KEY (SCHED_NAME,JOB_NAME,JOB_GROUP)
);
CREATE TABLE qrtz_triggers
  (
    SCHED_NAME VARCHAR(120) NOT NULL,
    TRIGGER_NAME VARCHAR2(200) NOT NULL,
    TRIGGER_GROUP VARCHAR2(200) NOT NULL,
    JOB_NAME  VARCHAR2(200) NOT NULL, 
    JOB_GROUP VARCHAR2(200) NOT NULL,
    DESCRIPTION VARCHAR2(250) NULL,
    NEXT_FIRE_TIME NUMBER(13) NULL,
    PREV_FIRE_TIME NUMBER(13) NULL,
    PRIORITY NUMBER(13) NULL,
    TRIGGER_STATE VARCHAR2(16) NOT NULL,
    TRIGGER_TYPE VARCHAR2(8) NOT NULL,
    START_TIME NUMBER(13) NOT NULL,
    END_TIME NUMBER(13) NULL,
    CALENDAR_NAME VARCHAR2(200) NULL,
    MISFIRE_INSTR NUMBER(2) NULL,
    JOB_DATA BLOB NULL,
    PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP),
    FOREIGN KEY (SCHED_NAME,JOB_NAME,JOB_GROUP) 
	REFERENCES QRTZ_JOB_DETAILS(SCHED_NAME,JOB_NAME,JOB_GROUP) 
);
CREATE TABLE qrtz_simple_triggers
  (
    SCHED_NAME VARCHAR(120) NOT NULL,
    TRIGGER_NAME VARCHAR2(200) NOT NULL,
    TRIGGER_GROUP VARCHAR2(200) NOT NULL,
    REPEAT_COUNT NUMBER(7) NOT NULL,
    REPEAT_INTERVAL NUMBER(12) NOT NULL,
    TIMES_TRIGGERED NUMBER(10) NOT NULL,
    PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP),
    FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) 
	REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)
);
CREATE TABLE qrtz_cron_triggers
  (
    SCHED_NAME VARCHAR(120) NOT NULL,
    TRIGGER_NAME VARCHAR2(200) NOT NULL,
    TRIGGER_GROUP VARCHAR2(200) NOT NULL,
    CRON_EXPRESSION VARCHAR2(120) NOT NULL,
    TIME_ZONE_ID VARCHAR2(80),
    PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP),
    FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) 
	REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)
);
CREATE TABLE qrtz_simprop_triggers
  (          
    SCHED_NAME VARCHAR(120) NOT NULL,
    TRIGGER_NAME VARCHAR(200) NOT NULL,
    TRIGGER_GROUP VARCHAR(200) NOT NULL,
    STR_PROP_1 VARCHAR(512) NULL,
    STR_PROP_2 VARCHAR(512) NULL,
    STR_PROP_3 VARCHAR(512) NULL,
    INT_PROP_1 NUMBER(10) NULL,
    INT_PROP_2 NUMBER(10) NULL,
    LONG_PROP_1 NUMBER(13) NULL,
    LONG_PROP_2 NUMBER(13) NULL,
    DEC_PROP_1 NUMERIC(13,4) NULL,
    DEC_PROP_2 NUMERIC(13,4) NULL,
    BOOL_PROP_1 VARCHAR(1) NULL,
    BOOL_PROP_2 VARCHAR(1) NULL,
    PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP),
    FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) 
    REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)
);
CREATE TABLE qrtz_blob_triggers
  (
    SCHED_NAME VARCHAR(120) NOT NULL,
    TRIGGER_NAME VARCHAR2(200) NOT NULL,
    TRIGGER_GROUP VARCHAR2(200) NOT NULL,
    BLOB_DATA BLOB NULL,
    PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP),
    FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) 
        REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)
);
CREATE TABLE qrtz_calendars
  (
    SCHED_NAME VARCHAR(120) NOT NULL,
    CALENDAR_NAME  VARCHAR2(200) NOT NULL, 
    CALENDAR BLOB NOT NULL,
    PRIMARY KEY (SCHED_NAME,CALENDAR_NAME)
);
CREATE TABLE qrtz_paused_trigger_grps
  (
    SCHED_NAME VARCHAR(120) NOT NULL,
    TRIGGER_GROUP  VARCHAR2(200) NOT NULL, 
    PRIMARY KEY (SCHED_NAME,TRIGGER_GROUP)
);
CREATE TABLE qrtz_fired_triggers 
  (
    SCHED_NAME VARCHAR(120) NOT NULL,
    ENTRY_ID VARCHAR2(95) NOT NULL,
    TRIGGER_NAME VARCHAR2(200) NOT NULL,
    TRIGGER_GROUP VARCHAR2(200) NOT NULL,
    INSTANCE_NAME VARCHAR2(200) NOT NULL,
    FIRED_TIME NUMBER(13) NOT NULL,
    PRIORITY NUMBER(13) NOT NULL,
    STATE VARCHAR2(16) NOT NULL,
    JOB_NAME VARCHAR2(200) NULL,
    JOB_GROUP VARCHAR2(200) NULL,
    IS_NONCONCURRENT VARCHAR2(1) NULL,
    REQUESTS_RECOVERY VARCHAR2(1) NULL,
    PRIMARY KEY (SCHED_NAME,ENTRY_ID)
);
CREATE TABLE qrtz_scheduler_state 
  (
    SCHED_NAME VARCHAR(120) NOT NULL,
    INSTANCE_NAME VARCHAR2(200) NOT NULL,
    LAST_CHECKIN_TIME NUMBER(13) NOT NULL,
    CHECKIN_INTERVAL NUMBER(13) NOT NULL,
    PRIMARY KEY (SCHED_NAME,INSTANCE_NAME)
);
CREATE TABLE qrtz_locks
  (
    SCHED_NAME VARCHAR(120) NOT NULL,
    LOCK_NAME  VARCHAR2(40) NOT NULL, 
    PRIMARY KEY (SCHED_NAME,LOCK_NAME)
);

create index idx_qrtz_j_req_recovery on qrtz_job_details(SCHED_NAME,REQUESTS_RECOVERY);
create index idx_qrtz_j_grp on qrtz_job_details(SCHED_NAME,JOB_GROUP);

create index idx_qrtz_t_j on qrtz_triggers(SCHED_NAME,JOB_NAME,JOB_GROUP);
create index idx_qrtz_t_jg on qrtz_triggers(SCHED_NAME,JOB_GROUP);
create index idx_qrtz_t_c on qrtz_triggers(SCHED_NAME,CALENDAR_NAME);
create index idx_qrtz_t_g on qrtz_triggers(SCHED_NAME,TRIGGER_GROUP);
create index idx_qrtz_t_state on qrtz_triggers(SCHED_NAME,TRIGGER_STATE);
create index idx_qrtz_t_n_state on qrtz_triggers(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP,TRIGGER_STATE);
create index idx_qrtz_t_n_g_state on qrtz_triggers(SCHED_NAME,TRIGGER_GROUP,TRIGGER_STATE);
create index idx_qrtz_t_next_fire_time on qrtz_triggers(SCHED_NAME,NEXT_FIRE_TIME);
create index idx_qrtz_t_nft_st on qrtz_triggers(SCHED_NAME,TRIGGER_STATE,NEXT_FIRE_TIME);
create index idx_qrtz_t_nft_misfire on qrtz_triggers(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME);
create index idx_qrtz_t_nft_st_misfire on qrtz_triggers(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME,TRIGGER_STATE);
create index idx_qrtz_t_nft_st_misfire_grp on qrtz_triggers(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME,TRIGGER_GROUP,TRIGGER_STATE);

create index idx_qrtz_ft_trig_inst_name on qrtz_fired_triggers(SCHED_NAME,INSTANCE_NAME);
create index idx_qrtz_ft_inst_job_req_rcvry on qrtz_fired_triggers(SCHED_NAME,INSTANCE_NAME,REQUESTS_RECOVERY);
create index idx_qrtz_ft_j_g on qrtz_fired_triggers(SCHED_NAME,JOB_NAME,JOB_GROUP);
create index idx_qrtz_ft_jg on qrtz_fired_triggers(SCHED_NAME,JOB_GROUP);
create index idx_qrtz_ft_t_g on qrtz_fired_triggers(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP);
create index idx_qrtz_ft_tg on qrtz_fired_triggers(SCHED_NAME,TRIGGER_GROUP);


commit;</description>
		<content:encoded><![CDATA[<p>&#8211;<br />
&#8211; A hint submitted by a user: Oracle DB MUST be created as &#8220;shared&#8221; and the<br />
&#8211; job_queue_processes parameter  must be greater than 2, otherwise a DB lock<br />
&#8211; will happen.   However, these settings are pretty much standard after any<br />
&#8211; Oracle install, so most users need not worry about this.<br />
&#8211;<br />
&#8211; Many other users (including the primary author of Quartz) have had success<br />
&#8211; runing in dedicated mode, so only consider the above as a hint <img src='http://www.reverttoconsole.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
&#8211;</p>
<p>delete from qrtz_fired_triggers;<br />
delete from qrtz_simple_triggers;<br />
delete from qrtz_simprop_triggers;<br />
delete from qrtz_cron_triggers;<br />
delete from qrtz_blob_triggers;<br />
delete from qrtz_triggers;<br />
delete from qrtz_job_details;<br />
delete from qrtz_calendars;<br />
delete from qrtz_paused_trigger_grps;<br />
delete from qrtz_locks;<br />
delete from qrtz_scheduler_state;</p>
<p>drop table qrtz_calendars;<br />
drop table qrtz_fired_triggers;<br />
drop table qrtz_blob_triggers;<br />
drop table qrtz_cron_triggers;<br />
drop table qrtz_simple_triggers;<br />
drop table qrtz_simprop_triggers;<br />
drop table qrtz_triggers;<br />
drop table qrtz_job_details;<br />
drop table qrtz_paused_trigger_grps;<br />
drop table qrtz_locks;<br />
drop table qrtz_scheduler_state;</p>
<p>CREATE TABLE qrtz_job_details<br />
  (<br />
    SCHED_NAME VARCHAR(120) NOT NULL,<br />
    JOB_NAME  VARCHAR2(200) NOT NULL,<br />
    JOB_GROUP VARCHAR2(200) NOT NULL,<br />
    DESCRIPTION VARCHAR2(250) NULL,<br />
    JOB_CLASS_NAME   VARCHAR2(250) NOT NULL,<br />
    IS_DURABLE VARCHAR2(1) NOT NULL,<br />
    IS_NONCONCURRENT VARCHAR2(1) NOT NULL,<br />
    IS_UPDATE_DATA VARCHAR2(1) NOT NULL,<br />
    REQUESTS_RECOVERY VARCHAR2(1) NOT NULL,<br />
    JOB_DATA BLOB NULL,<br />
    PRIMARY KEY (SCHED_NAME,JOB_NAME,JOB_GROUP)<br />
);<br />
CREATE TABLE qrtz_triggers<br />
  (<br />
    SCHED_NAME VARCHAR(120) NOT NULL,<br />
    TRIGGER_NAME VARCHAR2(200) NOT NULL,<br />
    TRIGGER_GROUP VARCHAR2(200) NOT NULL,<br />
    JOB_NAME  VARCHAR2(200) NOT NULL,<br />
    JOB_GROUP VARCHAR2(200) NOT NULL,<br />
    DESCRIPTION VARCHAR2(250) NULL,<br />
    NEXT_FIRE_TIME NUMBER(13) NULL,<br />
    PREV_FIRE_TIME NUMBER(13) NULL,<br />
    PRIORITY NUMBER(13) NULL,<br />
    TRIGGER_STATE VARCHAR2(16) NOT NULL,<br />
    TRIGGER_TYPE VARCHAR2(8) NOT NULL,<br />
    START_TIME NUMBER(13) NOT NULL,<br />
    END_TIME NUMBER(13) NULL,<br />
    CALENDAR_NAME VARCHAR2(200) NULL,<br />
    MISFIRE_INSTR NUMBER(2) NULL,<br />
    JOB_DATA BLOB NULL,<br />
    PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP),<br />
    FOREIGN KEY (SCHED_NAME,JOB_NAME,JOB_GROUP)<br />
	REFERENCES QRTZ_JOB_DETAILS(SCHED_NAME,JOB_NAME,JOB_GROUP)<br />
);<br />
CREATE TABLE qrtz_simple_triggers<br />
  (<br />
    SCHED_NAME VARCHAR(120) NOT NULL,<br />
    TRIGGER_NAME VARCHAR2(200) NOT NULL,<br />
    TRIGGER_GROUP VARCHAR2(200) NOT NULL,<br />
    REPEAT_COUNT NUMBER(7) NOT NULL,<br />
    REPEAT_INTERVAL NUMBER(12) NOT NULL,<br />
    TIMES_TRIGGERED NUMBER(10) NOT NULL,<br />
    PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP),<br />
    FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)<br />
	REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)<br />
);<br />
CREATE TABLE qrtz_cron_triggers<br />
  (<br />
    SCHED_NAME VARCHAR(120) NOT NULL,<br />
    TRIGGER_NAME VARCHAR2(200) NOT NULL,<br />
    TRIGGER_GROUP VARCHAR2(200) NOT NULL,<br />
    CRON_EXPRESSION VARCHAR2(120) NOT NULL,<br />
    TIME_ZONE_ID VARCHAR2(80),<br />
    PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP),<br />
    FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)<br />
	REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)<br />
);<br />
CREATE TABLE qrtz_simprop_triggers<br />
  (<br />
    SCHED_NAME VARCHAR(120) NOT NULL,<br />
    TRIGGER_NAME VARCHAR(200) NOT NULL,<br />
    TRIGGER_GROUP VARCHAR(200) NOT NULL,<br />
    STR_PROP_1 VARCHAR(512) NULL,<br />
    STR_PROP_2 VARCHAR(512) NULL,<br />
    STR_PROP_3 VARCHAR(512) NULL,<br />
    INT_PROP_1 NUMBER(10) NULL,<br />
    INT_PROP_2 NUMBER(10) NULL,<br />
    LONG_PROP_1 NUMBER(13) NULL,<br />
    LONG_PROP_2 NUMBER(13) NULL,<br />
    DEC_PROP_1 NUMERIC(13,4) NULL,<br />
    DEC_PROP_2 NUMERIC(13,4) NULL,<br />
    BOOL_PROP_1 VARCHAR(1) NULL,<br />
    BOOL_PROP_2 VARCHAR(1) NULL,<br />
    PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP),<br />
    FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)<br />
    REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)<br />
);<br />
CREATE TABLE qrtz_blob_triggers<br />
  (<br />
    SCHED_NAME VARCHAR(120) NOT NULL,<br />
    TRIGGER_NAME VARCHAR2(200) NOT NULL,<br />
    TRIGGER_GROUP VARCHAR2(200) NOT NULL,<br />
    BLOB_DATA BLOB NULL,<br />
    PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP),<br />
    FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)<br />
        REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)<br />
);<br />
CREATE TABLE qrtz_calendars<br />
  (<br />
    SCHED_NAME VARCHAR(120) NOT NULL,<br />
    CALENDAR_NAME  VARCHAR2(200) NOT NULL,<br />
    CALENDAR BLOB NOT NULL,<br />
    PRIMARY KEY (SCHED_NAME,CALENDAR_NAME)<br />
);<br />
CREATE TABLE qrtz_paused_trigger_grps<br />
  (<br />
    SCHED_NAME VARCHAR(120) NOT NULL,<br />
    TRIGGER_GROUP  VARCHAR2(200) NOT NULL,<br />
    PRIMARY KEY (SCHED_NAME,TRIGGER_GROUP)<br />
);<br />
CREATE TABLE qrtz_fired_triggers<br />
  (<br />
    SCHED_NAME VARCHAR(120) NOT NULL,<br />
    ENTRY_ID VARCHAR2(95) NOT NULL,<br />
    TRIGGER_NAME VARCHAR2(200) NOT NULL,<br />
    TRIGGER_GROUP VARCHAR2(200) NOT NULL,<br />
    INSTANCE_NAME VARCHAR2(200) NOT NULL,<br />
    FIRED_TIME NUMBER(13) NOT NULL,<br />
    PRIORITY NUMBER(13) NOT NULL,<br />
    STATE VARCHAR2(16) NOT NULL,<br />
    JOB_NAME VARCHAR2(200) NULL,<br />
    JOB_GROUP VARCHAR2(200) NULL,<br />
    IS_NONCONCURRENT VARCHAR2(1) NULL,<br />
    REQUESTS_RECOVERY VARCHAR2(1) NULL,<br />
    PRIMARY KEY (SCHED_NAME,ENTRY_ID)<br />
);<br />
CREATE TABLE qrtz_scheduler_state<br />
  (<br />
    SCHED_NAME VARCHAR(120) NOT NULL,<br />
    INSTANCE_NAME VARCHAR2(200) NOT NULL,<br />
    LAST_CHECKIN_TIME NUMBER(13) NOT NULL,<br />
    CHECKIN_INTERVAL NUMBER(13) NOT NULL,<br />
    PRIMARY KEY (SCHED_NAME,INSTANCE_NAME)<br />
);<br />
CREATE TABLE qrtz_locks<br />
  (<br />
    SCHED_NAME VARCHAR(120) NOT NULL,<br />
    LOCK_NAME  VARCHAR2(40) NOT NULL,<br />
    PRIMARY KEY (SCHED_NAME,LOCK_NAME)<br />
);</p>
<p>create index idx_qrtz_j_req_recovery on qrtz_job_details(SCHED_NAME,REQUESTS_RECOVERY);<br />
create index idx_qrtz_j_grp on qrtz_job_details(SCHED_NAME,JOB_GROUP);</p>
<p>create index idx_qrtz_t_j on qrtz_triggers(SCHED_NAME,JOB_NAME,JOB_GROUP);<br />
create index idx_qrtz_t_jg on qrtz_triggers(SCHED_NAME,JOB_GROUP);<br />
create index idx_qrtz_t_c on qrtz_triggers(SCHED_NAME,CALENDAR_NAME);<br />
create index idx_qrtz_t_g on qrtz_triggers(SCHED_NAME,TRIGGER_GROUP);<br />
create index idx_qrtz_t_state on qrtz_triggers(SCHED_NAME,TRIGGER_STATE);<br />
create index idx_qrtz_t_n_state on qrtz_triggers(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP,TRIGGER_STATE);<br />
create index idx_qrtz_t_n_g_state on qrtz_triggers(SCHED_NAME,TRIGGER_GROUP,TRIGGER_STATE);<br />
create index idx_qrtz_t_next_fire_time on qrtz_triggers(SCHED_NAME,NEXT_FIRE_TIME);<br />
create index idx_qrtz_t_nft_st on qrtz_triggers(SCHED_NAME,TRIGGER_STATE,NEXT_FIRE_TIME);<br />
create index idx_qrtz_t_nft_misfire on qrtz_triggers(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME);<br />
create index idx_qrtz_t_nft_st_misfire on qrtz_triggers(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME,TRIGGER_STATE);<br />
create index idx_qrtz_t_nft_st_misfire_grp on qrtz_triggers(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME,TRIGGER_GROUP,TRIGGER_STATE);</p>
<p>create index idx_qrtz_ft_trig_inst_name on qrtz_fired_triggers(SCHED_NAME,INSTANCE_NAME);<br />
create index idx_qrtz_ft_inst_job_req_rcvry on qrtz_fired_triggers(SCHED_NAME,INSTANCE_NAME,REQUESTS_RECOVERY);<br />
create index idx_qrtz_ft_j_g on qrtz_fired_triggers(SCHED_NAME,JOB_NAME,JOB_GROUP);<br />
create index idx_qrtz_ft_jg on qrtz_fired_triggers(SCHED_NAME,JOB_GROUP);<br />
create index idx_qrtz_ft_t_g on qrtz_fired_triggers(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP);<br />
create index idx_qrtz_ft_tg on qrtz_fired_triggers(SCHED_NAME,TRIGGER_GROUP);</p>
<p>commit;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

