Package org.datanucleus.util
Class PersistenceUtils
- java.lang.Object
-
- org.datanucleus.util.PersistenceUtils
-
public class PersistenceUtils extends Object
Series of convenience methods for the persistence process.
-
-
Constructor Summary
Constructors Constructor Description PersistenceUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Properties
setPropertiesUsingFile(String filename)
Method to return the Persistence Properties from the specified file.
-
-
-
Method Detail
-
setPropertiesUsingFile
public static Properties setPropertiesUsingFile(String filename)
Method to return the Persistence Properties from the specified file.- Parameters:
filename
- Name of the file containing the properties- Returns:
- the Persistence Properties in this file
- Throws:
NucleusUserException
- if file not readable
-
-