Teneo: refresh data from DB [message #79166] |
Tue, 10 April 2007 09:51  |
Eclipse User |
|
|
|
Originally posted by: mat.loo.gmail.com
Hi again,
Is there an easy way to get synchronized with the DB ?
That is, to get last data put into the DB by other users ?
Thx
|
|
|
|
|
Re: Teneo: refresh data from DB [message #79222 is a reply to message #79210] |
Tue, 10 April 2007 10:39  |
Eclipse User |
|
|
|
I see what you mean, no there is currently no orm-transparent way.
Btw, it could make sense to have a refresh option on a resource but that is probably a fair amount
of work (I mean synchronising the whole resource with the backend database). If this is an
interesting feature then please enter a bugzilla. Although, I won't have time to look at this in the
short/mid term (months), so if anyone wants to contribute here then they are (very) welcome.
gr. Martin
Mat Lo wrote:
> Thx Martin.
>
> I found what I needed in Hibernate manual (on the Session object, I call
> refresh(EObject) and everything works fine).
>
> But is there not a way to use "Teneo", I mean Hibernate or JPox
> transparently.
>
> Thx again
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
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
|
|
|
Re: Teneo: refresh data from DB [message #604559 is a reply to message #79166] |
Tue, 10 April 2007 09:55  |
Eclipse User |
|
|
|
Hi,
You can refresh the state of an object (see the hibernate manual for more info).
gr. Martin
Mat Lo wrote:
> Hi again,
>
> Is there an easy way to get synchronized with the DB ?
> That is, to get last data put into the DB by other users ?
>
> Thx
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
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
|
|
|
Re: Teneo: refresh data from DB [message #604567 is a reply to message #79182] |
Tue, 10 April 2007 10:27  |
Eclipse User |
|
|
|
Originally posted by: mat.loo.gmail.com
Thx Martin.
I found what I needed in Hibernate manual (on the Session object, I call
refresh(EObject) and everything works fine).
But is there not a way to use "Teneo", I mean Hibernate or JPox
transparently.
Thx again
|
|
|
Re: Teneo: refresh data from DB [message #604570 is a reply to message #79210] |
Tue, 10 April 2007 10:39  |
Eclipse User |
|
|
|
I see what you mean, no there is currently no orm-transparent way.
Btw, it could make sense to have a refresh option on a resource but that is probably a fair amount
of work (I mean synchronising the whole resource with the backend database). If this is an
interesting feature then please enter a bugzilla. Although, I won't have time to look at this in the
short/mid term (months), so if anyone wants to contribute here then they are (very) welcome.
gr. Martin
Mat Lo wrote:
> Thx Martin.
>
> I found what I needed in Hibernate manual (on the Session object, I call
> refresh(EObject) and everything works fine).
>
> But is there not a way to use "Teneo", I mean Hibernate or JPox
> transparently.
>
> Thx again
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
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.03586 seconds