Changeset 479


Ignore:
Timestamp:
01/20/11 18:53:14 (2 years ago)
Author:
philsmart
Message:

spring 3

Location:
raptor-ica-embedded/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • raptor-ica-embedded/trunk/pom.xml

    r459 r479  
    8282        <properties> 
    8383                <jetty.version>6.1.23</jetty.version> 
     84                 <apache.cxf.version>2.2.7</apache.cxf.version> 
     85        <spring.version>3.0.2.RELEASE</spring.version> 
    8486        </properties> 
    8587 
     
    9193                        <version>1.2.2</version> 
    9294                </dependency> 
    93                 <dependency> 
    94                         <groupId>org.apache.cxf</groupId> 
    95                         <artifactId>cxf-rt-frontend-jaxws</artifactId> 
    96                         <version>2.2.7</version> 
    97                         <exclusions> 
    98                                 <exclusion> 
    99                                         <groupId>asm</groupId> 
    100                                         <artifactId>asm</artifactId> 
    101                                 </exclusion> 
    102                         </exclusions> 
    103                 </dependency> 
    104                 <dependency> 
    105                         <groupId>org.apache.cxf</groupId> 
    106                         <artifactId>cxf-rt-transports-http</artifactId> 
    107                         <version>2.2.7</version> 
    108                 </dependency> 
    109                 <dependency> 
    110                         <groupId>org.apache.cxf</groupId> 
    111                         <artifactId>cxf-bundle-jaxrs</artifactId> 
    112                         <version>2.2.8</version> 
    113                 </dependency> 
    114  
    115                 <dependency> 
    116                         <groupId>org.springframework</groupId> 
    117                         <artifactId>spring</artifactId> 
    118                         <version>2.5.6</version> 
    119                 </dependency> 
    120  
     95 
     96 
     97                <!--  CXF --> 
     98        <dependency> 
     99            <groupId>org.apache.cxf</groupId> 
     100            <artifactId>cxf-rt-frontend-jaxws</artifactId> 
     101            <version>${apache.cxf.version}</version> 
     102            <exclusions> 
     103                <exclusion> 
     104                    <groupId>asm</groupId> 
     105                    <artifactId>asm</artifactId> 
     106                </exclusion> 
     107            </exclusions> 
     108        </dependency> 
     109        <dependency> 
     110            <groupId>org.apache.cxf</groupId> 
     111            <artifactId>cxf-rt-databinding-aegis</artifactId> 
     112            <version>${apache.cxf.version}</version> 
     113        </dependency> 
     114        <dependency> 
     115            <groupId>org.apache.cxf</groupId> 
     116            <artifactId>cxf-rt-transports-http</artifactId> 
     117            <version>${apache.cxf.version}</version> 
     118        </dependency> 
     119 
     120 
     121                <!--  SPRING --> 
     122        <dependency> 
     123            <groupId>org.springframework</groupId> 
     124            <artifactId>spring-webmvc</artifactId> 
     125            <version>${spring.version}</version> 
     126        </dependency> 
     127 
     128        <dependency> 
     129            <groupId>org.springframework</groupId> 
     130            <artifactId>spring-web</artifactId> 
     131            <version>${spring.version}</version> 
     132        </dependency> 
     133 
     134        <!-- 
     135            Object-to-Relation-Mapping (ORM) integration with Hibernate, JPA, and 
     136            iBatis. (depends on spring-core, spring-beans, spring-context, 
     137            spring-tx) Define this if you need ORM (org.springframework.orm.*) 
     138        --> 
     139        <dependency> 
     140            <groupId>org.springframework</groupId> 
     141            <artifactId>spring-orm</artifactId> 
     142            <version>${spring.version}</version> 
     143        </dependency> 
     144 
     145        <!-- 
     146            Various Application Context utilities, including EhCache, JavaMail, 
     147            Quartz, and Freemarker integration Define this if you need any of 
     148            these integrations 
     149        --> 
     150        <dependency> 
     151            <groupId>org.springframework</groupId> 
     152            <artifactId>spring-context-support</artifactId> 
     153            <version>${spring.version}</version> 
     154        </dependency> 
     155 
     156        <dependency> 
     157            <groupId>org.springframework</groupId> 
     158            <artifactId>spring-context</artifactId> 
     159            <version>${spring.version}</version> 
     160        </dependency> 
     161 
     162        <dependency> 
     163            <groupId>org.springframework</groupId> 
     164            <artifactId>spring-core</artifactId> 
     165            <version>${spring.version}</version> 
     166        </dependency> 
     167        <!-- 
     168 
     169            <dependency> <groupId>org.springframework</groupId> 
     170            <artifactId>spring-expression</artifactId> 
     171            <version>${spring.version}</version> </dependency> 
     172        --> 
     173        <dependency> 
     174            <groupId>org.springframework</groupId> 
     175            <artifactId>spring-beans</artifactId> 
     176            <version>${spring.version}</version> 
     177        </dependency> 
     178 
     179        <dependency> 
     180            <groupId>org.springframework</groupId> 
     181            <artifactId>spring-jdbc</artifactId> 
     182            <version>${spring.version}</version> 
     183        </dependency> 
     184 
     185        <dependency> 
     186            <groupId>org.springframework</groupId> 
     187            <artifactId>spring-tx</artifactId> 
     188            <version>${spring.version}</version> 
     189        </dependency> 
     190 
     191        <dependency> 
     192            <groupId>org.springframework</groupId> 
     193            <artifactId>spring-aop</artifactId> 
     194            <version>${spring.version}</version> 
     195        </dependency> 
     196 
     197 
     198        <!--  DONE --> 
     199 
     200 
     201        <!--  OTHER --> 
    121202                <dependency> 
    122203                        <groupId>log4j</groupId> 
     
    157238 
    158239                <dependency> 
    159                         <groupId>org.springframework</groupId> 
    160                         <artifactId>spring-hibernate3</artifactId> 
    161                         <version>2.0.8</version> 
    162                 </dependency> 
    163                 <dependency> 
    164240                        <groupId>xerces</groupId> 
    165241                        <artifactId>xercesImpl</artifactId> 
    166242                        <version>2.9.1</version> 
    167243                </dependency> 
     244 
     245                <dependency> 
     246            <groupId>hibernate</groupId> 
     247            <artifactId>hibernate</artifactId> 
     248            <version>3.1rc2</version> 
     249        </dependency> 
    168250 
    169251                <!-- jetty runtime for standalone deployment --> 
     
    227309                </dependency> 
    228310 
    229  
    230                 <dependency> 
    231                         <groupId>org.springframework</groupId> 
    232                         <artifactId>spring-webmvc</artifactId> 
    233                         <version>2.5.6</version> 
    234                 </dependency> 
    235311        </dependencies> 
    236312 
  • raptor-ica-embedded/trunk/src/main/java/uk/ac/cardiff/raptor/raptorica/model/PersistantEntryHandler.java

    r470 r479  
    6363    public void initialise() { 
    6464        log.info("Persistant entry handler [{}] initialising", this); 
    65         Long rowCount = (Long) dataConnection.runQueryUnique("select count(*) from Entry", null); 
     65        Integer rowCount = (Integer) 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.