Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Maven Dependencies?
Maven Dependencies? [message #106270] Mon, 07 January 2008 04:25 Go to next message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
Hi,

(I hope this does not come across twice - I don't see the first one so I'm keeping my fingers crossed)
I'm trying to get a basic setup working for Teneo and Hibernate. I was wondering if anyone knows of a maven 2 repository housing the necessary dependencies?

Thanks,
- Ole
Re: Maven Dependencies? [message #106287 is a reply to message #106270] Mon, 07 January 2008 04:40 Go to previous messageGo to next message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
One more question...Does teneo 0.80 have to be run inside / depend on eclipse?

Thanks,
- Ole
Re: Maven Dependencies? [message #106301 is a reply to message #106287] Mon, 07 January 2008 05:56 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Ole,
Teneo can be run outside of Eclipse. I use it myself in a webapp.

See here:
http://www.elver.org/hibernate/installation.html#Installing+ the+runtime+layer+in+a+non-plugin+EMF+project
In addition Teneo requires the following jars:
- org.eclipse.emf.ecore.jar, org.eclipse.emf.ecore.xmi.jar, org.eclipse.emf.common.jar. These jars
can be found in the plugins directory in your eclipse installation.
- the relevant hibernate or jpox jars
- commons-logging jar

As far as I know Teneo is not present in a maven respository, I do not know if the other
dependencies are present somewhere in maven repositories.

gr. Martin

Ole Ersoy wrote:
> One more question...Does teneo 0.80 have to be run inside / depend on
> eclipse?
>
> Thanks,
> - Ole


--

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: Maven Dependencies? [message #106382 is a reply to message #106301] Mon, 07 January 2008 15:36 Go to previous messageGo to next message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
Hi Martin,

Super - Thanks. I'll give it a go.

Cheers,
- Ole



Martin Taal wrote:
> Hi Ole,
> Teneo can be run outside of Eclipse. I use it myself in a webapp.
>
> See here:
> http://www.elver.org/hibernate/installation.html#Installing+ the+runtime+layer+in+a+non-plugin+EMF+project
>
> In addition Teneo requires the following jars:
> - org.eclipse.emf.ecore.jar, org.eclipse.emf.ecore.xmi.jar,
> org.eclipse.emf.common.jar. These jars can be found in the plugins
> directory in your eclipse installation.
> - the relevant hibernate or jpox jars
> - commons-logging jar
>
> As far as I know Teneo is not present in a maven respository, I do not
> know if the other dependencies are present somewhere in maven repositories.
>
> gr. Martin
>
> Ole Ersoy wrote:
>> One more question...Does teneo 0.80 have to be run inside / depend on
>> eclipse?
>>
>> Thanks,
>> - Ole
>
>
Can't load HbMapperException with Hibernate Setup [message #106766 is a reply to message #106382] Mon, 14 January 2008 17:46 Go to previous messageGo to next message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
Hi,

I'm trying to hibernate setup and the class loader does not see:
org.eclipse.emf.teneo.hibernate.HbMapperException;

I verified that these are on the class path:

* org.eclipse.emf.teneo
* org.eclipse.emf.teneo.annotations
* org.eclipse.emf.teneo.hibernate

Are there other dependencies needed?

Thanks,
- Ole
Re: Can't load HbMapperException with Hibernate Setup [message #106782 is a reply to message #106766] Mon, 14 January 2008 20:16 Go to previous messageGo to next message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
OK - I think I found it. It's in the org.eclipse.emf.teneo.hibernate.mapper_0.8.0.v200712280940 plugin. I'll be glad to update library tutorial, etc. as I'm going along. Please let me know of any additional steps I can take to contribute.

Cheers,
- Ole



Ole Ersoy wrote:
> Hi,
>
> I'm trying to hibernate setup and the class loader does not see:
> org.eclipse.emf.teneo.hibernate.HbMapperException;
>
> I verified that these are on the class path:
>
> * org.eclipse.emf.teneo
> * org.eclipse.emf.teneo.annotations
> * org.eclipse.emf.teneo.hibernate
>
> Are there other dependencies needed?
>
> Thanks,
> - Ole
>
>
Re: Can't load HbMapperException with Hibernate Setup [message #106818 is a reply to message #106782] Tue, 15 January 2008 05:57 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Ole,
Contributions are always appreciated! If you want to update the docs there are two ways:
- create a bugzilla and mark all the things you missed/want to change in the docs in that bugzilla
then I can add it in the docs myself, or
- check out the org.eclipse.emf.teneo.website project, the docs are in apache forest. When you
change them just make a patch and send it as a bugzilla

gr. Martin

Ole Ersoy wrote:
> OK - I think I found it. It's in the
> org.eclipse.emf.teneo.hibernate.mapper_0.8.0.v200712280940 plugin. I'll
> be glad to update library tutorial, etc. as I'm going along. Please let
> me know of any additional steps I can take to contribute.
>
> Cheers,
> - Ole
>
>
>
> Ole Ersoy wrote:
>> Hi,
>>
>> I'm trying to hibernate setup and the class loader does not see:
>> org.eclipse.emf.teneo.hibernate.HbMapperException;
>>
>> I verified that these are on the class path:
>>
>> * org.eclipse.emf.teneo
>> * org.eclipse.emf.teneo.annotations
>> * org.eclipse.emf.teneo.hibernate
>>
>> Are there other dependencies needed?
>>
>> Thanks,
>> - Ole
>>
>>


--

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: Can't load HbMapperException with Hibernate Setup [message #106878 is a reply to message #106818] Tue, 15 January 2008 20:23 Go to previous messageGo to next message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
Hi Martin,

Super - Thanks for the heads up. I'll submit a patch asap.

Cheers,
- Ole



Martin Taal wrote:
> Hi Ole,
> Contributions are always appreciated! If you want to update the docs
> there are two ways:
> - create a bugzilla and mark all the things you missed/want to change in
> the docs in that bugzilla then I can add it in the docs myself, or
> - check out the org.eclipse.emf.teneo.website project, the docs are in
> apache forest. When you change them just make a patch and send it as a
> bugzilla
>
> gr. Martin
>
> Ole Ersoy wrote:
>> OK - I think I found it. It's in the
>> org.eclipse.emf.teneo.hibernate.mapper_0.8.0.v200712280940 plugin.
>> I'll be glad to update library tutorial, etc. as I'm going along.
>> Please let me know of any additional steps I can take to contribute.
>>
>> Cheers,
>> - Ole
>>
>>
>>
>> Ole Ersoy wrote:
>>> Hi,
>>>
>>> I'm trying to hibernate setup and the class loader does not see:
>>> org.eclipse.emf.teneo.hibernate.HbMapperException;
>>>
>>> I verified that these are on the class path:
>>>
>>> * org.eclipse.emf.teneo
>>> * org.eclipse.emf.teneo.annotations
>>> * org.eclipse.emf.teneo.hibernate
>>>
>>> Are there other dependencies needed?
>>>
>>> Thanks,
>>> - Ole
>>>
>>>
>
>
Setting VARCHAR Length by EAnnotation? [message #106890 is a reply to message #106878] Wed, 16 January 2008 02:06 Go to previous messageGo to next message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
Hi,

Just wondering if anyone knows whether it's possible to change the default VARCHAR length through the use of an EAnnotation? The "Developer Use Case" would be the creation of a dynamic model and generating the corresponding database schema.

Thanks,
- Ole
Re: Setting VARCHAR Length by EAnnotation? [message #106958 is a reply to message #106890] Wed, 16 January 2008 10:15 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Ole,
For each individual eattribute you can set a column annotation with a length.
However, there is currently no global default varchar length setting. I tried to find a global
hibernate parameter to set the column length but I could not find it.
Can you enter a bugzilla feature request for this?

gr. Martin

Ole Ersoy wrote:
> Hi,
>
> Just wondering if anyone knows whether it's possible to change the
> default VARCHAR length through the use of an EAnnotation? The
> "Developer Use Case" would be the creation of a dynamic model and
> generating the corresponding database schema.
>
> Thanks,
> - Ole
>


--

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: Setting VARCHAR Length by EAnnotation? [message #107070 is a reply to message #106958] Wed, 16 January 2008 15:37 Go to previous message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
Hi Martin,

Super - I'll give the column annotation a shot. I looked around for a global varchar default for hibernate as well, and came up short, so I guess it's hard coded. I did put in a bugzilla feature request for a global teneo varchar limit default.

Thanks again,
- Ole

Martin Taal wrote:
> Hi Ole,
> For each individual eattribute you can set a column annotation with a
> length.
> However, there is currently no global default varchar length setting. I
> tried to find a global hibernate parameter to set the column length but
> I could not find it.
> Can you enter a bugzilla feature request for this?
>
> gr. Martin
>
> Ole Ersoy wrote:
>> Hi,
>>
>> Just wondering if anyone knows whether it's possible to change the
>> default VARCHAR length through the use of an EAnnotation? The
>> "Developer Use Case" would be the creation of a dynamic model and
>> generating the corresponding database schema.
>>
>> Thanks,
>> - Ole
>>
>
>
Re: Maven Dependencies? [message #613934 is a reply to message #106270] Mon, 07 January 2008 04:40 Go to previous message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
One more question...Does teneo 0.80 have to be run inside / depend on eclipse?

Thanks,
- Ole
Re: Maven Dependencies? [message #613935 is a reply to message #106287] Mon, 07 January 2008 05:56 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Ole,
Teneo can be run outside of Eclipse. I use it myself in a webapp.

See here:
http://www.elver.org/hibernate/installation.html#Installing+ the+runtime+layer+in+a+non-plugin+EMF+project
In addition Teneo requires the following jars:
- org.eclipse.emf.ecore.jar, org.eclipse.emf.ecore.xmi.jar, org.eclipse.emf.common.jar. These jars
can be found in the plugins directory in your eclipse installation.
- the relevant hibernate or jpox jars
- commons-logging jar

As far as I know Teneo is not present in a maven respository, I do not know if the other
dependencies are present somewhere in maven repositories.

gr. Martin

Ole Ersoy wrote:
> One more question...Does teneo 0.80 have to be run inside / depend on
> eclipse?
>
> Thanks,
> - Ole


--

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: Maven Dependencies? [message #613949 is a reply to message #106301] Mon, 07 January 2008 15:36 Go to previous message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
Hi Martin,

Super - Thanks. I'll give it a go.

Cheers,
- Ole



Martin Taal wrote:
> Hi Ole,
> Teneo can be run outside of Eclipse. I use it myself in a webapp.
>
> See here:
> http://www.elver.org/hibernate/installation.html#Installing+ the+runtime+layer+in+a+non-plugin+EMF+project
>
> In addition Teneo requires the following jars:
> - org.eclipse.emf.ecore.jar, org.eclipse.emf.ecore.xmi.jar,
> org.eclipse.emf.common.jar. These jars can be found in the plugins
> directory in your eclipse installation.
> - the relevant hibernate or jpox jars
> - commons-logging jar
>
> As far as I know Teneo is not present in a maven respository, I do not
> know if the other dependencies are present somewhere in maven repositories.
>
> gr. Martin
>
> Ole Ersoy wrote:
>> One more question...Does teneo 0.80 have to be run inside / depend on
>> eclipse?
>>
>> Thanks,
>> - Ole
>
>
Can't load HbMapperException with Hibernate Setup [message #613981 is a reply to message #106382] Mon, 14 January 2008 17:46 Go to previous message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
Hi,

I'm trying to hibernate setup and the class loader does not see:
org.eclipse.emf.teneo.hibernate.HbMapperException;

I verified that these are on the class path:

* org.eclipse.emf.teneo
* org.eclipse.emf.teneo.annotations
* org.eclipse.emf.teneo.hibernate

Are there other dependencies needed?

Thanks,
- Ole
Re: Can't load HbMapperException with Hibernate Setup [message #613982 is a reply to message #106766] Mon, 14 January 2008 20:16 Go to previous message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
OK - I think I found it. It's in the org.eclipse.emf.teneo.hibernate.mapper_0.8.0.v200712280940 plugin. I'll be glad to update library tutorial, etc. as I'm going along. Please let me know of any additional steps I can take to contribute.

Cheers,
- Ole



Ole Ersoy wrote:
> Hi,
>
> I'm trying to hibernate setup and the class loader does not see:
> org.eclipse.emf.teneo.hibernate.HbMapperException;
>
> I verified that these are on the class path:
>
> * org.eclipse.emf.teneo
> * org.eclipse.emf.teneo.annotations
> * org.eclipse.emf.teneo.hibernate
>
> Are there other dependencies needed?
>
> Thanks,
> - Ole
>
>
Re: Can't load HbMapperException with Hibernate Setup [message #613985 is a reply to message #106782] Tue, 15 January 2008 05:57 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Ole,
Contributions are always appreciated! If you want to update the docs there are two ways:
- create a bugzilla and mark all the things you missed/want to change in the docs in that bugzilla
then I can add it in the docs myself, or
- check out the org.eclipse.emf.teneo.website project, the docs are in apache forest. When you
change them just make a patch and send it as a bugzilla

gr. Martin

Ole Ersoy wrote:
> OK - I think I found it. It's in the
> org.eclipse.emf.teneo.hibernate.mapper_0.8.0.v200712280940 plugin. I'll
> be glad to update library tutorial, etc. as I'm going along. Please let
> me know of any additional steps I can take to contribute.
>
> Cheers,
> - Ole
>
>
>
> Ole Ersoy wrote:
>> Hi,
>>
>> I'm trying to hibernate setup and the class loader does not see:
>> org.eclipse.emf.teneo.hibernate.HbMapperException;
>>
>> I verified that these are on the class path:
>>
>> * org.eclipse.emf.teneo
>> * org.eclipse.emf.teneo.annotations
>> * org.eclipse.emf.teneo.hibernate
>>
>> Are there other dependencies needed?
>>
>> Thanks,
>> - Ole
>>
>>


--

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: Can't load HbMapperException with Hibernate Setup [message #613989 is a reply to message #106818] Tue, 15 January 2008 20:23 Go to previous message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
Hi Martin,

Super - Thanks for the heads up. I'll submit a patch asap.

Cheers,
- Ole



Martin Taal wrote:
> Hi Ole,
> Contributions are always appreciated! If you want to update the docs
> there are two ways:
> - create a bugzilla and mark all the things you missed/want to change in
> the docs in that bugzilla then I can add it in the docs myself, or
> - check out the org.eclipse.emf.teneo.website project, the docs are in
> apache forest. When you change them just make a patch and send it as a
> bugzilla
>
> gr. Martin
>
> Ole Ersoy wrote:
>> OK - I think I found it. It's in the
>> org.eclipse.emf.teneo.hibernate.mapper_0.8.0.v200712280940 plugin.
>> I'll be glad to update library tutorial, etc. as I'm going along.
>> Please let me know of any additional steps I can take to contribute.
>>
>> Cheers,
>> - Ole
>>
>>
>>
>> Ole Ersoy wrote:
>>> Hi,
>>>
>>> I'm trying to hibernate setup and the class loader does not see:
>>> org.eclipse.emf.teneo.hibernate.HbMapperException;
>>>
>>> I verified that these are on the class path:
>>>
>>> * org.eclipse.emf.teneo
>>> * org.eclipse.emf.teneo.annotations
>>> * org.eclipse.emf.teneo.hibernate
>>>
>>> Are there other dependencies needed?
>>>
>>> Thanks,
>>> - Ole
>>>
>>>
>
>
Setting VARCHAR Length by EAnnotation? [message #613990 is a reply to message #106878] Wed, 16 January 2008 02:06 Go to previous message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
Hi,

Just wondering if anyone knows whether it's possible to change the default VARCHAR length through the use of an EAnnotation? The "Developer Use Case" would be the creation of a dynamic model and generating the corresponding database schema.

Thanks,
- Ole
Re: Setting VARCHAR Length by EAnnotation? [message #613995 is a reply to message #106890] Wed, 16 January 2008 10:15 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Ole,
For each individual eattribute you can set a column annotation with a length.
However, there is currently no global default varchar length setting. I tried to find a global
hibernate parameter to set the column length but I could not find it.
Can you enter a bugzilla feature request for this?

gr. Martin

Ole Ersoy wrote:
> Hi,
>
> Just wondering if anyone knows whether it's possible to change the
> default VARCHAR length through the use of an EAnnotation? The
> "Developer Use Case" would be the creation of a dynamic model and
> generating the corresponding database schema.
>
> Thanks,
> - Ole
>


--

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: Setting VARCHAR Length by EAnnotation? [message #614003 is a reply to message #106958] Wed, 16 January 2008 15:37 Go to previous message
Ole Ersoy is currently offline Ole ErsoyFriend
Messages: 205
Registered: July 2009
Senior Member
Hi Martin,

Super - I'll give the column annotation a shot. I looked around for a global varchar default for hibernate as well, and came up short, so I guess it's hard coded. I did put in a bugzilla feature request for a global teneo varchar limit default.

Thanks again,
- Ole

Martin Taal wrote:
> Hi Ole,
> For each individual eattribute you can set a column annotation with a
> length.
> However, there is currently no global default varchar length setting. I
> tried to find a global hibernate parameter to set the column length but
> I could not find it.
> Can you enter a bugzilla feature request for this?
>
> gr. Martin
>
> Ole Ersoy wrote:
>> Hi,
>>
>> Just wondering if anyone knows whether it's possible to change the
>> default VARCHAR length through the use of an EAnnotation? The
>> "Developer Use Case" would be the creation of a dynamic model and
>> generating the corresponding database schema.
>>
>> Thanks,
>> - Ole
>>
>
>
Previous Topic:Porblem by using ecore tool
Next Topic:[Teneo] Problem with update site
Goto Forum:
  


Current Time: Sat Oct 31 20:50:27 GMT 2020

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

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

Back to the top