Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Teneo: @BatchSize(size=n) on a many-value EAttribute
Teneo: @BatchSize(size=n) on a many-value EAttribute [message #1022108] Thu, 21 March 2013 09:39 Go to next message
Ben Tenne is currently offline Ben TenneFriend
Messages: 50
Registered: October 2009
Member
Hi,

I'm using Teneo 1.0, which didn't support the ability to set @BatchSize (i.e. cause a batch-size="n" attribute on the HBM 'list' element for a collection). I've noticed that Teneo 1.1 seems to add support for this (i.e. HbAnnotatedEReference has a batchSize feature), but I can't see a corresponding feature in HbAnnotatedEAttribute. A many-value EAttribute, where the values are stored in a separate table, can also benefit from batch-size='n' in the HBM collection. Am I correct in understanding that Teneo doesn't support that? If so, would it be reasonable for me to raise a Bugzilla to have that added to HbAnnotatedEAttribute (with a corresponding code change in org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMapper.addCollectionElement to propagate it)?

Regards,
Ben.
Re: Teneo: @BatchSize(size=n) on a many-value EAttribute [message #1022172 is a reply to message #1022108] Thu, 21 March 2013 12:05 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Ben,
Yes please raise a bugzilla, no problem.

gr. Martin

On 03/21/2013 10:39 AM, Ben Tenne wrote:
> Hi,
>
> I'm using Teneo 1.0, which didn't support the ability to set @BatchSize (i.e. cause a batch-size="n" attribute on the
> HBM 'list' element for a collection). I've noticed that Teneo 1.1 seems to add support for this (i.e.
> HbAnnotatedEReference has a batchSize feature), but I can't see a corresponding feature in HbAnnotatedEAttribute. A
> many-value EAttribute, where the values are stored in a separate table, can also benefit from batch-size='n' in the HBM
> collection. Am I correct in understanding that Teneo doesn't support that? If so, would it be reasonable for me to
> raise a Bugzilla to have that added to HbAnnotatedEAttribute (with a corresponding code change in
> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMapper.addCollectionElement to propagate it)?
>
> Regards,
> Ben.


--

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@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: Teneo: @BatchSize(size=n) on a many-value EAttribute [message #1022223 is a reply to message #1022172] Thu, 21 March 2013 13:55 Go to previous message
Ben Tenne is currently offline Ben TenneFriend
Messages: 50
Registered: October 2009
Member
Thanks Martin.

Raised here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=404025

Regards,
Ben.
Previous Topic:Databinding with resource as root
Next Topic:[Teneo] missing table error when using @OneToMany
Goto Forum:
  


Current Time: Wed Sep 18 19:51:21 GMT 2024

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

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

Back to the top