Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Trouble using 'embedded' annotation
Trouble using 'embedded' annotation [message #606812] Tue, 29 May 2007 21:25
Jason Henriksen is currently offline Jason HenriksenFriend
Messages: 231
Registered: July 2009
Senior Member
Hi All,

I'm still having trouble making embedded objects work. I'm trying to get
VSPDate and VSPDateTime to appear in the table for my Network object which
extends the Persistent object. I see other simple fields from Persistent
show up. However the embeded columns from lastUpdateDateTime and
versionCreateDate do not appear in the database.

Thanks for any suggestions,

Jason Henriksen

<?xml version="1.0" encoding="UTF-8"?>
<p:persistence-mapping xmlns:p=""
persistence-mapping-hibernate.xsd ">
<p:epackage namespace-uri="">
<!-- ignore the transport classes -->
<p:eclass name="CreateType"><p:transient /></p:eclass>
<p:eclass name="CreateResponseType"><p:transient /></p:eclass>
<p:eclass name="DeleteType"><p:transient /></p:eclass>
<p:eclass name="DeleteResponseType"><p:transient /></p:eclass>

<!-- make vspdate embeddable -->
<p:eclass name="VSPDateTime"> <p:embeddable/> </p:eclass>
<p:eclass name="VSPDate"> <p:embeddable/> </p:eclass>

<!-- embed the dates -->
<p:eclass name="Persistent">
<p:property name="lastUpdateDateTime">
<p:property name="versionCreateDate">

Previous Topic:[Teneo]JUnit stackoverflow
Next Topic:[Teneo] Enhancement using ENum literals in HQL queries...
Goto Forum:

Current Time: Tue Jan 19 23:01:04 GMT 2021

Powered by FUDForum. Page generated in 0.02115 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top