| [CDO] Example cdo-server.xml for a DB store [message #912064] |
Wed, 12 September 2012 17:56  |
Eclipse User |
|
|
|
Hi,
Does anyone have a *simple* example of a cdo-server.xml file for a "db" store type (rather than hibernate).
I am using org.eclipse.emf.cdo.server.product.tcp_h2
and a h2 server.
As a side note, is the main advantage of using Hibernate / Teneo the ability to tweak the table and column names or are there some fundamental advantages?
|
|
|
|
|
| Re: [CDO] Example cdo-server.xml for a DB store [message #912219 is a reply to message #912214] |
Thu, 13 September 2012 02:39   |
Eclipse User |
|
|
|
Hi Mark,
Next to hql another advantage of the hibernate store is that it allows very detailed mapping of your model to the
relational db. This includes using join tables, secondary tables, mapping inheritance structures in different way
(joined, single table, mappedsuperclass).
The hibernate store uses Teneo which has been used for many years and has been used to map hunderds of models automatically.
gr. Martin
On 09/13/2012 08:33 AM, Christoph Keimel wrote:
> Hi Mark
>
> for me, the ability to use HQL as query language is a great feature you get with Hibernate.
>
> Greetings
> Christoph
--
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@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06664 seconds