diff options
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.gen/templates/entities/oneToMany.vm')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.gen/templates/entities/oneToMany.vm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.gen/templates/entities/oneToMany.vm b/jpa/plugins/org.eclipse.jpt.gen/templates/entities/oneToMany.vm deleted file mode 100644 index 46f15cbec9..0000000000 --- a/jpa/plugins/org.eclipse.jpt.gen/templates/entities/oneToMany.vm +++ /dev/null @@ -1,18 +0,0 @@ -##included template. Generates the @OneToMany annotation. -##Assumes that the context has a "role" object representing the generated AssociationRole -## -#if ($role.association.bidirectional) -#set ($members = $customizer.appendAnnotation("", "mappedBy", $role.oppositeRole.propertyName, true)) -#set ($members = $customizer.appendAnnotation($members, "cascade", $customizer.genCascades($role), false)) -#if($customizer.genFetch($role.referrerTable)!="" && $customizer.genFetch($role.referrerTable) !="FetchType.LAZY") -#set ($members = $customizer.appendAnnotation($members, "fetch", $customizer.genFetch($role.referrerTable), false)) -#end - @OneToMany($members) -#else -#set ($members = $customizer.appendAnnotation("", "cascade", $customizer.genCascades($role), false)) -#if($customizer.genFetch($role.referrerTable)!="" && $customizer.genFetch($role.referrerTable) !="FetchType.LAZY") -#set ($members = $customizer.appendAnnotation($members, "fetch", $customizer.genFetch($role.referrerTable), false)) -#end - @OneToMany($members) -#parse("join.vm") -#end
\ No newline at end of file |