Is it possible to find all available EntityManager properties?
问题 I need to use multiply persistence units with different properties (in my case MySQL and Oracle database). In persistence.xml I define two different "persistence-unit"s and list only the entity classes there. Properties could be set in persitence.xml with <properties> <property name="..." value="..." /> ... Im doing it in a java class before creating the EntityManager, because I must use different properties (which I read before): EntityManagerFactory factory; ... HashMap<String, String>