Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Teneo] Mixing dynamicly generated mapping along with static xml
[Teneo] Mixing dynamicly generated mapping along with static xml [message #425836] Tue, 09 December 2008 17:25 Go to next message
koloale is currently offline koloaleFriend
Messages: 41
Registered: July 2009
Member
Hello!

Is it possible to create SessionFactory that would contain both EMF
classes with mapping generated by Teneo and my custom classes with
static mapping specified in xml.
I tried to add my custom class to org.hibernate.cfg.Configuration which
is then used by HbSessionDataStore, but I got NPE in
HbDataStore.computeTopEntities.
Does anybody deal with something similar? Or maybe there is other way of
using static hibernate mapping with dynamic Teneo-generated one.

Thanks in advance
Alexey
Re: [Teneo] Mixing dynamicly generated mapping along with static xml [message #425839 is a reply to message #425836] Tue, 09 December 2008 19:13 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Alexey,
It should be possible, so this seems like a bug. Can you file a bugzilla for it (incl. stack trace)?

gr. Martin

koloale wrote:
> Hello!
>
> Is it possible to create SessionFactory that would contain both EMF
> classes with mapping generated by Teneo and my custom classes with
> static mapping specified in xml.
> I tried to add my custom class to org.hibernate.cfg.Configuration which
> is then used by HbSessionDataStore, but I got NPE in
> HbDataStore.computeTopEntities.
> Does anybody deal with something similar? Or maybe there is other way of
> using static hibernate mapping with dynamic Teneo-generated one.
>
> Thanks in advance
> Alexey


--

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] Mixing dynamicly generated mapping along with static xml [message #425865 is a reply to message #425839] Wed, 10 December 2008 11:55 Go to previous message
koloale is currently offline koloaleFriend
Messages: 41
Registered: July 2009
Member
Hello Martin,
I created Bug 258266.

Martin Taal wrote:
> Hi Alexey,
> It should be possible, so this seems like a bug. Can you file a bugzilla
> for it (incl. stack trace)?
>
> gr. Martin
>
Previous Topic:List<String> as operation return type in EMF
Next Topic:CDO 1.0 and 1 to many two way references
Goto Forum:
  


Current Time: Tue May 14 05:28:12 GMT 2024

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

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

Back to the top