|
Re: Teneo: How to render artefacts persisted in a DB to GMF editor interface? [message #623059 is a reply to message #623051] |
Wed, 14 July 2010 15:10 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Stumppi,
I am holiday therefore the later reply... I am afraid that I don't have real GMF knowledge. So hopefully you have found
the answer already..
The database name is set in the database connection properties (the url). An example of this can be found in the
StoreController class (in the tutorial).
gr. Martin
On 07/09/2010 12:47 AM, Stumppi@web.de wrote:
> Hi,
> it is possible to persist a model instance created in GMF editor using
> the Teneo/Hibernate framework.
>
> However, is there a way to read a persisted model instance from a
> database and render artefacts to the GMF editor interface (initially and
> repeatedly), the other way around so to say.... Teneo tutorials only
> show how to query persisted data, but not how to route the data directly
> to the GMF editor interface.
>
> I experiemented with the HibernateXMLResource which I guess is the way
> to go, but couldn't find a way to get this to work.
>
> Are there any experiences out there where to start with?
>
> In this regard: The tutorials work with a database called "library". How
> can I actually set the name of the database.
>
> Thanks, Stumppi
>
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Powered by
FUDForum. Page generated in 0.03235 seconds