1 2 Previous Next 15 Replies Latest reply on Oct 16, 2007 1:39 PM by brian.stansberry Go to original post
      • 15. Re: Optimistic locking doesn't scale well with large 'flat'
        brian.stansberry

        It also means the business that Hibernate does where it converts entity class com.foo.some.really.deep.package.tree.MyEntity to an Fqn via Fqn.fromString("/com/foo/some/really/deep/package/tree/MyEntity") can be simplified to a more efficient Fqn.fromString("com.foo.some.really.deep.package.tree.MyEntity").

        That deep-tree style was added sometime a long while ago when there was some locking contention on parent nodes. The only reason I hadn't gotten rid of it was this optimistic child-map copy thing. :)

        1 2 Previous Next