Author: steve.ebersole(a)jboss.com
Date: 2006-11-13 13:47:46 -0500 (Mon, 13 Nov 2006)
New Revision: 10794
Modified:
branches/Branch_3_2/Hibernate3/src/org/hibernate/dialect/Cache71Dialect.java
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/dialect/cache/SQLFunctionsInterSystemsTest.java
Log:
more minor InterSystems stuff
Modified: branches/Branch_3_2/Hibernate3/src/org/hibernate/dialect/Cache71Dialect.java
===================================================================
---
branches/Branch_3_2/Hibernate3/src/org/hibernate/dialect/Cache71Dialect.java 2006-11-13
18:47:32 UTC (rev 10793)
+++
branches/Branch_3_2/Hibernate3/src/org/hibernate/dialect/Cache71Dialect.java 2006-11-13
18:47:46 UTC (rev 10794)
@@ -1,4 +1,4 @@
-//$Id: $
+//$Id: $
package org.hibernate.dialect;
import java.sql.CallableStatement;
@@ -107,12 +107,10 @@
* <tr>
* <td>hibernate.connection.username</td>
* <td>(see note 1)</td>
- * <td>(see note 1)</td>
* </tr>
* <tr>
* <td>hibernate.connection.password</td>
* <td>(see note 1)</td>
- * <td>(see note 1)</td>
* </tr>
* <tr>
* <td>hibernate.connection.url</td>
@@ -151,17 +149,19 @@
* <p/>
* To use Hibernate sequence support with Caché in a namespace, you must FIRST
load the following file into that namespace:
* <pre>
- * src\org\hibernate\dialect\CacheSequences.xml
+ * etc\CacheSequences.xml
* </pre>
+ * For example, at the COS terminal prompt in the namespace, run the
+ * following command:
+ * <p>
+ * d LoadFile^%apiOBJ("c:\hibernate\etc\CacheSequences.xml","ck")
+ * <p>
* In your Hibernate mapping you can specify sequence use.
* <p>
* For example, the following shows the use of a sequence generator in a Hibernate
mapping:
* <pre>
* <id name="id" column="uid" type="long"
unsaved-value="null">
- * <generator class="seqhilo">
- * <param
name="sequence">EVENTS_SEQ</param>
- * <param name="max_lo">0</param>
- * </generator>
+ * <generator class="sequence"/>
* </id>
* </pre>
* <br>
Modified:
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/dialect/cache/SQLFunctionsInterSystemsTest.java
===================================================================
---
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/dialect/cache/SQLFunctionsInterSystemsTest.java 2006-11-13
18:47:32 UTC (rev 10793)
+++
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/dialect/cache/SQLFunctionsInterSystemsTest.java 2006-11-13
18:47:46 UTC (rev 10794)
@@ -31,7 +31,7 @@
import org.hibernate.dialect.TimesTenDialect;
import org.hibernate.dialect.Dialect;
import org.hibernate.dialect.function.SQLFunction;
-import org.hibernate.test.TestCase;
+import org.hibernate.test.DatabaseSpecificTestCase;
import org.hibernate.test.legacy.Simple;
import org.hibernate.test.legacy.Single;
import org.hibernate.test.legacy.Broken;
@@ -43,7 +43,7 @@
*
* @author Jonathan Levinson
*/
-public class SQLFunctionsInterSystemsTest extends TestCase {
+public class SQLFunctionsInterSystemsTest extends DatabaseSpecificTestCase {
private static final Log log = LogFactory.getLog(SQLFunctionsInterSystemsTest.class);
@@ -56,7 +56,7 @@
"legacy/AltSimple.hbm.xml",
"legacy/Broken.hbm.xml",
"legacy/Blobber.hbm.xml",
- "legacy/TestInterSystemsFunctionsClass.hbm.xml"
+ "dialect/cache/TestInterSystemsFunctionsClass.hbm.xml"
};
}
Show replies by date