I am getting a null return value for known existing names… what am I doing wrong? I tried flushing the relationships cache, no change. In fact every relationship I try to pull returns null.
Relationship x = relationshipCache.getRelationshipByName( “name” );
Returns null.
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
I found that RelationshipFactory.getRelationshipByRelationTypeValue( “name” ) works…
Under the hood this checks the cache first and then the DB. I’m not seeing a cache fail in the log with that method..
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dotcms/718a68fca54c4613b8fbe98d2991fb85%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
I’ll use the Factory for now. Still wondering why the cache isn’t working.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/b6f46dcb7cc64ae79c9bd675f4bd4e52%40exch13c.ms.gettysburg.edu.