Skip to content
This repository has been archived by the owner on Dec 18, 2020. It is now read-only.

Smart Content not working on PHPCR with mysql #204

Closed
tomsvogel opened this issue Aug 29, 2014 · 4 comments
Closed

Smart Content not working on PHPCR with mysql #204

tomsvogel opened this issue Aug 29, 2014 · 4 comments
Labels

Comments

@tomsvogel
Copy link
Contributor

jackalope/jackalope-doctrine-dbal#217

@dantleech
Copy link
Contributor

Thidls is a non-trivial fix for jackalope but not too hard. If anybody at.MA wants to take it on.. if not we.only encountrr this issue in one place and the workaround is to select from nt:unstructured wher jcr:mixinTypes="sulu:content"

Thomas Schedler [email protected] wrote:

jackalope/jackalope-doctrine-dbal#217


Reply to this email directly or view it on GitHub:
#204 (comment)

Sent from my Android device with K-9 Mail. Please excuse my brevity.

@dantleech
Copy link
Contributor

Benchmarks for selecting [jcr:mixinTypes] as critieria vs. as source.

The jackrabbit server was restarted between each test.

If the two different queries are run seqeuntially, then the second is always cached, suggesting that jackrabbit does a criteria select internally.

select * from [nt:unstructured] where [jcr:mixinTypes] = 'sulu:content';
0.72
0.66
0.71
0.67

select * from [sulu:content];
0.67
0.67
0.70
0.67

@dantleech
Copy link
Contributor

@danrot danrot closed this as completed Sep 12, 2014
@tomsvogel
Copy link
Contributor Author

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants