Changeset 2967


Ignore:
Timestamp:
Nov 28, 2006, 12:40:02 PM (17 years ago)
Author:
Nicklas Nordborg
Message:

References #440: Update to latest versions of 3rd-party software

Updated to Hibernate 3.2.1. Remains to verify that updating works for both Postgres and MySQL.

Location:
trunk
Files:
1 added
1 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/set_classpath.bat

    r2966 r2967  
    4646SET CP=%CP%;%WEBINF%/lib/commons-logging-1.0.4.jar
    4747SET CP=%CP%;%WEBINF%/lib/dom4j-1.6.1.jar
    48 SET CP=%CP%;%WEBINF%/lib/ehcache-1.2.jar
     48SET CP=%CP%;%WEBINF%/lib/ehcache-1.2.3.jar
    4949SET CP=%CP%;%WEBINF%/lib/jta.jar
    5050SET CP=%CP%;%WEBINF%/lib/antlr-2.7.6.jar
  • trunk/bin/set_classpath.sh

    r2966 r2967  
    4545CP=$CP:$WEBINF/lib/commons-logging-1.0.4.jar
    4646CP=$CP:$WEBINF/lib/dom4j-1.6.1.jar
    47 CP=$CP:$WEBINF/lib/ehcache-1.2.jar
     47CP=$CP:$WEBINF/lib/ehcache-1.2.3.jar
    4848CP=$CP:$WEBINF/lib/jta.jar
    4949CP=$CP:$WEBINF/lib/antlr-2.7.6.jar
  • trunk/doc/3rd-party-components.txt

    r2966 r2967  
    180180
    181181
     182SvnAnt
     183------
     184An 'ant' task implementation for accessing subversion from the ant buildfile.
    182185
     186More info : http://subclipse.tigris.org/svnant.html
     187Version   : 1.0.0
     188License   : Apache Software License 1.1 (apache.license.txt)
     189Jar files : svnant.jar, javasvn.jar, svnClientAdapter.jar, svnjavahl.jar
     190            ganymed.jar
    183191
    184 
    185 
  • trunk/src/core/net/sf/basedb/core/AbstractSqlQuery.java

    r2669 r2967  
    267267    if ((hasLimit || hasOffset) && supportsLimit)
    268268    {
    269       sql = dialect.getLimitString(sql, hasOffset && supportsOffset);
     269      sql = dialect.getLimitString(sql, getFirstResult(), getMaxResults());
    270270      int insertIndex = dialect.bindLimitParametersFirst() ? 0 : parameterOrder.size();
    271271      parameterOrder.add(insertIndex, "_limit_");
  • trunk/src/core/net/sf/basedb/core/AnnotationSet.java

    r2898 r2967  
    384384    if (annotationType == null) throw new InvalidUseOfNullException("annotationType");
    385385    DbControl dc = getDbControl();
    386     Annotation a = dc.getItem(Annotation.class, getData().getAnnotations().remove(annotationType.getData()));
    387     if (a != null)
    388     {
    389       dc.deleteItem(a);
     386    if (getData().getAnnotations().containsKey(annotationType.getData()))
     387    {
     388      AnnotationData ad = getData().getAnnotations().remove(annotationType.getData());
     389      if (ad != null)
     390      {
     391        Annotation a = dc.getItem(Annotation.class, ad);
     392        dc.deleteItem(a);
     393      }
    390394    }
    391395  }
  • trunk/src/core/net/sf/basedb/core/ReporterList.java

    r2785 r2967  
    208208    checkPermission(Permission.WRITE);
    209209    if (reporter == null) throw new InvalidUseOfNullException("reporter");
    210     ReporterListScoreData rlScore = getData().getReporterListScores().remove(reporter.getId());
    211     if (rlScore != null)
     210    if (getData().getReporterListScores().containsKey(reporter.getId()))
    212211    {
    213       getDbControl().getHibernateSession().delete(rlScore);
     212      ReporterListScoreData rlScore = getData().getReporterListScores().remove(reporter.getId());
     213      if (rlScore != null)
     214      {
     215        getDbControl().getHibernateSession().delete(rlScore);
     216      }
    214217    }
    215218  }
  • trunk/src/test/set_classpath.bat

    r2966 r2967  
    4444SET CP=%CP%;../../lib/dist/commons-logging-1.0.4.jar
    4545SET CP=%CP%;../../lib/dist/dom4j-1.6.1.jar
    46 SET CP=%CP%;../../lib/dist/ehcache-1.2.jar
     46SET CP=%CP%;../../lib/dist/ehcache-1.2.3.jar
    4747SET CP=%CP%;../../lib/dist/jta.jar
    4848SET CP=%CP%;../../lib/dist/antlr-2.7.6.jar
  • trunk/src/test/set_classpath.sh

    r2966 r2967  
    4545CP=$CP:$LIB/commons-logging-1.0.4.jar
    4646CP=$CP:$LIB/dom4j-1.6.1.jar
    47 CP=$CP:$LIB/ehcache-1.2.jar
     47CP=$CP:$LIB/ehcache-1.2.3.jar
    4848CP=$CP:$LIB/jta.jar
    4949CP=$CP:$LIB/antlr-2.7.6.jar
Note: See TracChangeset for help on using the changeset viewer.