hi,
i currently try to use objectdb for a new project. i wanted to use it in combination with spring-data-jpa (M2), but i'm not able to use the automatic repository feature because the following code fails
EntityType<T> type = metamodel.entity(domainClass); if (type == null) { throw new IllegalArgumentException( "The given domain class can not be found in the given Metamodel!"); } this.attribute = type.getId(type.getIdType().getJavaType());
in the debugger is i can see this member m_idType is null
type EntityTypeImpl<X> (id=57)
m_attrMap LinkedHashMap<K,V> (id=74)
m_declAttrMap LinkedHashMap<K,V> (id=78)
m_entityName "Foo" (id=80)
m_errorManager JPE (id=83)
m_idClassAttr Collections$EmptySet (id=87)
m_idSingleAttr SingularAttributeImpl<X,T> (id=96)
m_idType null
m_superType null
m_sysType Class<T> (package.Foo) (id=49)
m_versionAttr null
my entity looks like this
@Entity public class Foo implements Serializable { private static final long serialVersionUID = 6677607256121084732L; @Id @GeneratedValue private Long id;
persistence.xml and spring context xml is pretty much the same as in the spring mvc jpa example.
i'm i doing something wrong or is it just some missing implementation in objectdb?