Skip to main content



      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 12:25 Go to next message
Eclipse UserFriend
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 14:13 Go to previous messageGo to next message
Eclipse UserFriend
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 06:55 Go to previous message
Eclipse UserFriend
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: Mon Jul 07 12:42:42 EDT 2025

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

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

Back to the top