Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: dna-0.7
Commits on Jan 11, 2010
  1. @rhauch

    [maven-release-plugin] copy for tag dna-0.7

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/tags/dna-0.7@1594 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    DNA-644 Added TRACE-level logging to several dna-search-lucene classe…

    rhauch authored
    …s to help debug what content is being added to and removed from the Lucene indexes. I tried to make the message very easy to read, especially as there is one line per add, per delete, and per commit or rollback. Also added a fragment to the 'dna-jcr' project's log4j.properties file used in the test cases that will turn on this logging, though this is commented out by default.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1591 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @bcarothers-xx

    DNA-644 BasicJpaRepositoryTckTest has failures related to XPath queries

    bcarothers-xx authored
    Applied patch that makes BasicRequestProcessor.process(CreateNodeRequest) call recordChange(request) after successful node additions. If recordChange(...) isn't called, the SearchEngineIndexer is never made aware of the change and the node will not be added to the indexes or returned as a search result. Adding this line makes all 5 failing tests pass. I reviewed the rest of the class, but could not find any other places where this call was missing.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1590 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @bcarothers-xx

    DNA-62 Sequence Java class files to extract the class structure with …

    bcarothers-xx authored
    …annotations
    
    Applied patch that adds a sequencedDate to the class output.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1589 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Jan 10, 2010
  1. @rhauch

    DNA-621 Applied Brian's patch (with one or two very minor modificatio…

    rhauch authored
    …ns) for the Reference Guide.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1588 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @bcarothers-xx

    Removed unused variable

    bcarothers-xx authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1587 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    Merge branch 'dna-621'

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1586 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @rhauch

    Merge branch 'dna-621'

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1585 76366958-4244-0410-ad5e-bbfabb93f86b
  5. @rhauch

    Merge branch 'dna-621'

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1584 76366958-4244-0410-ad5e-bbfabb93f86b
  6. @rhauch

    Merge branch 'dna-621'

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1583 76366958-4244-0410-ad5e-bbfabb93f86b
  7. @rhauch

    DNA-621 More minor edits to the Reference Guide.

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1582 76366958-4244-0410-ad5e-bbfabb93f86b
  8. @rhauch

    DNA-617 Changed the section levels of the JCR-SQL2 and Full-text Sear…

    rhauch authored
    …ch languages so that they are navigable from the Table of Contents.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1581 76366958-4244-0410-ad5e-bbfabb93f86b
  9. @rhauch

    DNA-617 Completed the initial version of the chapter on query and sea…

    rhauch authored
    …rch functionality. Also removed text that pointed to the Reference Guide from within the Reference Guide.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1580 76366958-4244-0410-ad5e-bbfabb93f86b
  10. @rhauch

    DNA-617 BasicJpaConnection no longer needs the EntityManager field, s…

    rhauch authored
    …ince a new one is always checked out and checked in within the execute(...) method. The same behavior was added to the ping(...) method.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1579 76366958-4244-0410-ad5e-bbfabb93f86b
  11. @bcarothers-xx

    DNA-617 NPE while updating indexes (during integration tests)

    bcarothers-xx authored
    Attach patch that corrects the behavior of the BasicJpaConnector with regard to EntityManager lifetime.
    
    Prior to the patch, the BJC obtained an EntityManager in its constructor and released the EntityManager in its close method.  The typical lifecycle for a connection is a call to the constructor followed by a single call to execute(...) followed by a call to close().  With this lifecycle, the EntityManager is only used for one call to execute(...) and the transaction is committed or rolled back after the call as appropriate.
    
    Now that the RepositoryConnectionPool is being used (and was fixed to reuse connections), the typical lifecycle is one call to the constructor followed by multiple calls to execute(...) within different transactions followed by (eventually) a call to close().  Since the same EntityManager was being held for the entire life of the BJC object, the EntityManager would be used for multiple transactions without any attempt being made to clear out its cache.  We're using Hibernate as our JPA implementation, so the Hibernate session cache was gradually accumulating copies of the data in the database _that were gradually falling out of sync with the database_.
    
    In other words, BJC1 would be used to create a node and set a property leaving the ChildEntity and the PropertiesEntity for the node in the Hibernate session cache for BJC1's EntityManager.  BJC2 would then be used to read the same node and update its property.  Since the entities for the node weren't yet in in the session cache for BJC2's EntityManager, BJC2 would execute select statements to load the necessary data and would perform the updates.  THEN in a subsequent call, BJC1 would be reused to read from the same node.  Since BJC already had the ChildEntity and PropertiesEntity for the node in its session cache, it would reuse the cached (and now stale) versions instead of trying to hit the database.  Hilarity ensued.
    
    The patch makes BJC obtain an EntityManager at the beginning of the execute(...) call and release the EntityManager at the end of the execute(...) call.  Since "released" EntityManager objects are really closed by the EntityManagers factory object, this will cure the session cache issue.
    
    This fixes all but 5 of the TCK failures with the JPA connector using the basic model.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1578 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Jan 9, 2010
  1. @rhauch

    Added missing JavaDoc @return parameter.

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1577 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    DNA-621 Updated the Reference Guide section that talks about the leve…

    rhauch authored
    …ls of JCR support.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1576 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    DNA-621 Updated the Reference Guide section that talks about the leve…

    rhauch authored
    …ls of JCR support.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1575 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @rhauch

    DNA-621 More improvements to the Getting Started and Reference Guide.…

    rhauch authored
    … The query language section is incomplete, but that will be finished very soon.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1574 76366958-4244-0410-ad5e-bbfabb93f86b
  5. @rhauch
  6. @rhauch

    DNA-621 Made more corrections to the Getting Started guide, and added…

    rhauch authored
    … a new section on deploying DNA via JNDI.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1572 76366958-4244-0410-ad5e-bbfabb93f86b
  7. @rhauch
  8. @rhauch

    DNA-621 Updated the Getting Started guide to reflect the state of 0.7…

    rhauch authored
    …, including updating the repositories example with some minor improvements.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1570 76366958-4244-0410-ad5e-bbfabb93f86b
  9. @rhauch

    Moved location of the files and folders used by the UFO source from t…

    rhauch authored
    …he 'src/main/resources' directory to be right under the top of the project. This allows the configRepository.xml file to simply reference the ufoSource directory as being in the same directory from which the tests are run, which also allows the build directory (where the examples are run via the command-line, per the Getting Started guide) to directly contain the 'ufoSource' folder instead of 'src/main/resources/ufoSource' (which is a bit confusing).
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1569 76366958-4244-0410-ad5e-bbfabb93f86b
  10. @bcarothers-xx

    Removed extra @Override

    bcarothers-xx authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1568 76366958-4244-0410-ad5e-bbfabb93f86b
  11. @bcarothers-xx

    DNA-640 JNDI-Based Deployment

    bcarothers-xx authored
    Applied patch adds a standalone JNDI factory for the JcrEngine class that exposes JCR repositories. Multiple JCR repositories can be exposed by the same engine by creating successive JNDI references. Only one JcrEngine will be started/loaded.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1567 76366958-4244-0410-ad5e-bbfabb93f86b
  12. @bcarothers-xx

    DNA-639 JcrTckTest Missing Two Test Cases

    bcarothers-xx authored
    Applied patch that updates the tests in JcrTckTest (and comments them out as they don't pass yet) and cleans up dna-jcr-tck, which had some misclassified test cases and some out-of-date dependencies,
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1566 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Jan 8, 2010
  1. @spagop

    DONE REST client osgi bundle for the Eclipse plugin

    spagop authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1565 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @spagop
  3. @spagop
  4. @spagop

    deleted the dependency to com.sun.org.apache.xerces.internal.impl.dv.…

    spagop authored
    …util.Base6 and replace it the one of org.jboss.dna.common.util.Base64
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1562 76366958-4244-0410-ad5e-bbfabb93f86b
  5. @blafond

    DNA-49 Removing System.out's in tests.

    blafond authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1561 76366958-4244-0410-ad5e-bbfabb93f86b
  6. @bcarothers-xx

    DNA-632

    bcarothers-xx authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1560 76366958-4244-0410-ad5e-bbfabb93f86b
  7. @rhauch
  8. @rhauch

    DNA-613 minor changes to get the FileSystemRepositoryTckTest to run w…

    rhauch authored
    …ith the newly-added XPath TCK tests.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1558 76366958-4244-0410-ad5e-bbfabb93f86b
Something went wrong with that request. Please try again.