@Synchronized fun findAllRelationshipsTo(vertex: sun.security.provider.certpath.Vertex?): List<Relationship?>? { val query: Query = this.entityManager.createQuery("Select r from Relationship r where r.target = :vertex or r.type = :vertex") setHints(query) query.setParameter("vertex", vertex) return query.getResultList() }
Find all relationships related to the vertex or of the vertex relationship type .