Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: modeshape-1.0.…
Commits on Jan 20, 2010
  1. @rhauch
  2. @rhauch

    MODE-647 Added a section to Chapter 8 ('Configuring and Using ModeSha…

    rhauch authored
    …pe') called 'Migrating from JBoss DNA', which outlines all of the steps required to migrate an application that is using JBoss DNA to switch over to ModeShape. There is also a pointer in the 'What's new' section of Chapter 1.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1608 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch

    MODE-647 Added all of the DNA namespaces to the alias list in DnaExec…

    rhauch authored
    …utionContext, and changed the behavior so that the aliases no longerappear in the list of namespaces.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1607 76366958-4244-0410-ad5e-bbfabb93f86b
  4. @rhauch

    MODE-647 Changed the ModeShapeConfiguration and JcrConfiguration to t…

    rhauch authored
    …ransparently use a DnaExecutionContext around the configuration's context when the engine is created. In particular, see ModeShapeConfiguration.getExecutionContextForEngine(). A few other minor changes were required to complete the work and adjust test cases to expect the newly-recovered DNA namespaces. However, at this point, all unit and integration tests pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1606 76366958-4244-0410-ad5e-bbfabb93f86b
  5. @rhauch

    MODE-647 Added new DnaExecutionContext class that provides an executi…

    rhauch authored
    …on context that is backward-compatible with JBoss DNA namespaces. This class has a default (no-arg) constructor, and a constructor that takes an ExecutionContext. The result is a context that will transparently convert the namespace URI and prefixes for the old JBoss DNA 'dna' and 'dnaint' namespaces into ModeShape namespaces. In other words, Name objects (and thus also Path objects) created from content persisted with JBoss DNA will actually be materialized as using the corresponding ModeShape namespace.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1605 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Jan 15, 2010
  1. @rhauch

    MODE-580 Applied Brian's patch, though there were several difficultie…

    rhauch authored
    …s doing so (so I had to resort to apply bits of the patch and a few changes by hand). All seems to be okay, and all tests do pass. I was able to run the JDBC metadata connector unit and integration tests from the command line and from within Eclipse.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1604 76366958-4244-0410-ad5e-bbfabb93f86b
  2. @rhauch

    Merge branch 'mode-580'

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1603 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Jan 14, 2010
  1. @rhauch

    Merge branch 'mode-580'

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

    DNA-580 Applied Vijay's two patches for the Getting Started and Refer…

    rhauch authored
    …ence Guide changes (with some modifications), and updated the images. The document versions say '1.0.0.Beta1' at the moment. And at this point, both docs look pretty good.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1601 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @rhauch
  4. @rhauch

    DNA-580 Removed the (now empty) directories for the modules named 'dn…

    rhauch authored
    …a-*', as the content has already been moved into 'modeshape-*' modules.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1599 76366958-4244-0410-ad5e-bbfabb93f86b
  5. @rhauch

    DNA-580 Updated the version to be 1.0.0-SNAPSHOT, since that's the re…

    rhauch authored
    …lease we're working on.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1598 76366958-4244-0410-ad5e-bbfabb93f86b
  6. @rhauch
  7. @rhauch

    DNA-580 Rebranded all of the codebase, changing from 'JBoss DNA' to '…

    rhauch authored
    …ModeShape'. For details about the procedure, see DNA-580. The rebranding is not yet complete with this commit, but at this point all modules have been renamed, all package names have been adjusted, all references to 'DNA' (in the various forms) have been changed, and all of the unit tests and integration tests do pass. The remaining work involves fixing a small number of issues (table names used by the JPA connector models, one TCK failure that has been commented out that apparently was uncovered by the node type names and prefixes were changes) that still have to be fixed. Also, I've not verified much of the Getting Started or Reference Guides (though these were changed automatically by my scripts). In short, there still is work to do before we release something.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1596 76366958-4244-0410-ad5e-bbfabb93f86b
Commits on Jan 11, 2010
  1. @rhauch
  2. @rhauch

    [maven-release-plugin] prepare release dna-0.7

    rhauch authored
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1593 76366958-4244-0410-ad5e-bbfabb93f86b
  3. @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
  4. @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
  5. @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
Something went wrong with that request. Please try again.