Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Lock in case Inheritance
Lock in case Inheritance [message #66320] Wed, 03 January 2007 09:20 Go to next message
Eclipse UserFriend
Originally posted by: gao.spiehl.cn

Hi Martin,

Happy new years.

In our model wir use inheritance. We have problem with database lock.

We found, that should be a hibernater bug, that is resolved in the version
3.2.0.cr4 (siehe
http://opensource.atlassian.com/projects/hibernate/browse/HH H-1848).

Is a known problem for you?

Do you plan to delivery a new teneo version which contains the new hibernate
version? Or can we change the hibernate version self?

Best regards,

Hui
Re: Lock in case Inheritance [message #66340 is a reply to message #66320] Wed, 03 January 2007 09:41 Go to previous messageGo to next message
Eclipse UserFriend
Hi Hui,
Happy new year also to you!

I have not tried cr4 yet but normally the api does not change that much so you can give it a try.

gr. Martin

Hui Gao wrote:
> Hi Martin,
>
> Happy new years.
>
> In our model wir use inheritance. We have problem with database lock.
>
> We found, that should be a hibernater bug, that is resolved in the version
> 3.2.0.cr4 (siehe
> http://opensource.atlassian.com/projects/hibernate/browse/HH H-1848).
>
> Is a known problem for you?
>
> Do you plan to delivery a new teneo version which contains the new hibernate
> version? Or can we change the hibernate version self?
>
> Best regards,
>
> Hui
>
>
>


--

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: Lock in case Inheritance [message #67479 is a reply to message #66340] Tue, 09 January 2007 03:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gao.spiehl.cn

Hi Martin,

So I want to try to replace the hibernate version.

I downloaded the teneo version 0.7.5 and can not find the hibernate.jar
files, which is simple to be found in the elver version 0.7.2 (download time
ca. june 2006)

Where can I found the hibernate.jar in the current teneo version?

Thanks,

Hui



"Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
news:engfad$h59$1@utils.eclipse.org...
> Hi Hui,
> Happy new year also to you!
>
> I have not tried cr4 yet but normally the api does not change that much so
> you can give it a try.
>
> gr. Martin
>
> Hui Gao wrote:
>> Hi Martin,
>>
>> Happy new years.
>>
>> In our model wir use inheritance. We have problem with database lock.
>>
>> We found, that should be a hibernater bug, that is resolved in the
>> version 3.2.0.cr4 (siehe
>> http://opensource.atlassian.com/projects/hibernate/browse/HH H-1848).
>>
>> Is a known problem for you?
>>
>> Do you plan to delivery a new teneo version which contains the new
>> hibernate version? Or can we change the hibernate version self?
>>
>> Best regards,
>>
>> Hui
>>
>>
>>
>
>
> --
>
> 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: Lock in case Inheritance [message #67520 is a reply to message #67479] Tue, 09 January 2007 04:18 Go to previous messageGo to next message
Eclipse UserFriend
Hi Hui,
Hibernate is not distributed together with Teneo because of different licensing. You have to
download hibernate separately and put the hibernate jars in a separate plugin, also check out the
eclipse buddypolicy setting:
http://www.elver.org/hibernate/installation.html

gr. Martin

Hui Gao wrote:
> Hi Martin,
>
> So I want to try to replace the hibernate version.
>
> I downloaded the teneo version 0.7.5 and can not find the hibernate.jar
> files, which is simple to be found in the elver version 0.7.2 (download time
> ca. june 2006)
>
> Where can I found the hibernate.jar in the current teneo version?
>
> Thanks,
>
> Hui
>
>
>
> "Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
> news:engfad$h59$1@utils.eclipse.org...
>> Hi Hui,
>> Happy new year also to you!
>>
>> I have not tried cr4 yet but normally the api does not change that much so
>> you can give it a try.
>>
>> gr. Martin
>>
>> Hui Gao wrote:
>>> Hi Martin,
>>>
>>> Happy new years.
>>>
>>> In our model wir use inheritance. We have problem with database lock.
>>>
>>> We found, that should be a hibernater bug, that is resolved in the
>>> version 3.2.0.cr4 (siehe
>>> http://opensource.atlassian.com/projects/hibernate/browse/HH H-1848).
>>>
>>> Is a known problem for you?
>>>
>>> Do you plan to delivery a new teneo version which contains the new
>>> hibernate version? Or can we change the hibernate version self?
>>>
>>> Best regards,
>>>
>>> Hui
>>>
>>>
>>>
>>
>> --
>>
>> 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
>
>


--

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: Lock in case Inheritance [message #67587 is a reply to message #67520] Tue, 09 January 2007 09:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gao.spiehl.cn

Hi Martin,

thanks for your help. Sorry, I have not read the documentation again.

Now I have an another problem:

A hibernate plugin is created. (hibernate3.jar and all .jars under the lib
are included in the classpath of this plugin. All packages of the
hibenate3.jar are exported).
In its manifest.mf: Eclipse-BuddyPolicy: dependent is added

In the plugin (model project) that teneo is used, we do:
add teneo plugin and our hibernate plugin in the dependence of the
plugin.xml. Both are set re-export = true

Problem: in the class (model project) that extend HbDataStore occurs error
message:

"The type org.hibernate.cfg.Configuration can not be resolved. It is
indirecty referenced from required .class file"

Can you help me?

Thanks,
Hui



"Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
news:envmlg$23l$1@utils.eclipse.org...
> Hi Hui,
> Hibernate is not distributed together with Teneo because of different
> licensing. You have to download hibernate separately and put the hibernate
> jars in a separate plugin, also check out the eclipse buddypolicy setting:
> http://www.elver.org/hibernate/installation.html
>
> gr. Martin
>
> Hui Gao wrote:
>> Hi Martin,
>>
>> So I want to try to replace the hibernate version.
>>
>> I downloaded the teneo version 0.7.5 and can not find the hibernate.jar
>> files, which is simple to be found in the elver version 0.7.2 (download
>> time ca. june 2006)
>>
>> Where can I found the hibernate.jar in the current teneo version?
>>
>> Thanks,
>>
>> Hui
>>
>>
>>
>> "Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
>> news:engfad$h59$1@utils.eclipse.org...
>>> Hi Hui,
>>> Happy new year also to you!
>>>
>>> I have not tried cr4 yet but normally the api does not change that much
>>> so you can give it a try.
>>>
>>> gr. Martin
>>>
>>> Hui Gao wrote:
>>>> Hi Martin,
>>>>
>>>> Happy new years.
>>>>
>>>> In our model wir use inheritance. We have problem with database lock.
>>>>
>>>> We found, that should be a hibernater bug, that is resolved in the
>>>> version 3.2.0.cr4 (siehe
>>>> http://opensource.atlassian.com/projects/hibernate/browse/HH H-1848).
>>>>
>>>> Is a known problem for you?
>>>>
>>>> Do you plan to delivery a new teneo version which contains the new
>>>> hibernate version? Or can we change the hibernate version self?
>>>>
>>>> Best regards,
>>>>
>>>> Hui
>>>>
>>>>
>>>>
>>>
>>> --
>>>
>>> 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
>>
>>
>
>
> --
>
> 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: Lock in case Inheritance [message #67609 is a reply to message #67587] Tue, 09 January 2007 11:19 Go to previous messageGo to next message
Eclipse UserFriend
Hi Hui,
I am not sure if it applies to you but did you check this:
http://www.elver.org/hibernate/troubleshooting.html#java.lan g.NoClassDefFoundError+when+starting%2Finitializing+runtime+ layer

So the hibernate plugin should be imported in the plugin with the widest classpath.

Another thing is to start eclipse with -clean.

gr. Martin

Hui Gao wrote:
> Hi Martin,
>
> thanks for your help. Sorry, I have not read the documentation again.
>
> Now I have an another problem:
>
> A hibernate plugin is created. (hibernate3.jar and all .jars under the lib
> are included in the classpath of this plugin. All packages of the
> hibenate3.jar are exported).
> In its manifest.mf: Eclipse-BuddyPolicy: dependent is added
>
> In the plugin (model project) that teneo is used, we do:
> add teneo plugin and our hibernate plugin in the dependence of the
> plugin.xml. Both are set re-export = true
>
> Problem: in the class (model project) that extend HbDataStore occurs error
> message:
>
> "The type org.hibernate.cfg.Configuration can not be resolved. It is
> indirecty referenced from required .class file"
>
> Can you help me?
>
> Thanks,
> Hui
>
>
>
> "Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
> news:envmlg$23l$1@utils.eclipse.org...
>> Hi Hui,
>> Hibernate is not distributed together with Teneo because of different
>> licensing. You have to download hibernate separately and put the hibernate
>> jars in a separate plugin, also check out the eclipse buddypolicy setting:
>> http://www.elver.org/hibernate/installation.html
>>
>> gr. Martin
>>
>> Hui Gao wrote:
>>> Hi Martin,
>>>
>>> So I want to try to replace the hibernate version.
>>>
>>> I downloaded the teneo version 0.7.5 and can not find the hibernate.jar
>>> files, which is simple to be found in the elver version 0.7.2 (download
>>> time ca. june 2006)
>>>
>>> Where can I found the hibernate.jar in the current teneo version?
>>>
>>> Thanks,
>>>
>>> Hui
>>>
>>>
>>>
>>> "Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
>>> news:engfad$h59$1@utils.eclipse.org...
>>>> Hi Hui,
>>>> Happy new year also to you!
>>>>
>>>> I have not tried cr4 yet but normally the api does not change that much
>>>> so you can give it a try.
>>>>
>>>> gr. Martin
>>>>
>>>> Hui Gao wrote:
>>>>> Hi Martin,
>>>>>
>>>>> Happy new years.
>>>>>
>>>>> In our model wir use inheritance. We have problem with database lock.
>>>>>
>>>>> We found, that should be a hibernater bug, that is resolved in the
>>>>> version 3.2.0.cr4 (siehe
>>>>> http://opensource.atlassian.com/projects/hibernate/browse/HH H-1848).
>>>>>
>>>>> Is a known problem for you?
>>>>>
>>>>> Do you plan to delivery a new teneo version which contains the new
>>>>> hibernate version? Or can we change the hibernate version self?
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Hui
>>>>>
>>>>>
>>>>>
>>>> --
>>>>
>>>> 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
>>>
>>
>> --
>>
>> 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
>
>


--

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: Lock in case Inheritance [message #67685 is a reply to message #67609] Wed, 10 January 2007 06:05 Go to previous message
Eclipse UserFriend
Originally posted by: gao.spiehl.cn

Hi Martin,

the problem is solved. Wrong: I have created just a plugin project for the
hibernate jars.

I should create a Plugin :
Plug-in Development-> Plug-in from existing JAR archives

now I can using hibenate classes.

Thanks!
Hui


"Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
news:eo0fbs$lvl$1@utils.eclipse.org...
> Hi Hui,
> I am not sure if it applies to you but did you check this:
> http://www.elver.org/hibernate/troubleshooting.html#java.lan g.NoClassDefFoundError+when+starting%2Finitializing+runtime+ layer
>
> So the hibernate plugin should be imported in the plugin with the widest
> classpath.
>
> Another thing is to start eclipse with -clean.
>
> gr. Martin
>
> Hui Gao wrote:
>> Hi Martin,
>>
>> thanks for your help. Sorry, I have not read the documentation again.
>>
>> Now I have an another problem:
>>
>> A hibernate plugin is created. (hibernate3.jar and all .jars under the
>> lib are included in the classpath of this plugin. All packages of the
>> hibenate3.jar are exported).
>> In its manifest.mf: Eclipse-BuddyPolicy: dependent is added
>>
>> In the plugin (model project) that teneo is used, we do:
>> add teneo plugin and our hibernate plugin in the dependence of the
>> plugin.xml. Both are set re-export = true
>>
>> Problem: in the class (model project) that extend HbDataStore occurs
>> error message:
>>
>> "The type org.hibernate.cfg.Configuration can not be resolved. It is
>> indirecty referenced from required .class file"
>>
>> Can you help me?
>>
>> Thanks,
>> Hui
>>
>>
>>
>> "Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
>> news:envmlg$23l$1@utils.eclipse.org...
>>> Hi Hui,
>>> Hibernate is not distributed together with Teneo because of different
>>> licensing. You have to download hibernate separately and put the
>>> hibernate jars in a separate plugin, also check out the eclipse
>>> buddypolicy setting:
>>> http://www.elver.org/hibernate/installation.html
>>>
>>> gr. Martin
>>>
>>> Hui Gao wrote:
>>>> Hi Martin,
>>>>
>>>> So I want to try to replace the hibernate version.
>>>>
>>>> I downloaded the teneo version 0.7.5 and can not find the hibernate.jar
>>>> files, which is simple to be found in the elver version 0.7.2 (download
>>>> time ca. june 2006)
>>>>
>>>> Where can I found the hibernate.jar in the current teneo version?
>>>>
>>>> Thanks,
>>>>
>>>> Hui
>>>>
>>>>
>>>>
>>>> "Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
>>>> news:engfad$h59$1@utils.eclipse.org...
>>>>> Hi Hui,
>>>>> Happy new year also to you!
>>>>>
>>>>> I have not tried cr4 yet but normally the api does not change that
>>>>> much so you can give it a try.
>>>>>
>>>>> gr. Martin
>>>>>
>>>>> Hui Gao wrote:
>>>>>> Hi Martin,
>>>>>>
>>>>>> Happy new years.
>>>>>>
>>>>>> In our model wir use inheritance. We have problem with database lock.
>>>>>>
>>>>>> We found, that should be a hibernater bug, that is resolved in the
>>>>>> version 3.2.0.cr4 (siehe
>>>>>> http://opensource.atlassian.com/projects/hibernate/browse/HH H-1848).
>>>>>>
>>>>>> Is a known problem for you?
>>>>>>
>>>>>> Do you plan to delivery a new teneo version which contains the new
>>>>>> hibernate version? Or can we change the hibernate version self?
>>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>> Hui
>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>>
>>>>> 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
>>>>
>>>
>>> --
>>>
>>> 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
>>
>>
>
>
> --
>
> 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: Lock in case Inheritance [message #600573 is a reply to message #66320] Wed, 03 January 2007 09:41 Go to previous message
Eclipse UserFriend
Hi Hui,
Happy new year also to you!

I have not tried cr4 yet but normally the api does not change that much so you can give it a try.

gr. Martin

Hui Gao wrote:
> Hi Martin,
>
> Happy new years.
>
> In our model wir use inheritance. We have problem with database lock.
>
> We found, that should be a hibernater bug, that is resolved in the version
> 3.2.0.cr4 (siehe
> http://opensource.atlassian.com/projects/hibernate/browse/HH H-1848).
>
> Is a known problem for you?
>
> Do you plan to delivery a new teneo version which contains the new hibernate
> version? Or can we change the hibernate version self?
>
> Best regards,
>
> Hui
>
>
>


--

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: Lock in case Inheritance [message #600991 is a reply to message #66340] Tue, 09 January 2007 03:43 Go to previous message
Eclipse UserFriend
Hi Martin,

So I want to try to replace the hibernate version.

I downloaded the teneo version 0.7.5 and can not find the hibernate.jar
files, which is simple to be found in the elver version 0.7.2 (download time
ca. june 2006)

Where can I found the hibernate.jar in the current teneo version?

Thanks,

Hui



"Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
news:engfad$h59$1@utils.eclipse.org...
> Hi Hui,
> Happy new year also to you!
>
> I have not tried cr4 yet but normally the api does not change that much so
> you can give it a try.
>
> gr. Martin
>
> Hui Gao wrote:
>> Hi Martin,
>>
>> Happy new years.
>>
>> In our model wir use inheritance. We have problem with database lock.
>>
>> We found, that should be a hibernater bug, that is resolved in the
>> version 3.2.0.cr4 (siehe
>> http://opensource.atlassian.com/projects/hibernate/browse/HH H-1848).
>>
>> Is a known problem for you?
>>
>> Do you plan to delivery a new teneo version which contains the new
>> hibernate version? Or can we change the hibernate version self?
>>
>> Best regards,
>>
>> Hui
>>
>>
>>
>
>
> --
>
> 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: Lock in case Inheritance [message #601001 is a reply to message #67479] Tue, 09 January 2007 04:18 Go to previous message
Eclipse UserFriend
Hi Hui,
Hibernate is not distributed together with Teneo because of different licensing. You have to
download hibernate separately and put the hibernate jars in a separate plugin, also check out the
eclipse buddypolicy setting:
http://www.elver.org/hibernate/installation.html

gr. Martin

Hui Gao wrote:
> Hi Martin,
>
> So I want to try to replace the hibernate version.
>
> I downloaded the teneo version 0.7.5 and can not find the hibernate.jar
> files, which is simple to be found in the elver version 0.7.2 (download time
> ca. june 2006)
>
> Where can I found the hibernate.jar in the current teneo version?
>
> Thanks,
>
> Hui
>
>
>
> "Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
> news:engfad$h59$1@utils.eclipse.org...
>> Hi Hui,
>> Happy new year also to you!
>>
>> I have not tried cr4 yet but normally the api does not change that much so
>> you can give it a try.
>>
>> gr. Martin
>>
>> Hui Gao wrote:
>>> Hi Martin,
>>>
>>> Happy new years.
>>>
>>> In our model wir use inheritance. We have problem with database lock.
>>>
>>> We found, that should be a hibernater bug, that is resolved in the
>>> version 3.2.0.cr4 (siehe
>>> http://opensource.atlassian.com/projects/hibernate/browse/HH H-1848).
>>>
>>> Is a known problem for you?
>>>
>>> Do you plan to delivery a new teneo version which contains the new
>>> hibernate version? Or can we change the hibernate version self?
>>>
>>> Best regards,
>>>
>>> Hui
>>>
>>>
>>>
>>
>> --
>>
>> 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
>
>


--

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: Lock in case Inheritance [message #601020 is a reply to message #67520] Tue, 09 January 2007 09:58 Go to previous message
Eclipse UserFriend
Hi Martin,

thanks for your help. Sorry, I have not read the documentation again.

Now I have an another problem:

A hibernate plugin is created. (hibernate3.jar and all .jars under the lib
are included in the classpath of this plugin. All packages of the
hibenate3.jar are exported).
In its manifest.mf: Eclipse-BuddyPolicy: dependent is added

In the plugin (model project) that teneo is used, we do:
add teneo plugin and our hibernate plugin in the dependence of the
plugin.xml. Both are set re-export = true

Problem: in the class (model project) that extend HbDataStore occurs error
message:

"The type org.hibernate.cfg.Configuration can not be resolved. It is
indirecty referenced from required .class file"

Can you help me?

Thanks,
Hui



"Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
news:envmlg$23l$1@utils.eclipse.org...
> Hi Hui,
> Hibernate is not distributed together with Teneo because of different
> licensing. You have to download hibernate separately and put the hibernate
> jars in a separate plugin, also check out the eclipse buddypolicy setting:
> http://www.elver.org/hibernate/installation.html
>
> gr. Martin
>
> Hui Gao wrote:
>> Hi Martin,
>>
>> So I want to try to replace the hibernate version.
>>
>> I downloaded the teneo version 0.7.5 and can not find the hibernate.jar
>> files, which is simple to be found in the elver version 0.7.2 (download
>> time ca. june 2006)
>>
>> Where can I found the hibernate.jar in the current teneo version?
>>
>> Thanks,
>>
>> Hui
>>
>>
>>
>> "Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
>> news:engfad$h59$1@utils.eclipse.org...
>>> Hi Hui,
>>> Happy new year also to you!
>>>
>>> I have not tried cr4 yet but normally the api does not change that much
>>> so you can give it a try.
>>>
>>> gr. Martin
>>>
>>> Hui Gao wrote:
>>>> Hi Martin,
>>>>
>>>> Happy new years.
>>>>
>>>> In our model wir use inheritance. We have problem with database lock.
>>>>
>>>> We found, that should be a hibernater bug, that is resolved in the
>>>> version 3.2.0.cr4 (siehe
>>>> http://opensource.atlassian.com/projects/hibernate/browse/HH H-1848).
>>>>
>>>> Is a known problem for you?
>>>>
>>>> Do you plan to delivery a new teneo version which contains the new
>>>> hibernate version? Or can we change the hibernate version self?
>>>>
>>>> Best regards,
>>>>
>>>> Hui
>>>>
>>>>
>>>>
>>>
>>> --
>>>
>>> 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
>>
>>
>
>
> --
>
> 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: Lock in case Inheritance [message #601025 is a reply to message #67587] Tue, 09 January 2007 11:19 Go to previous message
Eclipse UserFriend
Hi Hui,
I am not sure if it applies to you but did you check this:
http://www.elver.org/hibernate/troubleshooting.html#java.lan g.NoClassDefFoundError+when+starting%2Finitializing+runtime+ layer

So the hibernate plugin should be imported in the plugin with the widest classpath.

Another thing is to start eclipse with -clean.

gr. Martin

Hui Gao wrote:
> Hi Martin,
>
> thanks for your help. Sorry, I have not read the documentation again.
>
> Now I have an another problem:
>
> A hibernate plugin is created. (hibernate3.jar and all .jars under the lib
> are included in the classpath of this plugin. All packages of the
> hibenate3.jar are exported).
> In its manifest.mf: Eclipse-BuddyPolicy: dependent is added
>
> In the plugin (model project) that teneo is used, we do:
> add teneo plugin and our hibernate plugin in the dependence of the
> plugin.xml. Both are set re-export = true
>
> Problem: in the class (model project) that extend HbDataStore occurs error
> message:
>
> "The type org.hibernate.cfg.Configuration can not be resolved. It is
> indirecty referenced from required .class file"
>
> Can you help me?
>
> Thanks,
> Hui
>
>
>
> "Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
> news:envmlg$23l$1@utils.eclipse.org...
>> Hi Hui,
>> Hibernate is not distributed together with Teneo because of different
>> licensing. You have to download hibernate separately and put the hibernate
>> jars in a separate plugin, also check out the eclipse buddypolicy setting:
>> http://www.elver.org/hibernate/installation.html
>>
>> gr. Martin
>>
>> Hui Gao wrote:
>>> Hi Martin,
>>>
>>> So I want to try to replace the hibernate version.
>>>
>>> I downloaded the teneo version 0.7.5 and can not find the hibernate.jar
>>> files, which is simple to be found in the elver version 0.7.2 (download
>>> time ca. june 2006)
>>>
>>> Where can I found the hibernate.jar in the current teneo version?
>>>
>>> Thanks,
>>>
>>> Hui
>>>
>>>
>>>
>>> "Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
>>> news:engfad$h59$1@utils.eclipse.org...
>>>> Hi Hui,
>>>> Happy new year also to you!
>>>>
>>>> I have not tried cr4 yet but normally the api does not change that much
>>>> so you can give it a try.
>>>>
>>>> gr. Martin
>>>>
>>>> Hui Gao wrote:
>>>>> Hi Martin,
>>>>>
>>>>> Happy new years.
>>>>>
>>>>> In our model wir use inheritance. We have problem with database lock.
>>>>>
>>>>> We found, that should be a hibernater bug, that is resolved in the
>>>>> version 3.2.0.cr4 (siehe
>>>>> http://opensource.atlassian.com/projects/hibernate/browse/HH H-1848).
>>>>>
>>>>> Is a known problem for you?
>>>>>
>>>>> Do you plan to delivery a new teneo version which contains the new
>>>>> hibernate version? Or can we change the hibernate version self?
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Hui
>>>>>
>>>>>
>>>>>
>>>> --
>>>>
>>>> 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
>>>
>>
>> --
>>
>> 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
>
>


--

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: Lock in case Inheritance [message #601047 is a reply to message #67609] Wed, 10 January 2007 06:05 Go to previous message
Eclipse UserFriend
Hi Martin,

the problem is solved. Wrong: I have created just a plugin project for the
hibernate jars.

I should create a Plugin :
Plug-in Development-> Plug-in from existing JAR archives

now I can using hibenate classes.

Thanks!
Hui


"Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
news:eo0fbs$lvl$1@utils.eclipse.org...
> Hi Hui,
> I am not sure if it applies to you but did you check this:
> http://www.elver.org/hibernate/troubleshooting.html#java.lan g.NoClassDefFoundError+when+starting%2Finitializing+runtime+ layer
>
> So the hibernate plugin should be imported in the plugin with the widest
> classpath.
>
> Another thing is to start eclipse with -clean.
>
> gr. Martin
>
> Hui Gao wrote:
>> Hi Martin,
>>
>> thanks for your help. Sorry, I have not read the documentation again.
>>
>> Now I have an another problem:
>>
>> A hibernate plugin is created. (hibernate3.jar and all .jars under the
>> lib are included in the classpath of this plugin. All packages of the
>> hibenate3.jar are exported).
>> In its manifest.mf: Eclipse-BuddyPolicy: dependent is added
>>
>> In the plugin (model project) that teneo is used, we do:
>> add teneo plugin and our hibernate plugin in the dependence of the
>> plugin.xml. Both are set re-export = true
>>
>> Problem: in the class (model project) that extend HbDataStore occurs
>> error message:
>>
>> "The type org.hibernate.cfg.Configuration can not be resolved. It is
>> indirecty referenced from required .class file"
>>
>> Can you help me?
>>
>> Thanks,
>> Hui
>>
>>
>>
>> "Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
>> news:envmlg$23l$1@utils.eclipse.org...
>>> Hi Hui,
>>> Hibernate is not distributed together with Teneo because of different
>>> licensing. You have to download hibernate separately and put the
>>> hibernate jars in a separate plugin, also check out the eclipse
>>> buddypolicy setting:
>>> http://www.elver.org/hibernate/installation.html
>>>
>>> gr. Martin
>>>
>>> Hui Gao wrote:
>>>> Hi Martin,
>>>>
>>>> So I want to try to replace the hibernate version.
>>>>
>>>> I downloaded the teneo version 0.7.5 and can not find the hibernate.jar
>>>> files, which is simple to be found in the elver version 0.7.2 (download
>>>> time ca. june 2006)
>>>>
>>>> Where can I found the hibernate.jar in the current teneo version?
>>>>
>>>> Thanks,
>>>>
>>>> Hui
>>>>
>>>>
>>>>
>>>> "Martin Taal" <mtaal@elver.org> schrieb im Newsbeitrag
>>>> news:engfad$h59$1@utils.eclipse.org...
>>>>> Hi Hui,
>>>>> Happy new year also to you!
>>>>>
>>>>> I have not tried cr4 yet but normally the api does not change that
>>>>> much so you can give it a try.
>>>>>
>>>>> gr. Martin
>>>>>
>>>>> Hui Gao wrote:
>>>>>> Hi Martin,
>>>>>>
>>>>>> Happy new years.
>>>>>>
>>>>>> In our model wir use inheritance. We have problem with database lock.
>>>>>>
>>>>>> We found, that should be a hibernater bug, that is resolved in the
>>>>>> version 3.2.0.cr4 (siehe
>>>>>> http://opensource.atlassian.com/projects/hibernate/browse/HH H-1848).
>>>>>>
>>>>>> Is a known problem for you?
>>>>>>
>>>>>> Do you plan to delivery a new teneo version which contains the new
>>>>>> hibernate version? Or can we change the hibernate version self?
>>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>> Hui
>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>>
>>>>> 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
>>>>
>>>
>>> --
>>>
>>> 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
>>
>>
>
>
> --
>
> 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
Previous Topic:jet editor
Next Topic:[teneo] How to specify table generators?
Goto Forum:
  


Current Time: Thu May 08 15:19:25 EDT 2025

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

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

Back to the top