diff options
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.gen/templates/entities/column.vm')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.gen/templates/entities/column.vm | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.gen/templates/entities/column.vm b/jpa/plugins/org.eclipse.jpt.gen/templates/entities/column.vm deleted file mode 100644 index 8bb49108b2..0000000000 --- a/jpa/plugins/org.eclipse.jpt.gen/templates/entities/column.vm +++ /dev/null @@ -1,52 +0,0 @@ -##included template. Generates the @Column annotation. -##Assumes that the context has a "column" and a "table" object -##generate annotation only the parameters for the column NOT default -##and the generateDLLAnnotation property is not set on the table -###------------------------------------------------ -#macro( append $members $parameters ) -#if( $members == "") -#set( $members = $parameters ) -#else -#set( $members = "$members, $parameters" ) -#end -#end -###------------------------------------------------ -#if ( $column.dataTypeLOB) - @Lob() -#end -#if ( $column.needMapTemporalType) - @Temporal( TemporalType.$column.temporalType) -#end -#set ($members = "") -#if ( !$column.default || $table.generateDDLAnnotations ) -#set ($members = "name=$customizer.quote($column.name)") -#if (!$column.insertable) -#set ($members = "$members, insertable=false") -#end -#if (!$column.updateable) -#set ($members = "$members, updatable=false") -#end -#end -#if( $table.generateDDLAnnotations ) -#if ($column.unique) -#append($members "unique=true") -#end -#if (!$column.nullable) -#append($members "nullable=false") -#end -#if ($column.size > 0) -#if ($column.numeric) -#append($members "precision=$column.size") -#if ($column.decimalDigits != 0 && $column.decimalDigits != -1) -#append($members "scale=$column.decimalDigits") -#end -#else -#if ( !$column.dataTypeLOB) -#append($members "length=$column.size") -#end -#end -#end -#end -#if( $members !="" ) - @Column($members) -#end |