hibernate-jpa-2.0-api/hibernate-jpa-2.0-api-1.0.1.Final-encoding.patch
2020-08-25 14:37:30 +08:00

50 lines
2.5 KiB
Diff
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

diff -Naur hibernate-jpa-2.0-api-1.0.1.Final/src/main/java/javax/persistence/EntityManager.java hibernate-jpa-2.0-api-1.0.1.Final-work/src/main/java/javax/persistence/EntityManager.java
--- hibernate-jpa-2.0-api-1.0.1.Final/src/main/java/javax/persistence/EntityManager.java 2011-06-13 05:58:51.000000000 -0400
+++ hibernate-jpa-2.0-api-1.0.1.Final-work/src/main/java/javax/persistence/EntityManager.java 2012-01-15 09:49:01.036261572 -0500
@@ -103,7 +103,7 @@
* not exist
* @throws IllegalArgumentException if the first argument does
* not denote an entity type or the second argument is
- * is not a valid type for that entity’s primary key or
+ * is not a valid type for that entity's primary key or
* is null
*/
public <T> T find(Class<T> entityClass, Object primaryKey);
@@ -123,7 +123,7 @@
* not exist
* @throws IllegalArgumentException if the first argument does
* not denote an entity type or the second argument is
- * is not a valid type for that entity’s primary key or
+ * is not a valid type for that entity's primary key or
* is null
* @since Java Persistence 2.0
*/
@@ -244,7 +244,7 @@
* @return the found entity instance
* @throws IllegalArgumentException if the first argument does
* not denote an entity type or the second argument is
- * not a valid type for that entity’s primary key or
+ * not a valid type for that entity's primary key or
* is null
* @throws EntityNotFoundException if the entity state
* cannot be accessed
@@ -722,4 +722,4 @@
* @since Java Persistence 2.0
*/
public Metamodel getMetamodel();
-}
\ No newline at end of file
+}
diff -Naur hibernate-jpa-2.0-api-1.0.1.Final/src/main/java/javax/persistence/MapsId.java hibernate-jpa-2.0-api-1.0.1.Final-work/src/main/java/javax/persistence/MapsId.java
--- hibernate-jpa-2.0-api-1.0.1.Final/src/main/java/javax/persistence/MapsId.java 2011-06-13 05:58:51.000000000 -0400
+++ hibernate-jpa-2.0-api-1.0.1.Final-work/src/main/java/javax/persistence/MapsId.java 2012-01-15 09:49:25.292274457 -0500
@@ -72,7 +72,7 @@
/**
* (Optional) The name of the attribute within the composite key
* to which the relationship attribute corresponds. If not
- * supplied, the relationship maps the entity’s primary
+ * supplied, the relationship maps the entity's primary
* key.
*/
String value() default "";