From: FARRET (JIRA) <no...@at...> - 2005-10-05 13:59:17
|
index not created ----------------- Key: HHH-1012 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012 Project: Hibernate3 Type: Bug Versions: 3.0.5, 3.1 beta 1, 3.1 beta 2 Environment: Windows XP, MySQL/PostgreSQL Reporter: FARRET i'm using an hbm.xml as describe below and the 'hibernate.hbm2ddl.auto' is egal to update. <class table="featurestat" name="....."> <id name="id" type="long" column="idFeatureStat"> <generator class="increment"/> </id> <properties name="fsUniqueValue" unique="true"> .... </properties> <property name="frequency" .../> <property name="idFatherFeature" index="FeatStatDocExtSectFeat" not-null="true" type="long" column="..."/> .... </class> Indexes for pk or unique key are well created, but the index explicity named 'FeatStatDocExtSectFeat' is never created. If i put the property 'hibernate.hbm2ddl.auto' in the cfg.xml as 'create' the index is created. But in my case i have to set my property 'hibernate.hbm2ddl.auto' to update. -- 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 |
From: Gavin K. (JIRA) <no...@at...> - 2005-10-06 11:04:32
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012?page=comments#action_20141 ] Gavin King commented on HHH-1012: --------------------------------- Pretty sure this is a dupe. > index not created > ----------------- > > Key: HHH-1012 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012 > Project: Hibernate3 > Type: Bug > Versions: 3.0.5, 3.1 beta 1, 3.1 beta 2 > Environment: Windows XP, MySQL/PostgreSQL > Reporter: FARRET > > > i'm using an hbm.xml as describe below and the 'hibernate.hbm2ddl.auto' is egal to update. > <class table="featurestat" name="....."> > <id name="id" type="long" column="idFeatureStat"> > <generator class="increment"/> > </id> > <properties name="fsUniqueValue" unique="true"> > .... > </properties> > <property name="frequency" .../> > <property name="idFatherFeature" index="FeatStatDocExtSectFeat" not-null="true" type="long" column="..."/> > .... > </class> > Indexes for pk or unique key are well created, but the index explicity named 'FeatStatDocExtSectFeat' is never created. If i put the property 'hibernate.hbm2ddl.auto' in the cfg.xml as 'create' the index is created. But in my case i have to set my property 'hibernate.hbm2ddl.auto' to update. -- 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 |
From: Gavin K. (JIRA) <no...@at...> - 2005-10-06 11:04:32
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012?page=all ] Gavin King updated HHH-1012: ---------------------------- Priority: Minor (was: Major) > index not created > ----------------- > > Key: HHH-1012 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012 > Project: Hibernate3 > Type: Bug > Versions: 3.0.5, 3.1 beta 1, 3.1 beta 2 > Environment: Windows XP, MySQL/PostgreSQL > Reporter: FARRET > Priority: Minor > > > i'm using an hbm.xml as describe below and the 'hibernate.hbm2ddl.auto' is egal to update. > <class table="featurestat" name="....."> > <id name="id" type="long" column="idFeatureStat"> > <generator class="increment"/> > </id> > <properties name="fsUniqueValue" unique="true"> > .... > </properties> > <property name="frequency" .../> > <property name="idFatherFeature" index="FeatStatDocExtSectFeat" not-null="true" type="long" column="..."/> > .... > </class> > Indexes for pk or unique key are well created, but the index explicity named 'FeatStatDocExtSectFeat' is never created. If i put the property 'hibernate.hbm2ddl.auto' in the cfg.xml as 'create' the index is created. But in my case i have to set my property 'hibernate.hbm2ddl.auto' to update. -- 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 |
From: Michael S. (JIRA) <no...@at...> - 2005-10-12 11:36:15
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012?page=comments#action_20227 ] Michael Saringer commented on HHH-1012: --------------------------------------- The problem is reported in HB-1458, also. > index not created > ----------------- > > Key: HHH-1012 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012 > Project: Hibernate3 > Type: Bug > Versions: 3.0.5, 3.1 beta 1, 3.1 beta 2 > Environment: Windows XP, MySQL/PostgreSQL > Reporter: Xavier Farret > Priority: Minor > > > i'm using an hbm.xml as describe below and the 'hibernate.hbm2ddl.auto' is egal to update. > <class table="featurestat" name="....."> > <id name="id" type="long" column="idFeatureStat"> > <generator class="increment"/> > </id> > <properties name="fsUniqueValue" unique="true"> > .... > </properties> > <property name="frequency" .../> > <property name="idFatherFeature" index="FeatStatDocExtSectFeat" not-null="true" type="long" column="..."/> > .... > </class> > Indexes for pk or unique key are well created, but the index explicity named 'FeatStatDocExtSectFeat' is never created. If i put the property 'hibernate.hbm2ddl.auto' in the cfg.xml as 'create' the index is created. But in my case i have to set my property 'hibernate.hbm2ddl.auto' to update. -- 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 |
From: Gavin K. (JIRA) <no...@at...> - 2005-10-17 09:54:13
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012?page=all ] Gavin King updated HHH-1012: ---------------------------- Summary: index not created by SchemaUpdate (was: index not created) > index not created by SchemaUpdate > --------------------------------- > > Key: HHH-1012 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012 > Project: Hibernate3 > Type: Bug > Versions: 3.0.5, 3.1 beta 1, 3.1 beta 2 > Environment: Windows XP, MySQL/PostgreSQL > Reporter: Xavier Farret > Priority: Minor > > > i'm using an hbm.xml as describe below and the 'hibernate.hbm2ddl.auto' is egal to update. > <class table="featurestat" name="....."> > <id name="id" type="long" column="idFeatureStat"> > <generator class="increment"/> > </id> > <properties name="fsUniqueValue" unique="true"> > .... > </properties> > <property name="frequency" .../> > <property name="idFatherFeature" index="FeatStatDocExtSectFeat" not-null="true" type="long" column="..."/> > .... > </class> > Indexes for pk or unique key are well created, but the index explicity named 'FeatStatDocExtSectFeat' is never created. If i put the property 'hibernate.hbm2ddl.auto' in the cfg.xml as 'create' the index is created. But in my case i have to set my property 'hibernate.hbm2ddl.auto' to update. -- 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 |
From: Andy D. (JIRA) <no...@at...> - 2005-11-17 09:08:16
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012?page=comments#action_20754 ] Andy DePue commented on HHH-1012: --------------------------------- Yes, this problem exists in both versions of Hibernate (probably the reason for two JIRA issues). I'm also seeing it against PostgreSQL (the other issue mentions MySQL). Hibernate is not creating any indices for us. > index not created by SchemaUpdate > --------------------------------- > > Key: HHH-1012 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012 > Project: Hibernate3 > Type: Bug > Versions: 3.0.5, 3.1 beta 1, 3.1 beta 2 > Environment: Windows XP, MySQL/PostgreSQL > Reporter: Xavier Farret > Priority: Minor > > > i'm using an hbm.xml as describe below and the 'hibernate.hbm2ddl.auto' is egal to update. > <class table="featurestat" name="....."> > <id name="id" type="long" column="idFeatureStat"> > <generator class="increment"/> > </id> > <properties name="fsUniqueValue" unique="true"> > .... > </properties> > <property name="frequency" .../> > <property name="idFatherFeature" index="FeatStatDocExtSectFeat" not-null="true" type="long" column="..."/> > .... > </class> > Indexes for pk or unique key are well created, but the index explicity named 'FeatStatDocExtSectFeat' is never created. If i put the property 'hibernate.hbm2ddl.auto' in the cfg.xml as 'create' the index is created. But in my case i have to set my property 'hibernate.hbm2ddl.auto' to update. -- 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 |
From: <no...@at...> - 2006-02-27 09:16:52
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012?p= age=3Dall ] Mat=C4=9Bj Kraus updated HHH-1012: ----------------------------- Attachment: Indexes.patch Here is the patch for 3.1.2 > index not created by SchemaUpdate > --------------------------------- > > Key: HHH-1012 > URL: http://opensource.atlassian.com/projects/hibernate/browse/H= HH-1012 > Project: Hibernate3 > Type: Bug > Versions: 3.0.5, 3.1 beta 1, 3.1 beta 2 > Environment: Windows XP, MySQL/PostgreSQL > Reporter: Xavier Farret > Priority: Minor > Attachments: Indexes.patch > > > i'm using an hbm.xml as describe below and the 'hibernate.hbm2ddl.auto' i= s egal to update.=20 > <class table=3D"featurestat" name=3D"....."> > <id name=3D"id" type=3D"long" column=3D"idFeatureStat"> > <generator class=3D"increment"/> > </id> > <properties name=3D"fsUniqueValue" unique=3D"true"> > .... > </properties> > <property name=3D"frequency" .../> > <property name=3D"idFatherFeature" index=3D"FeatStatDocExtSectFeat" = not-null=3D"true" type=3D"long" column=3D"..."/> > .... > </class> > Indexes for pk or unique key are well created, but the index explicity na= med 'FeatStatDocExtSectFeat' is never created. If i put the property 'hiber= nate.hbm2ddl.auto' in the cfg.xml as 'create' the index is created. But in = my case i have to set my property 'hibernate.hbm2ddl.auto' to update. --=20 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 |
From: Mark D. (JIRA) <no...@at...> - 2006-06-06 03:08:07
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012?page=comments#action_23262 ] Mark Daring commented on HHH-1012: ---------------------------------- Please apply the patch. This issue resulted in wasted time of investigation. > index not created by SchemaUpdate > --------------------------------- > > Key: HHH-1012 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1012 > Project: Hibernate3 > Type: Bug > Versions: 3.1 beta 1, 3.1 beta 2, 3.0.5 > Environment: Windows XP, MySQL/PostgreSQL > Reporter: Xavier Farret > Priority: Minor > Attachments: Indexes.patch > > > i'm using an hbm.xml as describe below and the 'hibernate.hbm2ddl.auto' is egal to update. > <class table="featurestat" name="....."> > <id name="id" type="long" column="idFeatureStat"> > <generator class="increment"/> > </id> > <properties name="fsUniqueValue" unique="true"> > .... > </properties> > <property name="frequency" .../> > <property name="idFatherFeature" index="FeatStatDocExtSectFeat" not-null="true" type="long" column="..."/> > .... > </class> > Indexes for pk or unique key are well created, but the index explicity named 'FeatStatDocExtSectFeat' is never created. If i put the property 'hibernate.hbm2ddl.auto' in the cfg.xml as 'create' the index is created. But in my case i have to set my property 'hibernate.hbm2ddl.auto' to update. -- 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 |