Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Teneo] warning messages
[Teneo] warning messages [message #429937] Wed, 06 May 2009 23:34 Go to next message
Rachna Bakhru is currently offline Rachna BakhruFriend
Messages: 45
Registered: July 2009
Member
I see these warning messages in my logs.

I have also set the following property:

props.setProperty(Environment.HBM2DDL_AUTO, "validate");

which ones should I really be worried about?





16:06:02,963 WARN DefaultExtensionManager:160 - The extension:
org.eclipse.emf.teneo.PersistenceOptions is declared as a singleton but this
getInstance call passed initialization parameters so it is not cached,
org.eclipse.emf.teneo.PersistenceOptions

16:06:02,994 WARN DefaultExtensionManager:160 - The extension:
org.eclipse.emf.teneo.PersistenceOptions is declared as a singleton but this
getInstance call passed initialization parameters so it is not cached,
org.eclipse.emf.teneo.PersistenceOptions

16:06:02,994 WARN DefaultExtensionManager:160 - The extension:
org.eclipse.emf.teneo.PersistenceOptions is declared as a singleton but this
getInstance call passed initialization parameters so it is not cached,
org.eclipse.emf.teneo.PersistenceOptions

16:06:03,010 WARN DefaultExtensionManager:160 - The extension:
org.eclipse.emf.teneo.PersistenceOptions is declared as a singleton but this
getInstance call passed initialization parameters so it is not cached,
org.eclipse.emf.teneo.PersistenceOptions

16:06:03,010 WARN DefaultExtensionManager:160 - The extension:
org.eclipse.emf.teneo.PersistenceOptions is declared as a singleton but this
getInstance call passed initialization parameters so it is not cached,
org.eclipse.emf.teneo.PersistenceOptions

16:06:03,010 WARN DefaultExtensionManager:160 - The extension:
org.eclipse.emf.teneo.PersistenceOptions is declared as a singleton but this
getInstance call passed initialization parameters so it is not cached,
org.eclipse.emf.teneo.PersistenceOptions

16:06:03,010 WARN DefaultExtensionManager:160 - The extension:
org.eclipse.emf.teneo.PersistenceOptions is declared as a singleton but this
getInstance call passed initialization parameters so it is not cached,
org.eclipse.emf.teneo.PersistenceOptions

16:06:03,010 WARN DefaultExtensionManager:160 - The extension:
org.eclipse.emf.teneo.PersistenceOptions is declared as a singleton but this
getInstance call passed initialization parameters so it is not cached,
org.eclipse.emf.teneo.PersistenceOptions

16:06:03,010 WARN DefaultExtensionManager:160 - The extension:
org.eclipse.emf.teneo.PersistenceOptions is declared as a singleton but this
getInstance call passed initialization parameters so it is not cached,
org.eclipse.emf.teneo.PersistenceOptions

16:06:04,072 WARN HbDataStore:351 - No hibernate cache provider set, using
org.hibernate.cache.HashtableCacheProvider

16:06:04,072 WARN HbDataStore:354 - For production use please set the
ehcache (or other) provider explicitly and configure it

16:06:04,104 WARN HbDataStore:249 - The teneo update schema option is not
used anymore for hibernate, use the hibernate option: hibernate.hbm2ddl.auto

16:06:28,385 WARN HbDataStore:351 - No hibernate cache provider set, using
org.hibernate.cache.HashtableCacheProvider

16:06:28,385 WARN HbDataStore:354 - For production use please set the
ehcache (or other) provider explicitly and configure it

16:06:28,385 WARN HbDataStore:249 - The teneo update schema option is not
used anymore for hibernate, use the hibernate option: hibernate.hbm2ddl.auto
Re: [Teneo] warning messages [message #429947 is a reply to message #429937] Thu, 07 May 2009 09:57 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi RJ,
Comments per warning below, marked with MT>>

gr. Martin

RJDAG wrote:
> I see these warning messages in my logs.
>
> I have also set the following property:
>
> props.setProperty(Environment.HBM2DDL_AUTO, "validate");
>
> which ones should I really be worried about?
>
> 16:06:02,963 WARN DefaultExtensionManager:160 - The extension:
> org.eclipse.emf.teneo.PersistenceOptions is declared as a singleton but this
> getInstance call passed initialization parameters so it is not cached,
> org.eclipse.emf.teneo.PersistenceOptions
MT>> I have entered an issue for this to check this further. I have also seen it myself, so I need to check this further.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=275278

> 16:06:04,072 WARN HbDataStore:351 - No hibernate cache provider set, using
> org.hibernate.cache.HashtableCacheProvider
>
> 16:06:04,072 WARN HbDataStore:354 - For production use please set the
> ehcache (or other) provider explicitly and configure it
MT>> This means that you did not set the hibernate option: hibernate.cache.provider_class. If not set then Teneo will
choose the HashtableCacheProvider which (according to the hibernate manual) is not for production use.
Teneo chooses that cache provider because it does not have any dependency on other libraries.

>
> 16:06:04,104 WARN HbDataStore:249 - The teneo update schema option is not
> used anymore for hibernate, use the hibernate option: hibernate.hbm2ddl.auto
MT>> This means that somewhere you set/pass the option: PersistenceOptions.UPDATE_SCHEMA. Is that correct?
This option is deprecated.
>
>
>
>
>


--

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
Re: [Teneo] warning messages [message #430051 is a reply to message #429947] Fri, 08 May 2009 17:08 Go to previous messageGo to next message
Rachna Bakhru is currently offline Rachna BakhruFriend
Messages: 45
Registered: July 2009
Member
Regarding this
> 16:06:04,104 WARN HbDataStore:249 - The teneo update schema option is not
> used anymore for hibernate, use the hibernate option:
> hibernate.hbm2ddl.auto
MT>> This means that somewhere you set/pass the option:
PersistenceOptions.UPDATE_SCHEMA. Is that correct?
This option is deprecated.

I am not setting the option: PersistenceOptions.UPDATE_SCHEMA
In my copy of the source code.(I downloaded it in February and I am using
teneo 1.0.2 runtime)
In the org.eclipse.emf.teneo.PersistenceOptions class

public static Properties getDefaultProperties() method sets this property to
true

props.setProperty(UPDATE_SCHEMA, "true");




"Martin Taal" <mtaal@elver.org> wrote in message
news:gtuba2$3gi$1@build.eclipse.org...
> Hi RJ,
> Comments per warning below, marked with MT>>
>
> gr. Martin
>
> RJDAG wrote:
>> I see these warning messages in my logs.
>>
>> I have also set the following property:
>>
>> props.setProperty(Environment.HBM2DDL_AUTO, "validate");
>>
>> which ones should I really be worried about?
>>
>> 16:06:02,963 WARN DefaultExtensionManager:160 - The extension:
>> org.eclipse.emf.teneo.PersistenceOptions is declared as a singleton but
>> this getInstance call passed initialization parameters so it is not
>> cached, org.eclipse.emf.teneo.PersistenceOptions
> MT>> I have entered an issue for this to check this further. I have also
> seen it myself, so I need to check this further.
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=275278
>
>> 16:06:04,072 WARN HbDataStore:351 - No hibernate cache provider set,
>> using org.hibernate.cache.HashtableCacheProvider
>>
>> 16:06:04,072 WARN HbDataStore:354 - For production use please set the
>> ehcache (or other) provider explicitly and configure it
> MT>> This means that you did not set the hibernate option:
> hibernate.cache.provider_class. If not set then Teneo will choose the
> HashtableCacheProvider which (according to the hibernate manual) is not
> for production use.
> Teneo chooses that cache provider because it does not have any dependency
> on other libraries.
>
>>
>> 16:06:04,104 WARN HbDataStore:249 - The teneo update schema option is
>> not used anymore for hibernate, use the hibernate option:
>> hibernate.hbm2ddl.auto
> MT>> This means that somewhere you set/pass the option:
> PersistenceOptions.UPDATE_SCHEMA. Is that correct?
> This option is deprecated.
>>
>>
>>
>>
>>
>
>
> --
>
> 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
Re: [Teneo] warning messages [message #430065 is a reply to message #430051] Sat, 09 May 2009 06:11 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Yes you are right. I will add it to the bugzilla to take care of this.

gr. Martin

RJDAG wrote:
> Regarding this
>> 16:06:04,104 WARN HbDataStore:249 - The teneo update schema option is not
>> used anymore for hibernate, use the hibernate option:
>> hibernate.hbm2ddl.auto
> MT>> This means that somewhere you set/pass the option:
> PersistenceOptions.UPDATE_SCHEMA. Is that correct?
> This option is deprecated.
>
> I am not setting the option: PersistenceOptions.UPDATE_SCHEMA
> In my copy of the source code.(I downloaded it in February and I am using
> teneo 1.0.2 runtime)
> In the org.eclipse.emf.teneo.PersistenceOptions class
>
> public static Properties getDefaultProperties() method sets this property to
> true
>
> props.setProperty(UPDATE_SCHEMA, "true");
>
>
>
>
> "Martin Taal" <mtaal@elver.org> wrote in message
> news:gtuba2$3gi$1@build.eclipse.org...
>> Hi RJ,
>> Comments per warning below, marked with MT>>
>>
>> gr. Martin
>>
>> RJDAG wrote:
>>> I see these warning messages in my logs.
>>>
>>> I have also set the following property:
>>>
>>> props.setProperty(Environment.HBM2DDL_AUTO, "validate");
>>>
>>> which ones should I really be worried about?
>>>
>>> 16:06:02,963 WARN DefaultExtensionManager:160 - The extension:
>>> org.eclipse.emf.teneo.PersistenceOptions is declared as a singleton but
>>> this getInstance call passed initialization parameters so it is not
>>> cached, org.eclipse.emf.teneo.PersistenceOptions
>> MT>> I have entered an issue for this to check this further. I have also
>> seen it myself, so I need to check this further.
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=275278
>>
>>> 16:06:04,072 WARN HbDataStore:351 - No hibernate cache provider set,
>>> using org.hibernate.cache.HashtableCacheProvider
>>>
>>> 16:06:04,072 WARN HbDataStore:354 - For production use please set the
>>> ehcache (or other) provider explicitly and configure it
>> MT>> This means that you did not set the hibernate option:
>> hibernate.cache.provider_class. If not set then Teneo will choose the
>> HashtableCacheProvider which (according to the hibernate manual) is not
>> for production use.
>> Teneo chooses that cache provider because it does not have any dependency
>> on other libraries.
>>
>>> 16:06:04,104 WARN HbDataStore:249 - The teneo update schema option is
>>> not used anymore for hibernate, use the hibernate option:
>>> hibernate.hbm2ddl.auto
>> MT>> This means that somewhere you set/pass the option:
>> PersistenceOptions.UPDATE_SCHEMA. Is that correct?
>> This option is deprecated.
>>>
>>>
>>>
>>>
>>
>> --
>>
>> 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
>
>


--

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
Re: [Teneo] warning messages [message #430125 is a reply to message #430065] Mon, 11 May 2009 17:09 Go to previous message
Rachna Bakhru is currently offline Rachna BakhruFriend
Messages: 45
Registered: July 2009
Member
Thank you.
"Martin Taal" <mtaal@elver.org> wrote in message
news:gu36po$kpv$1@build.eclipse.org...
> Yes you are right. I will add it to the bugzilla to take care of this.
>
> gr. Martin
>
> RJDAG wrote:
>> Regarding this
>>> 16:06:04,104 WARN HbDataStore:249 - The teneo update schema option is
>>> not used anymore for hibernate, use the hibernate option:
>>> hibernate.hbm2ddl.auto
>> MT>> This means that somewhere you set/pass the option:
>> PersistenceOptions.UPDATE_SCHEMA. Is that correct?
>> This option is deprecated.
>>
>> I am not setting the option: PersistenceOptions.UPDATE_SCHEMA
>> In my copy of the source code.(I downloaded it in February and I am using
>> teneo 1.0.2 runtime)
>> In the org.eclipse.emf.teneo.PersistenceOptions class
>>
>> public static Properties getDefaultProperties() method sets this property
>> to true
>>
>> props.setProperty(UPDATE_SCHEMA, "true");
>>
>>
>>
>>
>> "Martin Taal" <mtaal@elver.org> wrote in message
>> news:gtuba2$3gi$1@build.eclipse.org...
>>> Hi RJ,
>>> Comments per warning below, marked with MT>>
>>>
>>> gr. Martin
>>>
>>> RJDAG wrote:
>>>> I see these warning messages in my logs.
>>>>
>>>> I have also set the following property:
>>>>
>>>> props.setProperty(Environment.HBM2DDL_AUTO, "validate");
>>>>
>>>> which ones should I really be worried about?
>>>>
>>>> 16:06:02,963 WARN DefaultExtensionManager:160 - The extension:
>>>> org.eclipse.emf.teneo.PersistenceOptions is declared as a singleton but
>>>> this getInstance call passed initialization parameters so it is not
>>>> cached, org.eclipse.emf.teneo.PersistenceOptions
>>> MT>> I have entered an issue for this to check this further. I have also
>>> seen it myself, so I need to check this further.
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=275278
>>>
>>>> 16:06:04,072 WARN HbDataStore:351 - No hibernate cache provider set,
>>>> using org.hibernate.cache.HashtableCacheProvider
>>>>
>>>> 16:06:04,072 WARN HbDataStore:354 - For production use please set the
>>>> ehcache (or other) provider explicitly and configure it
>>> MT>> This means that you did not set the hibernate option:
>>> hibernate.cache.provider_class. If not set then Teneo will choose the
>>> HashtableCacheProvider which (according to the hibernate manual) is not
>>> for production use.
>>> Teneo chooses that cache provider because it does not have any
>>> dependency on other libraries.
>>>
>>>> 16:06:04,104 WARN HbDataStore:249 - The teneo update schema option is
>>>> not used anymore for hibernate, use the hibernate option:
>>>> hibernate.hbm2ddl.auto
>>> MT>> This means that somewhere you set/pass the option:
>>> PersistenceOptions.UPDATE_SCHEMA. Is that correct?
>>> This option is deprecated.
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>>
>>> 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
>>
>>
>
>
> --
>
> 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:How to install new Version of Jet (aka Jet2) ?
Next Topic:Re: [Teneo] Error on session.merge() - EMFInstantiator trying to create instance of abstract class?
Goto Forum:
  


Current Time: Mon Sep 23 09:10:54 GMT 2024

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

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

Back to the top