4.  Retrieving Properties Information

There are two sets of properties that may be specified: those that are specific to OpenJPA and those that have been defined by the JPA specification. In some cases, two properties may be equivalent, but have different keys. For example, openjpa.LockTimeout and javax.persistence.lock.timeout are two different keys for the same property.

There are two methods that can be used to retrieve information related to properties:

public Map<String,Object> getProperties();
public Set<String> getSupportedProperties();


The getSupportedProperties method is an OpenJPA extension to the JPA specification.