[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.technology.jsr220-orm] Re: M2 good, but missing important features
|
Robert Greene wrote:
> Hi Darren,
>
> We are planning on releasing support for most of the unimplemented features
> before M2 moves out of beta. The notable exception may be support for XML
> meta data, but we are working to get this as well.. Constraint support is
> also an issue as that is tied to the rdb module, so we may have constraint
> support for only some subsection of databases. We should get M2 done
> within the next 4 weeks at the outside. As far as requests for features
> go, this news groups is as good a place as any right now. In the future, we
> will put more information on the website regarding the detailed roadmap of
> features and their release timing.
>
> We do not have as much testing as we would like, some may argue there is
> never enough testing, so we are hoping that the community will give us a
> hand and play with the release in it's current form and provide feedback
> that we can incorporate before the final Milestone release. That being
> said, thanks for the feedback ;-)
>
> Can you provide more information on the @Id issue. This annotation is
> already supported, so we should not be marking the classes as having no
> @Id.....unless there is a class that is not derived and does not define an
> Id annotation. Are you talking about the case where you are inheriting the
> @Id tag from a superclass? Is it only with the @EmbeddedSuperclass
> annotated class hierarchies? If that is the case, this should be a side
> effect of us not currently supporting that annotation. Classes that
> inherit from Non-Embedded persistent super classes should be fine without an
> @Id tag .... which should rightfully be inherited from the superclass.
>
> Cheers,
> -Robert
>
> Robert Greene
> JSR220-ORM team lead
> rgreene@xxxxxxxxxxx
>
>
>
> "Darren Bell" <djb@xxxxxxxxxxx> wrote in message
> news:deeqtb$in5$2@xxxxxxxxxxxxxxxxxxx
>
>>Just downloaded the M2 release and what i see so far is good.
>>But, we cannot use it yet as all our domain classes extend a super
>>class. That superclass is annotated with @EmbeddedSuperclass and that
>>class defines the @Id annotation.
>>
>>Also, the superclass also defines an @Embedded clas which contains
>>things like entered date, updated date and so on.
>>
>>The plugin marks all the classes as having no @Id. Looking on the
>>website is does say that this is not implemented yet.
>>
>>When are those "unimplemented features" due to be implemented? M3?
>>Also, if not all those features, where can i request those?
>>
>>Thanks,
>>
>>Darren
>>Dolby Labs Inc.
>
>
>
The @Id is defined in a class annotated with @EmbeddedSuperclass. We've
done this so each entity has the same type of primary key, which works well.
This is why it's failing. It also blows with a NPE.
I'll get the stack trace as soon as poss.
We're looking forward to the M2 release.