[hibernate-commits] Hibernate SVN: r10646 - in branches/Branch_3_2/Hibernate3/test/org/hibernate/test: hql legacy

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue Oct 24 11:13:53 EDT 2006


Author: max.andersen at jboss.com
Date: 2006-10-24 11:13:50 -0400 (Tue, 24 Oct 2006)
New Revision: 10646

Modified:
   branches/Branch_3_2/Hibernate3/test/org/hibernate/test/hql/FooBarCopy.hbm.xml
   branches/Branch_3_2/Hibernate3/test/org/hibernate/test/legacy/Baz.hbm.xml
   branches/Branch_3_2/Hibernate3/test/org/hibernate/test/legacy/FooBar.hbm.xml
Log:
Make Ingres 2006 happy by not having $ in the start of a table nor column name.

Modified: branches/Branch_3_2/Hibernate3/test/org/hibernate/test/hql/FooBarCopy.hbm.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/test/org/hibernate/test/hql/FooBarCopy.hbm.xml	2006-10-24 14:32:42 UTC (rev 10645)
+++ branches/Branch_3_2/Hibernate3/test/org/hibernate/test/hql/FooBarCopy.hbm.xml	2006-10-24 15:13:50 UTC (rev 10646)
@@ -23,7 +23,7 @@
 			</generator>
 		</id>
 
-		<discriminator column="`$foo_subclass^1234`" type="character" force="true"/>
+		<discriminator column="`^foo_subclass$1234`" type="character" force="true"/>
 		<version name="version"/>
 
 		<many-to-one name="foo" class="Foo">

Modified: branches/Branch_3_2/Hibernate3/test/org/hibernate/test/legacy/Baz.hbm.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/test/org/hibernate/test/legacy/Baz.hbm.xml	2006-10-24 14:32:42 UTC (rev 10645)
+++ branches/Branch_3_2/Hibernate3/test/org/hibernate/test/legacy/Baz.hbm.xml	2006-10-24 15:13:50 UTC (rev 10646)
@@ -60,7 +60,7 @@
 			<index column="j"/>
 			<element column="the_time" type="time"/>
 		</array>
-		<bag name="bag" order-by="`name!`" table="`$%^^bxaxg`">
+		<bag name="bag" order-by="`name!`" table="`^%$^bxaxg`">
 			<key>
 				<column name="`baz_id$`" length="16"/>
 			</key>

Modified: branches/Branch_3_2/Hibernate3/test/org/hibernate/test/legacy/FooBar.hbm.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/test/org/hibernate/test/legacy/FooBar.hbm.xml	2006-10-24 14:32:42 UTC (rev 10645)
+++ branches/Branch_3_2/Hibernate3/test/org/hibernate/test/legacy/FooBar.hbm.xml	2006-10-24 15:13:50 UTC (rev 10646)
@@ -25,7 +25,7 @@
 				<param name="seperator">:</param>
 			</generator>
 		</id>
-		<discriminator column="`$foo_subclass^1234`" type="character" force="true"/>
+		<discriminator column="`^foo_subclass$1234`" type="character" force="true"/>
 		<version name="version"/>
 		<!--<version name="versionCalendar" type="calendar"/>-->
 		<!--<timestamp name="versionTimestamp"/>-->




More information about the hibernate-commits mailing list