[jboss-user] [JBoss Tools (users)] - hibernate hbm.xml editor wierd error

mdiskin do-not-reply at jboss.com
Mon Mar 30 09:39:08 EDT 2009


I get this error:
ERROR 41:29 Attribute "order-by" must be declared for element type "many-to-many"

but only on the visual/tree view. The source view is fine and says the xml is valid.

Here's the config that's causing the error (which came from jboss support, but only the dev studio is supported, not the hibernate tools version and dev studio cannot be installed into my STS ide).

  	<map name="billers" inverse="true" schema="INVADMIN"
  | 			table="BILLER_GROUP_ASSIGNMENT" mutable="true" sort="unsorted"
  | 			optimistic-lock="true" embed-xml="true" >
  | 			<key column="BILLER_GROUP_ID" on-delete="noaction" />
  | 			<map-key type="long" formula="BILLER_ID" />
  | 			<many-to-many column="BILLER_ID" unique="false"  order-by="BILLER_NM"
  | 				class="com.arccorp.database.invoicing.domain.Biller" embed-xml="true"
  | 				not-found="exception" />
  | 	</map> 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221995#4221995

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221995



More information about the jboss-user mailing list