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

SQL Server – Editions, Versions

https://www.microsoft.com/en-us/sql-server/sql-server-2016-editions https://support.microsoft.com/en-ie/help/321185/how-to-determine-the-version,-edition-and-update-level-of-sql-server-and-its-components    http://highscalability.com/blog/2012/9/11/how-big-is-a-petabyte-exabyte-zettabyte-or-a-yottabyte.html