Changeset 470


Ignore:
Timestamp:
01/18/11 18:47:19 (2 years ago)
Author:
philsmart
Message:
 
Location:
raptor-ica-embedded/trunk/src/main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • raptor-ica-embedded/trunk/src/main/config/data-access.xml

    r462 r470  
    4545                                --> 
    4646                                <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> 
    4948                                        <property name="logfile"> 
    50                                                 <value>file:///Users/philsmart/Documents/DataSets/Logs/idp-audit-17th.log 
     49                                                <value>file:///Users/philsmart/Documents/DataSets/Logs/shib2comb-sorted.log 
    5150                                                </value> 
    5251                                        </property> 
  • raptor-ica-embedded/trunk/src/main/java/uk/ac/cardiff/raptor/raptorica/model/PersistantEntryHandler.java

    r454 r470  
    6363    public void initialise() { 
    6464        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); 
    6666        log.info("Persistent data store has {} entries", rowCount); 
    6767        entryInformation = (EntryMetadata) dataConnection.runQueryUnique("from EntryMetadata", null); 
Note: See TracChangeset for help on using the changeset viewer.