Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] HbDataStore.reinitialize()
[Teneo] HbDataStore.reinitialize() [message #107687] Fri, 18 January 2008 11:15 Go to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 307
Registered: July 2009
Location: Germany
Senior Member
Hi all,

on http://www.elver.org/hibernate/dynamic.html it says:


<<

Step 2: Reconfigure Hibernate and the Relational Database

The EPackage has been created now Hibernate should be reconfigured and
the database schema should be updated. To reinitialize a HbDataStore the
reinitialize method should be called (not the initialize method).

// reinitialize hibernate and update the database schema
hbds.reInitialize();

>>


However, I do not see the method reInitialize() in HbDataSource.
Is it new? (I have 0.8.0.v200712280940 here ...)
Or did I miss something?

Cheers,
Stefan
Re: [Teneo] HbDataStore.reinitialize() [message #107702 is a reply to message #107687] Fri, 18 January 2008 11:35 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Stefan,
The docs are out-of-date on this, I will update them.

You can call initialize again to re-initialize the datastore. I removed the reInitialize method a
while back because it afterall made more sense (to me) to explicitly call initialize again instead
of having an extra method in the api.

gr. Martin

Stefan Winkler wrote:
> Hi all,
>
> on http://www.elver.org/hibernate/dynamic.html it says:
>
>
> <<
>
> Step 2: Reconfigure Hibernate and the Relational Database
>
> The EPackage has been created now Hibernate should be reconfigured and
> the database schema should be updated. To reinitialize a HbDataStore the
> reinitialize method should be called (not the initialize method).
>
> // reinitialize hibernate and update the database schema
> hbds.reInitialize();
>
> >>
>
>
> However, I do not see the method reInitialize() in HbDataSource.
> Is it new? (I have 0.8.0.v200712280940 here ...)
> Or did I miss something?
>
> Cheers,
> Stefan


--

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] HbDataStore.reinitialize() [message #614049 is a reply to message #107687] Fri, 18 January 2008 11:35 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Stefan,
The docs are out-of-date on this, I will update them.

You can call initialize again to re-initialize the datastore. I removed the reInitialize method a
while back because it afterall made more sense (to me) to explicitly call initialize again instead
of having an extra method in the api.

gr. Martin

Stefan Winkler wrote:
> Hi all,
>
> on http://www.elver.org/hibernate/dynamic.html it says:
>
>
> <<
>
> Step 2: Reconfigure Hibernate and the Relational Database
>
> The EPackage has been created now Hibernate should be reconfigured and
> the database schema should be updated. To reinitialize a HbDataStore the
> reinitialize method should be called (not the initialize method).
>
> // reinitialize hibernate and update the database schema
> hbds.reInitialize();
>
> >>
>
>
> However, I do not see the method reInitialize() in HbDataSource.
> Is it new? (I have 0.8.0.v200712280940 here ...)
> Or did I miss something?
>
> Cheers,
> Stefan


--

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] HbDataStore.reinitialize() [message #665991 is a reply to message #107702] Mon, 18 April 2011 13:34 Go to previous messageGo to next message
Liviu-Marian Negrila is currently offline Liviu-Marian NegrilaFriend
Messages: 53
Registered: July 2009
Member
I don't think you can call the initialize() method on a data store with
teneo in version 1.1.2


See the post with the subject:
<<Re: [Teneo] Re: HBSessionDataStore.initialize() / reinitialize?>>


Thanks
Liviu

On 18/01/08 13:35, Martin Taal wrote:
> Hi Stefan,
> The docs are out-of-date on this, I will update them.
>
> You can call initialize again to re-initialize the datastore. I removed
> the reInitialize method a while back because it afterall made more sense
> (to me) to explicitly call initialize again instead of having an extra
> method in the api.
>
> gr. Martin
>
> Stefan Winkler wrote:
>> Hi all,
>>
>> on http://www.elver.org/hibernate/dynamic.html it says:
>>
>>
>> <<
>>
>> Step 2: Reconfigure Hibernate and the Relational Database
>>
>> The EPackage has been created now Hibernate should be reconfigured and
>> the database schema should be updated. To reinitialize a HbDataStore
>> the reinitialize method should be called (not the initialize method).
>>
>> // reinitialize hibernate and update the database schema
>> hbds.reInitialize();
>>
>> >>
>>
>>
>> However, I do not see the method reInitialize() in HbDataSource.
>> Is it new? (I have 0.8.0.v200712280940 here ...)
>> Or did I miss something?
>>
>> Cheers,
>> Stefan
>
>
Re: [Teneo] HbDataStore.reinitialize() [message #666132 is a reply to message #665991] Tue, 19 April 2011 09:00 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
For the record, this should be solved now in the new build published today.

gr. Martin

On 04/18/2011 03:34 PM, Liviu Negrila wrote:
> I don't think you can call the initialize() method on a data store with teneo in version 1.1.2
>
>
> See the post with the subject:
> <<Re: [Teneo] Re: HBSessionDataStore.initialize() / reinitialize?>>
>
>
> Thanks
> Liviu
>
> On 18/01/08 13:35, Martin Taal wrote:
>> Hi Stefan,
>> The docs are out-of-date on this, I will update them.
>>
>> You can call initialize again to re-initialize the datastore. I removed
>> the reInitialize method a while back because it afterall made more sense
>> (to me) to explicitly call initialize again instead of having an extra
>> method in the api.
>>
>> gr. Martin
>>
>> Stefan Winkler wrote:
>>> Hi all,
>>>
>>> on http://www.elver.org/hibernate/dynamic.html it says:
>>>
>>>
>>> <<
>>>
>>> Step 2: Reconfigure Hibernate and the Relational Database
>>>
>>> The EPackage has been created now Hibernate should be reconfigured and
>>> the database schema should be updated. To reinitialize a HbDataStore
>>> the reinitialize method should be called (not the initialize method).
>>>
>>> // reinitialize hibernate and update the database schema
>>> hbds.reInitialize();
>>>
>>> >>
>>>
>>>
>>> However, I do not see the method reInitialize() in HbDataSource.
>>> Is it new? (I have 0.8.0.v200712280940 here ...)
>>> Or did I miss something?
>>>
>>> Cheers,
>>> Stefan
>>
>>
>


--

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
Previous Topic:HBSessionDataStore.initialize() / reinitialize?
Next Topic:[EEF] Elements don't show in AdvancedReferencesTable
Goto Forum:
  


Current Time: Tue Apr 16 17:12:28 GMT 2024

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

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

Back to the top