jpamodelgen currently throws NullPointerException on code like the following:
{{ @ElementCollection public Map<Integer, byte[]> getDoorCodes()
}}