Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.0, 1.1.0
-
Fix Version/s: 1.2.0
-
Component/s: None
-
Labels:None
Description
Trails currently does not support entites with composite (primary) keys. Support for this woud be nice.
Note: Alejandro said in an email that he will post my example together with a patch on this JIRA.
Issue Links
- relates to
-
TRAILS-152
When using AssignedIds if a new object repeats an already existing pk, the new object overwrites the old one.
-
Excerpt of the email thread on it:
Alejandro Scandroli
to users
Sep 6 (2 days ago)
Hi Ognen
On 9/6/07, Ognen Ivanovski <ognen.ivanovski@netcetera.com.mk> wrote:
> Yes, I/we got this far with the mapping. The question is, will Trails
> handle this?
Sadly it won't be able to do it. I did a quick test and I got :
org.trails.descriptor.IdentifierDescriptor cannot be cast to
org.trails.descriptor.EmbeddedDescriptor
But it should be easy to fix, let me think about it, I will get back to you.