[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.emf] Re: [Teneo] warning messages
|
Thank you.
"Martin Taal" <mtaal@xxxxxxxxx> wrote in message
news:gu36po$kpv$1@xxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxx> wrote in message
>> news:gtuba2$3gi$1@xxxxxxxxxxxxxxxxxxxx
>>> 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@xxxxxxxxxxxxxx - mtaal@xxxxxxxxx
>>> 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@xxxxxxxxxxxxxx - mtaal@xxxxxxxxx
> Web: www.springsite.com - www.elver.org