openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: Help with defining custom MetaDataRepository
Date Mon, 28 Mar 2011 14:03:16 GMT
Todd -

> however I'm not having any success.
How are you plugging your repo into the runtime? Can you give some more
details on what you are seeing / doing?

I'd also suggest checking out
org.apache.openjpa.jdbc.meta.MappingRepository... you might need to extend
that rather than org.apache.openjpa.meta.MetaDataRepository.

Thanks,
Rick

On Sat, Mar 26, 2011 at 1:03 AM, Todd Nine <todd@spidertracks.com> wrote:

> Hi guys,
>  I need to subclass both ClassMetaData and FieldMetaData in our plugin.
> I've attempted to emulate the code in the JDBC plugin, however I'm not
> having any success.  Can anyone give me some instructions on how to do
> this?  Here are the relevant classes.
>
>
> https://github.com/riptano/hector-jpa/blob/subclasses/src/main/java/com/datastax/hectorjpa/store/CassandraProductDerivation.java
>
> https://github.com/riptano/hector-jpa/blob/subclasses/src/main/java/com/datastax/hectorjpa/store/CassandraStoreConfiguration.java
>
> https://github.com/riptano/hector-jpa/blob/subclasses/src/main/java/com/datastax/hectorjpa/store/CassandraMetaDataRepository.java
>
> Thanks,
> Todd
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message