metadataLocations.add(new MultiResultQueryListItemMetadataSource());
metadataLocations.add(new SingleResultQueryListMetadataSource());
metadataLocations.add(new SimpleHomogeneousListMetadataSource());
metadataLocations.add(new JavaLangMetadataSource());
metadataLocations.add(new JavaMathMetadataSource());
metadataLocations.add(new JavaUtilMetadataSource());
properties.put(JAXBContextProperties.OXM_METADATA_SOURCE, metadataLocations);
properties.put("eclipselink.session-event-listener", new PreLoginMappingAdapter((AbstractSession)session));