问题
I am interested in developing a portal-based application that works with EAV models and would like to know if there are any Java frameworks that aid in this type of development?
salesforce.com uses EAV and currently has twenty tables. The framework I seek should allow it to be configurable to different EAV implementations
回答1:
Sesame is a more modern RDF API compared to Jena. RDF can be seen as a variant of the EAV model.
The framework I seek should allow it to be configurable to different EAV implementations
Both Jena and Sesame are available as API layers for many RDF storage engines.
回答2:
You can try to create your custom EAV with Hibernate using Map element mapping (example in Groovy):
@Entity
public class FooEntity {
@Id @GeneratedValue
long id;
@CollectionOfElements
Map<String,String> propz;
}
回答3:
The Jena library is a standard for handling a set of RDF statements (Resource/Property/Object).
Other RDF engine: http://mulgara.org/, http://sourceforge.net/projects/virtuoso/...
来源:https://stackoverflow.com/questions/1205793/java-frameworks-that-support-entity-attribute-value-models