Git find commits in one branch not in another

git log –left-right –graph –cherry-pick branch_with_extra_commits…branch_merging_to –author=”….” https://jerodsanto.net/2014/09/git-a-list-of-commits-on-one-branch-but-not-the-other/ https://stackoverflow.com/questions/1710894/using-git-show-all-commits-that-are-in-one-branch-but-not-the-others

Hibernate named parameters

String query = “select max(r.version) from Relationship r where r.target=:id and r.type=:type”; TypedQuery<Integer> typedQuery = em.createQuery(query, Integer.class); typedQuery.setParameter(“id”, target); typedQuery.setParameter(“type”, type); Integer result = typedQuery.getSingleResult();…

JAXB accessExternalSchema issue

Failed to read schema document ‘xjc.xsd’, because ‘file’ access is not allowed due to restriction set by the accessExternalSchema property. -Djavax.xml.accessExternalSchema=all http://docs.oracle.com/javase/7/docs/api/javax/xml/XMLConstants.html#ACCESS_EXTERNAL_SCHEMA