JPA_SPEC-67: Incorrect code sample for @Convert
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
diff --git a/src/javax/persistence/Convert.java b/src/javax/persistence/Convert.java
index 189e18f..174c257 100644
--- a/src/javax/persistence/Convert.java
+++ b/src/javax/persistence/Convert.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2011 - 2013 Oracle Corporation. All rights reserved.
+ * Copyright (c) 2011 - 2014 Oracle Corporation. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
@@ -77,7 +77,7 @@
* public class Employee {
* @Id long id;
*
- * @Convert(BooleanToIntegerConverter.class)
+ * @Convert(converter=BooleanToIntegerConverter.class)
* boolean fullTime;
* ...
* }
@@ -108,7 +108,7 @@
*
* @ElementCollection
* // applies to each element in the collection
- * @Convert(NameConverter.class)
+ * @Convert(converter=NameConverter.class)
* List<String> names;
*
*
@@ -116,7 +116,7 @@
* The converter is applied to the map value.
*
* @ElementCollection
- * @Convert(EmployeeNameConverter.class)
+ * @Convert(converter=EmployeeNameConverter.class)
* Map<String, String> responsibilities;
*
*