From: Eugene (JIRA) <no...@at...> - 2006-06-02 11:41:27
|
codecompletion -------------- Key: HBX-679 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-679 Project: Hibernate Tools Type: Bug Components: eclipse Versions: 3.1.beta5 Environment: Eclipse 3.1.2 Reporter: Eugene Attachments: issues.zip 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> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |