Author: stliu
Date: 2009-11-04 23:28:31 -0500 (Wed, 04 Nov 2009)
New Revision: 17918
Modified:
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/id/sequences/entities/Bunny.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/id/sequences/entities/PointyTooth.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/id/sequences/entities/TwinkleToes.java
Log:
JBPAPP-1061 HHH-4397 Tests using sequences are run on databases which doesn't supports
sequences
Modified:
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/id/sequences/entities/Bunny.java
===================================================================
---
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/id/sequences/entities/Bunny.java 2009-11-05
03:17:54 UTC (rev 17917)
+++
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/id/sequences/entities/Bunny.java 2009-11-05
04:28:31 UTC (rev 17918)
@@ -26,7 +26,7 @@
public class Bunny implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY, generator = "java5_uuid")
- @GenericGenerator(name = "java5_uuid", strategy =
"org.hibernate.test.annotations.id.UUIDGenerator")
+ @GenericGenerator(name = "java5_uuid", strategy =
"org.hibernate.test.annotations.id.sequences.UUIDGenerator")
@Column(name = "id", precision = 128, scale = 0)
private BigInteger id;
Modified:
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/id/sequences/entities/PointyTooth.java
===================================================================
---
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/id/sequences/entities/PointyTooth.java 2009-11-05
03:17:54 UTC (rev 17917)
+++
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/id/sequences/entities/PointyTooth.java 2009-11-05
04:28:31 UTC (rev 17918)
@@ -26,7 +26,7 @@
public class PointyTooth implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY, generator = "java5_uuid")
- @GenericGenerator(name = "java5_uuid", strategy =
"org.hibernate.test.annotations.id.UUIDGenerator")
+ @GenericGenerator(name = "java5_uuid", strategy =
"org.hibernate.test.annotations.id.sequences.UUIDGenerator")
@Column(name = "id", precision = 128, scale = 0)
private BigInteger id;
Modified:
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/id/sequences/entities/TwinkleToes.java
===================================================================
---
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/id/sequences/entities/TwinkleToes.java 2009-11-05
03:17:54 UTC (rev 17917)
+++
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/id/sequences/entities/TwinkleToes.java 2009-11-05
04:28:31 UTC (rev 17918)
@@ -25,7 +25,7 @@
public class TwinkleToes implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY, generator = "java5_uuid")
- @GenericGenerator(name = "java5_uuid", strategy =
"org.hibernate.test.annotations.id.UUIDGenerator")
+ @GenericGenerator(name = "java5_uuid", strategy =
"org.hibernate.test.annotations.id.sequences.UUIDGenerator")
@Column(name = "id", precision = 128, scale = 0)
private BigInteger id;
Show replies by date