Fixed
Details
Assignee
UnassignedUnassignedReporter
EugeneEugeneBug Testcase Reminder (view)
Bug reports should generally be accompanied by a test case!
Bug Testcase Reminder (edit)
Bug reports should generally be accompanied by a test case!
Participants
EugeneMax Rydahl AndersenComponents
Fix versions
Affects versions
Priority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Eugene
EugeneBug Testcase Reminder (view)
Bug reports should generally be accompanied by a test case!
Bug Testcase Reminder (edit)
Bug reports should generally be accompanied by a test case!
Participants
Eugene
Max Rydahl Andersen
Components
Fix versions
Affects versions
Priority
Created June 2, 2006 at 1:40 PM
Updated June 2, 2006 at 11:17 PM
Resolved June 2, 2006 at 11:17 PM
There are two issues.
1) I have the
<composite-element class="Ch06Filenames">
<property name="|"/>
</composite-element>
When i press Ctrl-Space, codecompletion listbox shows the properties of the Ch06ItemImage entity class, but i really expected to see the properties of the Ch06Filenames component Class.
See the composite_class issue.JPG screenshot in the issues.zip
2) I have inserted the new table in the DataBase (HSQLDB). Then i try to view the list of tables in the codecompletion listbox:
<idbag name="filenamesIdbag" table="|">
but i dont see the new table at all! Then i tried to refresh Hibernate configuration (clicked right button on it and pressed Refresh) and repeated the codecompletion operation but nevertheless the table is not present in the list!
See the db issue.JPG screenshot in the issues.zip
______________________
I have the following mapping:
<hibernate-mapping schema="Ch06ItemImage" package="org.hibernate.ce.auction.model.ch06">
<class name="Ch06ItemImage" table="CH06ITEM" optimistic-lock="none">
<id name="id" access="field" type="long" unsaved-value="null" column="id">
<generator class="native"/>
</id>
<version name="version" column="VERSION" access="field" generated="always" unsaved-value="null"/>
<property name="created" column="CREATED" type="calendar" update="false" not-null="true" access="field"/>
<property name="name" type="string" column="name"/>
<set name="filenames" table="CH06ITEM_SET_IMAGE" inverse="true" cascade="save-update">
<key column="ITEM_ID"/>
<one-to-many class="Ch06ItemImageSet"/>
</set>
<idbag name="filenamesIdbag" table="CH06ITEM_BAG_IMAGE">
<collection-id column="ITEM_IMAGE_ID" type="long">
<generator class="native"/>
</collection-id>
<key column="ITEM_ID"/>
<composite-element class="Ch06Filenames">
<property name="name" column=""/>
</composite-element>
</idbag>
</class>
</hibernate-mapping>