Changeset 470
- Timestamp:
- 01/18/11 18:47:19 (2 years ago)
- Location:
- raptor-ica-embedded/trunk/src/main
- Files:
-
- 2 edited
-
config/data-access.xml (modified) (1 diff)
-
java/uk/ac/cardiff/raptor/raptorica/model/PersistantEntryHandler.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
raptor-ica-embedded/trunk/src/main/config/data-access.xml
r462 r470 45 45 --> 46 46 <bean id="shibbolethAuditLFP" class="uk.ac.cardiff.raptor.raptorica.dao.external.file.LogFileParser"> 47 <property name="entryHandler"><ref bean="memoryEntryHandler"></ref></property> 48 <!--<property name="parsingSupport"><ref bean="persistentParserConfig"></ref></property>--> 47 <property name="entryHandler"><ref bean="persistantEntryHandler"></ref></property> 49 48 <property name="logfile"> 50 <value>file:///Users/philsmart/Documents/DataSets/Logs/ idp-audit-17th.log49 <value>file:///Users/philsmart/Documents/DataSets/Logs/shib2comb-sorted.log 51 50 </value> 52 51 </property> -
raptor-ica-embedded/trunk/src/main/java/uk/ac/cardiff/raptor/raptorica/model/PersistantEntryHandler.java
r454 r470 63 63 public void initialise() { 64 64 log.info("Persistant entry handler [{}] initialising", this); 65 Integer rowCount = (Integer) dataConnection.runQueryUnique("select count(*) from Entry", null);65 Long rowCount = (Long) dataConnection.runQueryUnique("select count(*) from Entry", null); 66 66 log.info("Persistent data store has {} entries", rowCount); 67 67 entryInformation = (EntryMetadata) dataConnection.runQueryUnique("from EntryMetadata", null);
Note: See TracChangeset
for help on using the changeset viewer.
