Java Frameworks that support Entity-Attribute-Value Models

一世执手 提交于 2019-12-08 07:45:13

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!