|
|
|
Re: Texo: problem with GroupFeatureGroup [message #868970 is a reply to message #868932] |
Wed, 02 May 2012 19:43 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Saw your other post, for completeness also a repeating sequence is handled as featuregroup and needs new automatic ORM
mapping behavior...
gr. Martin
On 05/02/2012 08:49 PM, Martin Taal wrote:
> Hi Olaf,
> The xsd:choice results in a featureGroup. Currently featureGroups are not automatically mapped to the database. I have
> not spend time there yet. It should be doable as the java code is correctly generated and only consists of pojos. But
> the featuregroups need some attention. You can enter a feature request for it though... It will be a few weeks before I
> have time probably (but you never know...).
>
> gr. Martin
>
> On 05/02/2012 04:31 PM, Olaf Burdziakowski wrote:
>> I generated with Texo project to connect to database with EntityManager - hibernate.
>>
>> The problem is that Texo generated my list as FeatureList:
>>
>> private List<ListTypeGroupFeatureGroup> group = new ArrayList<ListTypeGroupFeatureGroup>();
>>
>> There are no assigned annotations and then:
>>
>> EntityManagerProvider.getInstance().setPersistenceUnitName("MyManager");
>> EntityManagerProvider.getInstance().initialize();
>> cause an error:
>>
>> Caused by: org.hibernate.MappingException: Could not determine type for: java.util.List, at table: ListType, for
>> columns: [org.hibernate.mapping.Column(group)]
>>
>> Where is the problem? In Texo or in my configuration?
>>
>> I attach my model files and persistence to test.
>
>
--
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: Texo: problem with GroupFeatureGroup [message #869019 is a reply to message #868988] |
Wed, 02 May 2012 21:23 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Olaf,
Sorry I am not able to fullfill your request.
Fyi, many people (including myself) are independent consultants. We do not receive direct payment for our support on
this forum. I am afraid that your last request does not fall within 'free' support.. I am sure you understand, ofcourse
if you are interested in direct paid support then feel free to contact me ;-).
Can you enter a feature request for automatic mapping of feature groups?
gr. Martin
On 05/02/2012 10:21 PM, Olaf Burdziakowski wrote:
> Thank you Martin, I can generate some annotations by myself, but could you please fill my example with annotations, I
> will than rework other cases with same pattern.
--
With Regards, Martin Taal
Springsite/Elver.oroupg
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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04496 seconds