Polygene™
Introduction
Tutorials
Javadoc
Samples
Core
Libraries
Extensions
Tools
Glossary 

JDBM EntityStore

code

docs

tests

EntityStore service backed by an embedded JDBM2 database.

Table 56. Artifact

Group IDArtifact IDVersion

org.apache.polygene.extensions

org.apache.polygene.extension.entitystore-jdbm

3.0.0


Assembly

Assembly is done using the provided Assembler:

@Override
public void assemble( ModuleAssembly module )
    throws AssemblyException
{
    new JdbmEntityStoreAssembler().assemble( module );
}

Configuration

Here are the configuration properties for the JDBM EntityStore:

Traceback (most recent call last):
  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 100, in <module>
    for line in snippet(**configuration(indata)):
  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 51, in snippet
    sourceFile = open(PATH_PATTERN % locals())
IOError: [Errno 2] No such file or directory: 'extensions/entitystore-jdbm/src/main/java/org/apache/polygene/entitystore/jdbm/JdbmConfiguration.java'

file is optional and represent the file where the JDBM EntityStore will keep its persisted state.

It defaults to System.getProperty( "user.dir" ) + "/polygene/jdbmstore.data" If the given path is not absolute, then it’s relative to the current working directory. If you use the FileConfig Library then this property value is ignored and FileConfig is prefered.