These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: unable to generate 'properties' with XDoclet
PostPosted: Fri Jun 17, 2005 6:47 pm 
Newbie

Joined: Thu Jun 16, 2005 12:02 pm
Posts: 2
Hi,

I cannot generate with XDoclet the appropriate mapping for properties
(I need to add an unique composite key index - as in for a secondary key).

Hibernate version:
Hibernate 3.0

Mapping documents:
/**
* @hibernate.properties
* name="unico"
* unique="true"
* @hibernate.property
* name="abbreviation"
* column="ABBREV"
* @hibernate.property
* name="schedule"
* column="SCHEDULE"
*/

generates nothing/nada/ in *.hbm.xml

I can add it manually (as shown below) but that is not what I want to do.

<properties name="unico" unique="true" update="false">
<property name="abbreviation"/>
<property name="schedule"/>
</properties>


    Is this a limitation of XDoclet?
    How can I work around it?
    I've seen XDoclet2, which seems to support 'hibernate.properties'. Is this the way to go? Is it production quality? and is there better documentation out there than what you see on their website


thank you,

Martino

Name and version of the database you are using:
db2

[/b][/i]


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.