Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Wish List
-
Component/s: DSL for Business Domain, DSL for Data Contract
-
Labels:None
Description
In http://jira.codehaus.org/browse/MODFORJ-124 I had a problem creating a reference to 'myself', an incorrect Hibernate mapping was generated. I decided to work around the problem creating a business object without properties but with associations.
In my Data contract, I'd like to do the following
class VacancyRelationDto represents VacancyRelation [
// has no properties!
references [ .... ]
]
My current workaround is to add a dummy derived boolean which I also expose to the Dto.
Issue Links
- is duplicated by
-
MODFORJ-6
Data Contract Dsl: cannot have a reference without attributes
-
Forgot to mention that an error message tells me I cannot have a Dto with references but without fields.