Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2011-11-01 14:10:14 -0400
committerMartin Taal2011-11-01 14:10:14 -0400
commit709ec105b89258b5e6b27e57cb3deb177529c54c (patch)
tree436b7b45306590da29d24dfa9b6ad252c2a987d1 /examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm
parent0298896cf5731abb5e728ca6997fd2410d0a8f0f (diff)
downloadorg.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.tar.gz
org.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.tar.xz
org.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.zip
Remove everything for restructuring
Diffstat (limited to 'examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm')
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.classpath7
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.cvsignore1
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.project29
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.settings/org.eclipse.jdt.core.prefs270
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.settings/org.eclipse.jdt.ui.prefs58
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/META-INF/MANIFEST.MF14
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/about.html24
-rwxr-xr-xexamples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/about.ini17
-rwxr-xr-xexamples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/about.properties46
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/build.properties19
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/copyright.txt8
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/db/dropSchema.sql13
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/db/generateSchema.sql365
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/db/initSequence.sql1
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/epl-v10.html320
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/license.html319
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/modeling32.pngbin2414 -> 0 bytes
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/plugin.properties15
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/orm-small.xml80
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/orm.xml301
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/persistence.xml29
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/LibraryCustomizer.java49
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/MapEntryId.java67
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/PublisherCustomizer.java37
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/TypeWriterCustomizer.java29
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/TypeWriterEnumConverter.java53
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/WriterCustomizer.java67
28 files changed, 0 insertions, 2241 deletions
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.classpath b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.classpath
deleted file mode 100644
index 64c5e31b7..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.cvsignore b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.cvsignore
deleted file mode 100644
index ba077a403..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-bin
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.project b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.project
deleted file mode 100644
index f54f5115e..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.project
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.emf.teneo.eclipselink.examples.library.orm</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.apache.derby.ui.derbyEngine</nature>
- </natures>
-</projectDescription>
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.settings/org.eclipse.core.resources.prefs b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 03710d336..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Oct 12 14:12:28 CEST 2004
-eclipse.preferences.version=1
-
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.settings/org.eclipse.jdt.core.prefs b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 10140e51e..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,270 +0,0 @@
-#Tue Jun 16 11:15:19 EDT 2009
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
-org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_assignment=0
-org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
-org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
-org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
-org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
-org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_after_package=1
-org.eclipse.jdt.core.formatter.blank_lines_before_field=0
-org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
-org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
-org.eclipse.jdt.core.formatter.blank_lines_before_method=1
-org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
-org.eclipse.jdt.core.formatter.blank_lines_before_package=0
-org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
-org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
-org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
-org.eclipse.jdt.core.formatter.comment.format_block_comments=true
-org.eclipse.jdt.core.formatter.comment.format_header=false
-org.eclipse.jdt.core.formatter.comment.format_html=true
-org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
-org.eclipse.jdt.core.formatter.comment.format_line_comments=true
-org.eclipse.jdt.core.formatter.comment.format_source_code=true
-org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
-org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
-org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
-org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
-org.eclipse.jdt.core.formatter.comment.line_length=120
-org.eclipse.jdt.core.formatter.compact_else_if=true
-org.eclipse.jdt.core.formatter.continuation_indentation=2
-org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
-org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
-org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_empty_lines=false
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
-org.eclipse.jdt.core.formatter.indentation.size=4
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
-org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.join_lines_in_comments=true
-org.eclipse.jdt.core.formatter.join_wrapped_lines=true
-org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.lineSplit=120
-org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
-org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
-org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
-org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
-org.eclipse.jdt.core.formatter.tabulation.char=tab
-org.eclipse.jdt.core.formatter.tabulation.size=4
-org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
-org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.settings/org.eclipse.jdt.ui.prefs b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 5b2edb475..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,58 +0,0 @@
-#Wed Jan 21 22:44:02 CET 2009
-eclipse.preferences.version=1
-editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
-formatter_profile=_Teneo
-formatter_settings_version=11
-internal.default.compliance=default
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/>
-sp_cleanup.add_default_serial_version_id=true
-sp_cleanup.add_generated_serial_version_id=false
-sp_cleanup.add_missing_annotations=true
-sp_cleanup.add_missing_deprecated_annotations=true
-sp_cleanup.add_missing_methods=false
-sp_cleanup.add_missing_nls_tags=false
-sp_cleanup.add_missing_override_annotations=true
-sp_cleanup.add_serial_version_id=false
-sp_cleanup.always_use_blocks=true
-sp_cleanup.always_use_parentheses_in_expressions=false
-sp_cleanup.always_use_this_for_non_static_field_access=false
-sp_cleanup.always_use_this_for_non_static_method_access=false
-sp_cleanup.convert_to_enhanced_for_loop=true
-sp_cleanup.correct_indentation=true
-sp_cleanup.format_source_code=true
-sp_cleanup.format_source_code_changes_only=false
-sp_cleanup.make_local_variable_final=false
-sp_cleanup.make_parameters_final=false
-sp_cleanup.make_private_fields_final=true
-sp_cleanup.make_type_abstract_if_missing_method=false
-sp_cleanup.make_variable_declarations_final=false
-sp_cleanup.never_use_blocks=false
-sp_cleanup.never_use_parentheses_in_expressions=true
-sp_cleanup.on_save_use_additional_actions=true
-sp_cleanup.organize_imports=true
-sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
-sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
-sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
-sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
-sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
-sp_cleanup.remove_private_constructors=true
-sp_cleanup.remove_trailing_whitespaces=true
-sp_cleanup.remove_trailing_whitespaces_all=true
-sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
-sp_cleanup.remove_unnecessary_casts=true
-sp_cleanup.remove_unnecessary_nls_tags=true
-sp_cleanup.remove_unused_imports=true
-sp_cleanup.remove_unused_local_variables=true
-sp_cleanup.remove_unused_private_fields=true
-sp_cleanup.remove_unused_private_members=false
-sp_cleanup.remove_unused_private_methods=true
-sp_cleanup.remove_unused_private_types=true
-sp_cleanup.sort_members=false
-sp_cleanup.sort_members_all=false
-sp_cleanup.use_blocks=true
-sp_cleanup.use_blocks_only_for_return_and_throw=false
-sp_cleanup.use_parentheses_in_expressions=false
-sp_cleanup.use_this_for_non_static_field_access=false
-sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
-sp_cleanup.use_this_for_non_static_method_access=false
-sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/META-INF/MANIFEST.MF b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/META-INF/MANIFEST.MF
deleted file mode 100644
index e81b3ae41..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,14 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.emf.teneo.eclipselink.examples.library.orm;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: %providerName
-Bundle-Localization: plugin
-Require-Bundle: org.eclipse.emf.ecore,
- org.eclipse.emf.teneo.eclipselink;visibility:=reexport,
- org.eclipse.emf.teneo.eclipselink.examples.library;visibility:=reexport
-Export-Package: META-INF,
- org.eclipse.emf.teneo.eclipselink.examples.library.orm
-Bundle-ActivationPolicy: lazy
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/about.html b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/about.html
deleted file mode 100644
index 5a279453c..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/about.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><head>
-
-
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>About</title></head><body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 5, 2007, 2008</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, "Program" will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party ("Redistributor") and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body></html> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/about.ini b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/about.ini
deleted file mode 100755
index 1d17e5539..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/about.ini
+++ /dev/null
@@ -1,17 +0,0 @@
-# about.ini
-# contains information about a feature
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# "%key" are externalized strings defined in about.properties
-# This file does not need to be translated.
-
-# Property "aboutText" contains blurb for "About" dialog (translated)
-aboutText=%featureText
-
-# Property "featureImage" contains path to feature image (32x32)
-featureImage=modeling32.png
-
-# Property "appName" contains name of the application (translated)
-appName=%featureName
-
-# Property "welcomePage" contains path to welcome page (special XML-based format)
-#welcomePage=$nl$/welcome.xml
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/about.properties b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/about.properties
deleted file mode 100755
index bcfa016c1..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/about.properties
+++ /dev/null
@@ -1,46 +0,0 @@
-#/**
-# * <copyright>
-# *
-# * Copyright (c) 2008-2009 Oracle and Geensys.
-# * All rights reserved. This program and the accompanying materials
-# * are made available under the terms of the Eclipse Public License v1.0
-# * which accompanies this distribution, and is available at
-# * http://www.eclipse.org/legal/epl-v10.html
-# *
-# * Contributors:
-# * Oracle and Geensys - initial API and implementation
-# *
-# * </copyright>
-# *
-# * $Id: about.properties,v 1.1 2009/01/23 21:51:23 mtaal Exp $
-# */
-
-# NLS_MESSAGEFORMAT_VAR
-
-# ==============================================================================
-# Do not change the properties between this line and the last line containing:
-# %%% END OF TRANSLATED PROPERTIES %%%
-# Instead, either redefine an existing property, or create a new property,
-# append it to the end of the file, and change the code to use the new name.
-# ==============================================================================
-
-# about.properties
-# contains externalized strings for about.ini
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# fill-ins are supplied by about.mappings
-# This file should be translated.
-
-featureName=EMF Teneo EclipseLink Library O/R Mapping
-
-featureText=EMF Teneo EclipseLink Library O/R Mapping \n\
-Version: {featureVersion}\n\
-Build id: {0}\n\
-\n\
-(c) Copyright (c) 2008-2009 Oracle and Geensys. All rights reserved.\n\
-\n\
-Visit http://www.eclipse.org/emf
-
-# ==============================================================================
-# %%% END OF TRANSLATED PROPERTIES %%%
-# The above properties have been shipped for translation.
-# ==============================================================================
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/build.properties b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/build.properties
deleted file mode 100644
index 48c71d871..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/build.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- epl-v10.html,\
- modeling32.png,\
- about.ini,\
- about.properties,\
- copyright.txt,\
- about.html,\
- .,\
- plugin.properties
-src.includes = about.html,\
- about.ini,\
- about.properties,\
- copyright.txt,\
- epl-v10.html,\
- license.html,\
- modeling32.png,\
- plugin.properties
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/copyright.txt b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/copyright.txt
deleted file mode 100644
index a37ef444a..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/copyright.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Copyright (c) 2008-2009 Oracle and Geensys.
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Eclipse Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/epl-v10.html
-
-Contributors:
- Oracle and Geensys - initial API and implementation
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/db/dropSchema.sql b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/db/dropSchema.sql
deleted file mode 100644
index 4bf2a71af..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/db/dropSchema.sql
+++ /dev/null
@@ -1,13 +0,0 @@
-DROP TABLE EMFLIB_ADDRESS cascade constraints;
-DROP TABLE EMFLIB_COVER cascade constraints;
-DROP TABLE EMFLIB_BOOK cascade constraints;
-DROP TABLE EMFLIB_BOOK_STYLE_MAP cascade constraints;
-DROP TABLE EMFLIB_LIBRARY cascade constraints;
-DROP TABLE EMFLIB_LIBRARY_BOOK_MAP cascade constraints;
-DROP TABLE EMFLIB_PUBLISHER cascade constraints;
-DROP TABLE EMFLIB_STYLE cascade constraints;
-DROP TABLE EMFLIB_TRANSLATOR cascade constraints;
-DROP TABLE EMFLIB_TYPEWRITER cascade constraints;
-DROP TABLE EMFLIB_WRITER cascade constraints;
-DROP TABLE EMFLIB_WRITER_PUBLISHER cascade constraints;
-DROP TABLE EMFLIB_WRITER_TYPEWRITER cascade constraints; \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/db/generateSchema.sql b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/db/generateSchema.sql
deleted file mode 100644
index a699b6197..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/db/generateSchema.sql
+++ /dev/null
@@ -1,365 +0,0 @@
-CREATE TABLE EMFLIB_COVER
-(
-ID NUMBER(22,0) NOT NULL,
-ECONT_FEAT_ID NUMBER(22, 0),
-COLORED VARCHAR2(80),
-ECONTAINER_ID NUMBER(22,0)
-)
-;
-
-CREATE TABLE EMFLIB_LIBRARY
-(
-ID NUMBER(22,0) NOT NULL,
-NAME VARCHAR2(80) NOT NULL
-)
-;
-
-CREATE TABLE EMFLIB_LIBRARY_BOOK_MAP
-(
-KEY VARCHAR(80) NOT NULL,
-BOOK_ID NUMBER(22,0) NOT NULL,
-LIBRARY_ID NUMBER(22,0) NOT NULL,
-ECONT_FEAT_ID NUMBER(22, 0)
-)
-;
-
-CREATE TABLE EMFLIB_BOOK
-(
-ID NUMBER(22,0) NOT NULL,
-AUTHOR_ID NUMBER(22,0),
-CATEGORY VARCHAR2(80),
-ECONT_FEAT_ID NUMBER(22, 0),
-LIBRARY_NAME VARCHAR2(80),
-PAGES NUMBER(22, 0),
-TITLE VARCHAR2(80) NOT NULL,
-TRANSLATOR_ID NUMBER(22,0)
-)
-;
-
-CREATE TABLE EMFLIB_WRITER
-(
-ID NUMBER(22,0) NOT NULL,
-ECONT_FEAT_ID NUMBER(22, 0),
-ECONTAINER_ID NUMBER(22,0),
-NAME VARCHAR2(80) NOT NULL,
-ADDRESS_ID NUMBER(22,0)
-)
-;
-
-CREATE TABLE EMFLIB_PUBLISHER
-(
-ID NUMBER(22,0) NOT NULL,
-NAME VARCHAR2(80) NOT NULL
-)
-;
-
-CREATE TABLE EMFLIB_WRITER_PUBLISHER
-(
-WRITER_ID NUMBER(22,0) NOT NULL,
-PUBLISHER_ID NUMBER(22,0) NOT NULL
-)
-;
-
-CREATE TABLE EMFLIB_ADDRESS
-(
-ID NUMBER(22,0) NOT NULL,
-TOWN VARCHAR2(80) NOT NULL,
-ECONT_FEAT_ID NUMBER(22, 0)
-)
-;
-
-CREATE TABLE EMFLIB_STYLE
-(
-ID NUMBER(22,0) NOT NULL,
-NAME VARCHAR2(80) NOT NULL
-)
-;
-
-CREATE TABLE EMFLIB_BOOK_STYLE_MAP
-(
-KEY VARCHAR(80) NOT NULL,
-BOOK_ID NUMBER(22,0) NOT NULL,
-STYLE_ID NUMBER(22,0) NOT NULL,
-ECONT_FEAT_ID NUMBER(22, 0)
-)
-;
-
-CREATE TABLE EMFLIB_TRANSLATOR
-(
-ID NUMBER(22,0) NOT NULL,
-NAME VARCHAR2(80) NOT NULL,
-LOCATION VARCHAR2(80)
-)
-;
-
-CREATE TABLE EMFLIB_TYPEWRITER
-(
-ID NUMBER(22,0) NOT NULL,
-MAKER VARCHAR2(80) NOT NULL,
-TYPE VARCHAR2(80)
-)
-;
-
-CREATE TABLE EMFLIB_WRITER_TYPEWRITER
-(
-WRITER_ID NUMBER(22,0) NOT NULL,
-TYPEWRITER_ID NUMBER(22,0) NOT NULL
-)
-;
-
-ALTER TABLE EMFLIB_ADDRESS
-ADD CONSTRAINT EMFLIB_ADDRESS_PK PRIMARY KEY
-(
-ID
-)
- ENABLE
-;
-
-ALTER TABLE EMFLIB_LIBRARY
-ADD CONSTRAINT EMFLIB_LIBRARY_PK PRIMARY KEY
-(
-ID
-)
- ENABLE
-;
-
-ALTER TABLE EMFLIB_LIBRARY_BOOK_MAP
-ADD CONSTRAINT EMFLIB_LIBRARY_BOOK_MAP_PK PRIMARY KEY
-(
-KEY,
-LIBRARY_ID
-)
- ENABLE
-;
-
-ALTER TABLE EMFLIB_BOOK
-ADD CONSTRAINT EMFLIB_BOOK_PK PRIMARY KEY
-(
-ID
-)
- ENABLE
-;
-
-ALTER TABLE EMFLIB_COVER
-ADD CONSTRAINT EMFLIB_COVER_PK PRIMARY KEY
-(
-ID
-)
- ENABLE
-;
-
-ALTER TABLE EMFLIB_COVER
-ADD CONSTRAINT EMFLIB_COVER_BOOK_REF FOREIGN KEY
-(
-ECONTAINER_ID
-)
-REFERENCES EMFLIB_BOOK
-(
-ID
-) ENABLE
-;
-
-ALTER TABLE EMFLIB_WRITER
-ADD CONSTRAINT EMFLIB_WRITER_PK PRIMARY KEY
-(
-ID
-)
- ENABLE
-;
-
-ALTER TABLE EMFLIB_PUBLISHER
-ADD CONSTRAINT EMFLIB_PUBLISHER_PK PRIMARY KEY
-(
-ID
-)
- ENABLE
-;
-
-ALTER TABLE EMFLIB_WRITER_PUBLISHER
-ADD CONSTRAINT EMFLIB_WRITER_PUBLISHER_PK PRIMARY KEY
-(
-WRITER_ID,
-PUBLISHER_ID
-)
- ENABLE
-;
-
-ALTER TABLE EMFLIB_STYLE
-ADD CONSTRAINT EMFLIB_STYLE_PK PRIMARY KEY
-(
-ID
-)
- ENABLE
-;
-
-ALTER TABLE EMFLIB_BOOK_STYLE_MAP
-ADD CONSTRAINT EMFLIB_BOOK_STYLE_MAP_PK PRIMARY KEY
-(
-KEY,
-BOOK_ID
-)
- ENABLE
-;
-
-ALTER TABLE EMFLIB_TRANSLATOR
-ADD CONSTRAINT TRANSLATOR_PK PRIMARY KEY
-(
-ID
-)
- ENABLE
-;
-
-ALTER TABLE EMFLIB_TYPEWRITER
-ADD CONSTRAINT EMFLIB_TYPEWRITER_PK PRIMARY KEY
-(
-ID
-)
- ENABLE
-;
-
-ALTER TABLE EMFLIB_WRITER_TYPEWRITER
-ADD CONSTRAINT EMFLIB_WRITER_TYPEWRITER_PK PRIMARY KEY
-(
-WRITER_ID,
-TYPEWRITER_ID
-)
- ENABLE
-;
-
-ALTER TABLE EMFLIB_LIBRARY_BOOK_MAP
-ADD CONSTRAINT EMFLIB_LIBRARY_BOOK_BOOK_REF FOREIGN KEY
-(
-BOOK_ID
-)
-REFERENCES EMFLIB_BOOK
-(
-ID
-) ENABLE
-;
-
-ALTER TABLE EMFLIB_LIBRARY_BOOK_MAP
-ADD CONSTRAINT EMFLIB_LIBRARY_BOOK_EMFLIB_REF FOREIGN KEY
-(
-LIBRARY_ID
-)
-REFERENCES EMFLIB_LIBRARY
-(
-ID
-) ENABLE
-;
-
-ALTER TABLE EMFLIB_BOOK
-ADD CONSTRAINT EMFLIB_BOOK_WRITER FOREIGN KEY
-(
-AUTHOR_ID
-)
-REFERENCES EMFLIB_WRITER
-(
-ID
-) ENABLE
-;
-
-ALTER TABLE EMFLIB_BOOK
-ADD CONSTRAINT EMFLIB_BOOK_TRANSLATOR FOREIGN KEY
-(
-TRANSLATOR_ID
-)
-REFERENCES EMFLIB_TRANSLATOR
-(
-ID
-) ENABLE
-;
-
-ALTER TABLE EMFLIB_WRITER
-ADD CONSTRAINT EMFLIB_WRITER_ADDRESS_FK FOREIGN KEY
-(
-ADDRESS_ID
-)
-REFERENCES EMFLIB_ADDRESS
-(
-ID
-) ENABLE
-;
-
-ALTER TABLE EMFLIB_WRITER
-ADD CONSTRAINT EMFLIB_WRITER_LIBRARY_FK FOREIGN KEY
-(
-ECONTAINER_ID
-)
-REFERENCES EMFLIB_LIBRARY
-(
-ID
-) ENABLE
-;
-
-ALTER TABLE EMFLIB_WRITER_PUBLISHER
-ADD CONSTRAINT EMFLIB_TO_PUBLISHER_FK FOREIGN KEY
-(
-PUBLISHER_ID
-)
-REFERENCES EMFLIB_PUBLISHER
-(
-ID
-) ENABLE
-;
-
-ALTER TABLE EMFLIB_WRITER_PUBLISHER
-ADD CONSTRAINT EMFLIB_TO_WRITER_FK FOREIGN KEY
-(
-WRITER_ID
-)
-REFERENCES EMFLIB_WRITER
-(
-ID
-) ENABLE
-;
-
-ALTER TABLE EMFLIB_BOOK_STYLE_MAP
-ADD CONSTRAINT EMFLIB_BOOK_STYLE_BOOK_FK FOREIGN KEY
-(
-BOOK_ID
-)
-REFERENCES EMFLIB_BOOK
-(
-ID
-) ENABLE
-;
-
-ALTER TABLE EMFLIB_BOOK_STYLE_MAP
-ADD CONSTRAINT EMFLIB_BOOK_STYLE_STYLE_FK FOREIGN KEY
-(
-STYLE_ID
-)
-REFERENCES EMFLIB_STYLE
-(
-ID
-) ENABLE
-;
-
-ALTER TABLE EMFLIB_WRITER_TYPEWRITER
-ADD CONSTRAINT EMFLIB_TW_TO_WRITER_FK FOREIGN KEY
-(
-WRITER_ID
-)
-REFERENCES EMFLIB_WRITER
-(
-ID
-) ENABLE
-;
-
-ALTER TABLE EMFLIB_WRITER_TYPEWRITER
-ADD CONSTRAINT EMFLIB_TW_TO_TYPEWRITER_FK FOREIGN KEY
-(
-TYPEWRITER_ID
-)
-REFERENCES EMFLIB_TYPEWRITER
-(
-ID
-) ENABLE
-;
-
-CREATE TABLE SEQUENCE
-( "SEQ_NAME" VARCHAR2(50 BYTE),
- "SEQ_COUNT" NUMBER(38,0)
-)
-
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/db/initSequence.sql b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/db/initSequence.sql
deleted file mode 100644
index 06f146667..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/db/initSequence.sql
+++ /dev/null
@@ -1 +0,0 @@
-INSERT INTO "SEQUENCE" (SEQ_NAME, SEQ_COUNT) VALUES ('SEQ_GEN', '1')
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/epl-v10.html b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/epl-v10.html
deleted file mode 100644
index 62b1f6f04..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/epl-v10.html
+++ /dev/null
@@ -1,320 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta name="ProgId" content="Word.Document">
-<meta name="Generator" content="Microsoft Word 9">
-<meta name="Originator" content="Microsoft Word 9">
-<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-
-
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style></head>
-
-<body style="" lang="EN-US">
-
-<div class="Section1">
-
-<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
-
-<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-in the case of the initial Contributor, the initial code and documentation
-distributed under this Agreement, and<br clear="left">
-b) in the case of each subsequent Contributor:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-changes to the Program, and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-additions to the Program;</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. A Contribution 'originates' from a Contributor
-if it was added to the Program by such Contributor itself or anyone acting on
-such Contributor's behalf. Contributions do not include additions to the
-Program which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii) are not derivative
-works of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">"Contributor" means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style="font-size: 10pt;">"Licensed Patents " mean patent
-claims licensable by a Contributor which are necessarily infringed by the use
-or sale of its Contribution alone or when combined with the Program. </span></p>
-
-<p><span style="font-size: 10pt;">"Program" means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style="font-size: 10pt;">"Recipient" means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>reproduce, prepare derivative works of, publicly
-display, publicly perform, distribute and sublicense the Contribution of such
-Contributor, if any, and such derivative works, in source code and object code
-form.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>royalty-free
-patent license under Licensed Patents to make, use, sell, offer to sell, import
-and otherwise transfer the Contribution of such Contributor, if any, in source
-code and object code form. This patent license shall apply to the combination
-of the Contribution and the Program if, at the time the Contribution is added
-by the Contributor, such addition of the Contribution causes such combination
-to be covered by the Licensed Patents. The patent license shall not apply to
-any other combinations which include the Contribution. No hardware per se is
-licensed hereunder. </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">c)
-Recipient understands that although each Contributor grants the licenses to its
-Contributions set forth herein, no assurances are provided by any Contributor
-that the Program does not infringe the patent or other intellectual property
-rights of any other entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement of intellectual
-property rights or otherwise. As a condition to exercising the rights and
-licenses granted hereunder, each Recipient hereby assumes sole responsibility
-to secure any other intellectual property rights needed, if any. For example,
-if a third party patent license is required to allow Recipient to distribute
-the Program, it is Recipient's responsibility to acquire that license before
-distributing the Program.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">d)
-Each Contributor represents that to its knowledge it has sufficient copyright
-rights in its Contribution, if any, to grant the copyright license set forth in
-this Agreement. </span></p>
-
-<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
-
-<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-its license agreement:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-effectively disclaims on behalf of all Contributors all warranties and
-conditions, express and implied, including warranties or conditions of title
-and non-infringement, and implied warranties or conditions of merchantability
-and fitness for a particular purpose; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iv)
-states that source code for the Program is available from such Contributor, and
-informs licensees how to obtain it in a reasonable manner on or through a
-medium customarily used for software exchange.<span style="color: blue;"> </span></span></p>
-
-<p><span style="font-size: 10pt;">When the Program is made available in source
-code form:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it must be made available under this Agreement; and </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Each Contributor must identify itself as the
-originator of its Contribution, if any, in a manner that reasonably allows
-subsequent Recipients to identify the originator of the Contribution. </span></p>
-
-<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style="font-size: 10pt;">Commercial distributors of software may
-accept certain responsibilities with respect to end users, business partners
-and the like. While this license is intended to facilitate the commercial use
-of the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create potential
-liability for other Contributors. Therefore, if a Contributor includes the
-Program in a commercial product offering, such Contributor ("Commercial
-Contributor") hereby agrees to defend and indemnify every other
-Contributor ("Indemnified Contributor") against any losses, damages and
-costs (collectively "Losses") arising from claims, lawsuits and other
-legal actions brought by a third party against the Indemnified Contributor to
-the extent caused by the acts or omissions of such Commercial Contributor in
-connection with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any claims or Losses
-relating to any actual or alleged intellectual property infringement. In order
-to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-Contributor in writing of such claim, and b) allow the Commercial Contributor
-to control, and cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor may participate
-in any such claim at its own expense.</span> </p>
-
-<p><span style="font-size: 10pt;">For example, a Contributor might include the
-Program in a commercial product offering, Product X. That Contributor is then a
-Commercial Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance claims and
-warranties are such Commercial Contributor's responsibility alone. Under this
-section, the Commercial Contributor would have to defend claims against the
-other Contributors related to those performance claims and warranties, and if a
-court requires any other Contributor to pay any damages as a result, the
-Commercial Contributor must pay those damages.</span> </p>
-
-<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
-
-<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
-WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
-THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
-
-<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
-
-<p><span style="font-size: 10pt;">If any provision of this Agreement is invalid
-or unenforceable under applicable law, it shall not affect the validity or
-enforceability of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be reformed to the
-minimum extent necessary to make such provision valid and enforceable.</span> </p>
-
-<p><span style="font-size: 10pt;">If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in a lawsuit)
-alleging that the Program itself (excluding combinations of the Program with
-other software or hardware) infringes such Recipient's patent(s), then such
-Recipient's rights granted under Section 2(b) shall terminate as of the date
-such litigation is filed. </span></p>
-
-<p><span style="font-size: 10pt;">All Recipient's rights under this Agreement
-shall terminate if it fails to comply with any of the material terms or
-conditions of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If all Recipient's
-rights under this Agreement terminate, Recipient agrees to cease use and
-distribution of the Program as soon as reasonably practicable. However,
-Recipient's obligations under this Agreement and any licenses granted by
-Recipient relating to the Program shall continue and survive. </span></p>
-
-<p><span style="font-size: 10pt;">Everyone is permitted to copy and distribute
-copies of this Agreement, but in order to avoid inconsistency the Agreement is
-copyrighted and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. Each new version
-of the Agreement will be given a distinguishing version number. The Program
-(including Contributions) may always be distributed subject to the version of
-the Agreement under which it was received. In addition, after a new version of
-the Agreement is published, Contributor may elect to distribute the Program
-(including its Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
-the intellectual property of any Contributor under this Agreement, whether
-expressly, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style="font-size: 10pt;">This Agreement is governed by the laws of the
-State of New York and the intellectual property laws of the United States of
-America. No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose. Each party waives
-its rights to a jury trial in any resulting litigation.</span> </p>
-
-<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
-
-</div>
-
-</body></html> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/license.html b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/license.html
deleted file mode 100644
index d7b88e941..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/license.html
+++ /dev/null
@@ -1,319 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta name="ProgId" content="Word.Document">
-<meta name="Generator" content="Microsoft Word 9">
-<meta name="Originator" content="Microsoft Word 9">
-<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-
-
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style></head>
-
-<body style="" lang="EN-US">
-
-<div class="Section1">
-
-<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
-
-<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-in the case of the initial Contributor, the initial code and documentation
-distributed under this Agreement, and<br clear="left">
-b) in the case of each subsequent Contributor:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-changes to the Program, and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-additions to the Program;</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. A Contribution 'originates' from a Contributor
-if it was added to the Program by such Contributor itself or anyone acting on
-such Contributor's behalf. Contributions do not include additions to the
-Program which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii) are not derivative
-works of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">"Contributor" means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style="font-size: 10pt;">"Licensed Patents " mean patent
-claims licensable by a Contributor which are necessarily infringed by the use
-or sale of its Contribution alone or when combined with the Program. </span></p>
-
-<p><span style="font-size: 10pt;">"Program" means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style="font-size: 10pt;">"Recipient" means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>reproduce, prepare derivative works of, publicly
-display, publicly perform, distribute and sublicense the Contribution of such
-Contributor, if any, and such derivative works, in source code and object code
-form.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>royalty-free
-patent license under Licensed Patents to make, use, sell, offer to sell, import
-and otherwise transfer the Contribution of such Contributor, if any, in source
-code and object code form. This patent license shall apply to the combination
-of the Contribution and the Program if, at the time the Contribution is added
-by the Contributor, such addition of the Contribution causes such combination
-to be covered by the Licensed Patents. The patent license shall not apply to
-any other combinations which include the Contribution. No hardware per se is
-licensed hereunder. </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">c)
-Recipient understands that although each Contributor grants the licenses to its
-Contributions set forth herein, no assurances are provided by any Contributor
-that the Program does not infringe the patent or other intellectual property
-rights of any other entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement of intellectual
-property rights or otherwise. As a condition to exercising the rights and
-licenses granted hereunder, each Recipient hereby assumes sole responsibility
-to secure any other intellectual property rights needed, if any. For example,
-if a third party patent license is required to allow Recipient to distribute
-the Program, it is Recipient's responsibility to acquire that license before
-distributing the Program.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">d)
-Each Contributor represents that to its knowledge it has sufficient copyright
-rights in its Contribution, if any, to grant the copyright license set forth in
-this Agreement. </span></p>
-
-<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
-
-<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-its license agreement:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-effectively disclaims on behalf of all Contributors all warranties and
-conditions, express and implied, including warranties or conditions of title
-and non-infringement, and implied warranties or conditions of merchantability
-and fitness for a particular purpose; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iv)
-states that source code for the Program is available from such Contributor, and
-informs licensees how to obtain it in a reasonable manner on or through a
-medium customarily used for software exchange.<span style="color: blue;"> </span></span></p>
-
-<p><span style="font-size: 10pt;">When the Program is made available in source
-code form:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it must be made available under this Agreement; and </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Each Contributor must identify itself as the
-originator of its Contribution, if any, in a manner that reasonably allows
-subsequent Recipients to identify the originator of the Contribution. </span></p>
-
-<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style="font-size: 10pt;">Commercial distributors of software may
-accept certain responsibilities with respect to end users, business partners
-and the like. While this license is intended to facilitate the commercial use
-of the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create potential
-liability for other Contributors. Therefore, if a Contributor includes the
-Program in a commercial product offering, such Contributor ("Commercial
-Contributor") hereby agrees to defend and indemnify every other
-Contributor ("Indemnified Contributor") against any losses, damages and
-costs (collectively "Losses") arising from claims, lawsuits and other
-legal actions brought by a third party against the Indemnified Contributor to
-the extent caused by the acts or omissions of such Commercial Contributor in
-connection with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any claims or Losses
-relating to any actual or alleged intellectual property infringement. In order
-to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-Contributor in writing of such claim, and b) allow the Commercial Contributor
-to control, and cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor may participate
-in any such claim at its own expense.</span> </p>
-
-<p><span style="font-size: 10pt;">For example, a Contributor might include the
-Program in a commercial product offering, Product X. That Contributor is then a
-Commercial Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance claims and
-warranties are such Commercial Contributor's responsibility alone. Under this
-section, the Commercial Contributor would have to defend claims against the
-other Contributors related to those performance claims and warranties, and if a
-court requires any other Contributor to pay any damages as a result, the
-Commercial Contributor must pay those damages.</span> </p>
-
-<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
-
-<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
-WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
-THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
-
-<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
-
-<p><span style="font-size: 10pt;">If any provision of this Agreement is invalid
-or unenforceable under applicable law, it shall not affect the validity or
-enforceability of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be reformed to the
-minimum extent necessary to make such provision valid and enforceable.</span> </p>
-
-<p><span style="font-size: 10pt;">If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in a lawsuit)
-alleging that the Program itself (excluding combinations of the Program with
-other software or hardware) infringes such Recipient's patent(s), then such
-Recipient's rights granted under Section 2(b) shall terminate as of the date
-such litigation is filed. </span></p>
-
-<p><span style="font-size: 10pt;">All Recipient's rights under this Agreement
-shall terminate if it fails to comply with any of the material terms or
-conditions of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If all Recipient's
-rights under this Agreement terminate, Recipient agrees to cease use and
-distribution of the Program as soon as reasonably practicable. However,
-Recipient's obligations under this Agreement and any licenses granted by
-Recipient relating to the Program shall continue and survive. </span></p>
-
-<p><span style="font-size: 10pt;">Everyone is permitted to copy and distribute
-copies of this Agreement, but in order to avoid inconsistency the Agreement is
-copyrighted and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. Each new version
-of the Agreement will be given a distinguishing version number. The Program
-(including Contributions) may always be distributed subject to the version of
-the Agreement under which it was received. In addition, after a new version of
-the Agreement is published, Contributor may elect to distribute the Program
-(including its Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
-the intellectual property of any Contributor under this Agreement, whether
-expressly, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style="font-size: 10pt;">This Agreement is governed by the laws of the
-State of New York and the intellectual property laws of the United States of
-America. No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose. Each party waives
-its rights to a jury trial in any resulting litigation.</span> </p>
-
-<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
-
-</div>
-
-</body></html> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/modeling32.png b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/modeling32.png
deleted file mode 100644
index 6b08de2ad..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/modeling32.png
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/plugin.properties b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/plugin.properties
deleted file mode 100644
index dc7df3f38..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/plugin.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-# ====================================================================
-# To code developer:
-# Do NOT change the properties between this line and the
-# "%%% END OF TRANSLATED PROPERTIES %%%" line.
-# Make a new property name, append to the end of the file and change
-# the code to use the new property.
-# ====================================================================
-
-# ====================================================================
-# %%% END OF TRANSLATED PROPERTIES %%%
-# ====================================================================
-
-pluginName = EMF Teneo EclipseLink Library O/R Mapping
-providerName = Eclipse Modeling Project
-
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/orm-small.xml b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/orm-small.xml
deleted file mode 100644
index 356819f7f..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/orm-small.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="1.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm ../../orm_1_0.xsd ">
-
- <!--=================================-->
- <!-- Persistence unit level metadata -->
- <!--=================================-->
-
- <persistence-unit-metadata>
- <xml-mapping-metadata-complete/>
- <persistence-unit-defaults>
- <access>FIELD</access>
- </persistence-unit-defaults>
- </persistence-unit-metadata>
-
- <!--=============================-->
- <!-- Mapping file level metadata -->
- <!--=============================-->
-
- <package>org.eclipse.emf.teneo.eclipselink.examples.library.impl</package>
-
- <!--=========-->
- <!-- Queries -->
- <!--=========-->
-
-
- <!--=========================-->
- <!-- Abstract class mappings -->
- <!--=========================-->
-
- <!--=================-->
- <!-- Entity mappings -->
- <!--=================-->
-
- <entity name="Publisher" class="PublisherImpl">
- <table name="EMFLIB_PUBLISHER"/>
- <attributes>
- <id name="dbID">
- <column name="ID"/>
- <generated-value/>
- </id>
- <basic name="name"/>
- <many-to-many name="writers" target-entity="WriterImpl">
- <join-table name="PUBLISHER_WRITER"></join-table>
- <cascade>
- <cascade-persist/>
- <cascade-merge/>
- <cascade-refresh/>
- </cascade>
- </many-to-many>
- </attributes>
- </entity>
-
- <entity name="Writer" class="WriterImpl">
- <table name="EMFLIB_WRITER"/>
- <attributes>
- <id name="dbID">
- <column name="ID"/>
- <generated-value/>
- </id>
- <basic name="name"/>
- <basic name="eContainerFeatureID">
- <column name="ECONT_FEAT_ID"/>
- </basic>
- <many-to-many name="publishers" target-entity="PublisherImpl" mapped-by="writers">
- <cascade>
- <cascade-persist/>
- <cascade-merge/>
- <cascade-refresh/>
- </cascade>
- </many-to-many>
- <transient name="typewriters"/>
- <transient name="books" />
- <transient name="address" />
- <transient name="eContainer" />
- </attributes>
- </entity>
-
-</entity-mappings> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/orm.xml b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/orm.xml
deleted file mode 100644
index 046b9e841..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/orm.xml
+++ /dev/null
@@ -1,301 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings
- xmlns="http://java.sun.com/xml/ns/persistence/orm"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
- version="1.0">
-
- <!--=================================-->
- <!-- Persistence unit level metadata -->
- <!--=================================-->
-
- <persistence-unit-metadata>
- <xml-mapping-metadata-complete/>
- <persistence-unit-defaults>
- <access>FIELD</access>
- </persistence-unit-defaults>
- </persistence-unit-metadata>
-
- <!--=============================-->
- <!-- Mapping file level metadata -->
- <!--=============================-->
-
- <package>org.eclipse.emf.teneo.eclipselink.examples.library.impl</package>
-
- <!--=========-->
- <!-- Queries -->
- <!--=========-->
-
-
- <!--=========================-->
- <!-- Abstract class mappings -->
- <!--=========================-->
-
- <!--=================-->
- <!-- Entity mappings -->
- <!--=================-->
-
- <entity name="Address" class="AddressImpl">
- <table name="EMFLIB_ADDRESS"/>
- <attributes>
- <id name="dbID">
- <column name="ID"/>
- <generated-value/>
- </id>
- <basic name="town"/>
- <basic name="eContainerFeatureID">
- <column name="ECONT_FEAT_ID"/>
- </basic>
- <one-to-one name="eContainer" target-entity="WriterImpl" mapped-by="address">
- </one-to-one>
- </attributes>
- </entity>
-
- <entity name="Book" class="BookImpl" access="FIELD">
- <table name="EMFLIB_BOOK"/>
- <attributes>
- <id name="dbID">
- <column name="ID"/>
- <generated-value/>
- </id>
- <basic name="title"/>
- <basic name="pages"/>
- <basic name="eContainerFeatureID">
- <column name="ECONT_FEAT_ID"/>
- </basic>
- <many-to-one name="author" target-entity="WriterImpl">
- <join-column name="AUTHOR_ID"/>
- <cascade>
- <cascade-persist/>
- <cascade-merge/>
- <cascade-refresh/>
- </cascade>
- </many-to-one>
- <one-to-many name="styles" target-entity="BookStylesMapEntryImpl" mapped-by="eContainer">
- <cascade>
- <cascade-all/>
- </cascade>
- </one-to-many>
- <one-to-one name="cover" target-entity="CoverImpl" mapped-by="eContainer">
- <cascade>
- <cascade-all/>
- </cascade>
- </one-to-one>
- <one-to-one name="eContainer" target-entity="StringToBookMapEntryImpl" mapped-by="value">
- <cascade>
- <cascade-all/>
- </cascade>
- </one-to-one>
- <one-to-one name="translator" target-entity="TranslatorImpl">
- <join-column name="TRANSLATOR_ID"/>
- <cascade>
- <cascade-persist/>
- <cascade-merge/>
- <cascade-refresh/>
- </cascade>
- </one-to-one>
- <!-- TODO: category requires conversion/transformation/enum -->
- <transient name="category"/>
- </attributes>
- </entity>
-
- <entity class="BookStylesMapEntryImpl">
- <table name="EMFLIB_BOOK_STYLE_MAP"/>
- <id-class class="org.eclipse.emf.teneo.eclipselink.examples.library.orm.MapEntryId"/>
- <attributes>
- <id name="key">
- <column name="MAPKEY"/>
- </id>
- <id name="dbID">
- <column name="BOOK_ID" updatable="false" insertable="false"/>
- </id>
- <basic name="eContainerFeatureID">
- <column name="ECONT_FEAT_ID"/>
- </basic>
- <one-to-one name="value" target-entity="StyleImpl">
- <join-column name="STYLE_ID"/>
- <cascade>
- <cascade-persist/>
- <cascade-merge/>
- <cascade-refresh/>
- </cascade>
- </one-to-one>
- <one-to-one name="eContainer" target-entity="BookImpl">
- <join-column name="BOOK_ID"/>
- </one-to-one>
- <transient name="hash"/>
- </attributes>
- </entity>
-
- <entity name="Cover" class="CoverImpl">
- <table name="EMFLIB_COVER"/>
- <attributes>
- <id name="dbID">
- <column name="ID"/>
- <generated-value/>
- </id>
- <basic name="colored"/>
- <basic name="eContainerFeatureID">
- <column name="ECONT_FEAT_ID"/>
- </basic>
- <one-to-one name="eContainer" target-entity="BookImpl">
- <join-column name="ECONTAINER_ID"/>
- </one-to-one>
- </attributes>
- </entity>
-
- <entity name="Library" class="LibraryImpl">
- <table name="EMFLIB_LIBRARY"/>
- <attributes>
- <id name="dbID">
- <column name="ID"/>
- <generated-value/>
- </id>
- <basic name="name"/>
- <one-to-many name="books" target-entity="StringToBookMapEntryImpl" mapped-by="eContainer">
- <cascade>
- <cascade-all/>
- </cascade>
- </one-to-many>
- <one-to-many name="writers" target-entity="WriterImpl" mapped-by="eContainer">
- <cascade>
- <cascade-persist/>
- <cascade-merge/>
- <cascade-refresh/>
- </cascade>
- </one-to-many>
- </attributes>
- </entity>
-
- <entity name="Publisher" class="PublisherImpl">
- <table name="EMFLIB_PUBLISHER"/>
- <attributes>
- <id name="dbID">
- <column name="ID"/>
- <generated-value/>
- </id>
- <basic name="name"/>
- <many-to-many name="writers" target-entity="WriterImpl">
- <join-table name="EMFLIB_PUBLISHER_WRITER"></join-table>
- <cascade>
- <cascade-persist/>
- <cascade-merge/>
- <cascade-refresh/>
- </cascade>
- </many-to-many>
- </attributes>
- </entity>
-
- <entity class="StringToBookMapEntryImpl">
- <table name="EMFLIB_LIBRARY_BOOK_MAP"/>
- <id-class class="org.eclipse.emf.teneo.eclipselink.examples.library.orm.MapEntryId"/>
- <attributes>
- <id name="key">
- <column name="MAPKEY"/>
- </id>
- <id name="dbID">
- <column name="LIBRARY_ID" updatable="false" insertable="false"/>
- </id>
- <basic name="eContainerFeatureID">
- <column name="ECONT_FEAT_ID"/>
- </basic>
- <one-to-one name="value" target-entity="BookImpl">
- <join-column name="BOOK_ID" referenced-column-name="ID"/>
- <cascade>
- <cascade-persist/>
- <cascade-merge/>
- <cascade-refresh/>
- </cascade>
- </one-to-one>
- <one-to-one name="eContainer" target-entity="LibraryImpl">
- <join-column name="LIBRARY_ID"/>
- </one-to-one>
- <transient name="hash"/>
- </attributes>
- </entity>
-
- <entity name="Style" class="StyleImpl">
- <table name="EMFLIB_STYLE"/>
- <attributes>
- <id name="dbID">
- <column name="ID"/>
- <generated-value/>
- </id>
- <basic name="name"/>
- </attributes>
- </entity>
-
- <entity name="Translator" class="TranslatorImpl">
- <table name="EMFLIB_TRANSLATOR"/>
- <attributes>
- <id name="dbID">
- <column name="ID"/>
- <generated-value/>
- </id>
- <basic name="location"/>
- <basic name="name"/>
- <!-- address should be removed from Translator -->
- <transient name="address"/>
- </attributes>
- </entity>
-
- <entity name="TypeWriter" class="TypeWriterImpl">
- <table name="EMFLIB_TYPEWRITER"/>
- <attributes>
- <id name="dbID">
- <column name="ID"/>
- <generated-value/>
- </id>
- <basic name="maker"/>
- <basic name="type">
- <enumerated>STRING</enumerated>
- </basic>
- </attributes>
- </entity>
-
- <entity name="Writer" class="WriterImpl">
- <table name="EMFLIB_WRITER"/>
- <attributes>
- <id name="dbID">
- <column name="ID"/>
- <generated-value/>
- </id>
- <basic name="name"/>
- <basic name="eContainerFeatureID">
- <column name="ECONT_FEAT_ID"/>
- </basic>
- <one-to-many name="books" mapped-by="author" target-entity="BookImpl">
- <cascade>
- <cascade-all/>
- </cascade>
- </one-to-many>
- <one-to-one name="address" target-entity="AddressImpl" >
- <join-column name="ADDRESS_ID"/>
- <cascade>
- <cascade-persist/>
- <cascade-merge/>
- <cascade-refresh/>
- </cascade>
- </one-to-one>
- <one-to-one name="eContainer" target-entity="LibraryImpl">
- <join-column name="ECONTAINER_ID"/>
- </one-to-one>
- <many-to-many name="publishers" target-entity="PublisherImpl" mapped-by="writers">
- <cascade>
- <cascade-persist/>
- <cascade-merge/>
- <cascade-refresh/>
- </cascade>
- </many-to-many>
- <many-to-many name="typewriters" target-entity="TypeWriterImpl">
- <join-table name="EMFLIB_WRITER_TYPEWRITER"/>
- <cascade>
- <cascade-persist/>
- <cascade-merge/>
- <cascade-refresh/>
- </cascade>
- </many-to-many>
- </attributes>
- </entity>
-
-</entity-mappings> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/persistence.xml b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/persistence.xml
deleted file mode 100644
index a5c462355..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/persistence.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
- <persistence-unit name="library">
- <properties>
- <property name="eclipselink.session-name" value="library" />
-
- <property name="eclipselink.logging.level" value="FINE" />
- <property name="eclipselink.logging.timestamp" value="false" />
- <property name="eclipselink.logging.thread" value="false" />
- <property name="eclipselink.logging.session" value="false" />
- <property name="eclipselink.jdbc.bind-parameters" value="false"/>
-
- <property name="eclipselink.target-database" value="Derby"/>
- <property name="eclipselink.jdbc.driver" value="org.apache.derby.jdbc.ClientDriver"/>
- <property name="eclipselink.jdbc.url" value="jdbc:derby://localhost:1527/teneo;create=true"/>
- <property name="eclipselink.jdbc.user" value="app"/>
- <property name="eclipselink.jdbc.password" value="app"/>
-
- <property name="eclipselink.session.customizer" value="org.eclipse.emf.teneo.eclipselink.EmfSessionCustomizer"/>
-
- <property name="eclipselink.jdbc.read-connections.min" value="1"/>
- <property name="eclipselink.jdbc.write-connections.min" value="1"/>
- <!-- Uncomment to create database schema
- <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
- <property name="eclipselink.ddl-generation.output-mode" value="database"/>
- -->
- </properties>
- </persistence-unit>
-</persistence>
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/LibraryCustomizer.java b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/LibraryCustomizer.java
deleted file mode 100644
index 5c51b8a59..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/LibraryCustomizer.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Oracle and Geensys.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Oracle and Geensys - initial API and implementation
- *******************************************************************************/
-package org.eclipse.emf.teneo.eclipselink.examples.library.orm;
-
-import org.eclipse.persistence.config.DescriptorCustomizer;
-import org.eclipse.persistence.descriptors.ClassDescriptor;
-import org.eclipse.persistence.indirection.IndirectList;
-import org.eclipse.persistence.mappings.OneToManyMapping;
-
-public class LibraryCustomizer implements DescriptorCustomizer {
-
- /**
- * <one-to-many name="books" target-entity="StringToBookMapEntryImpl" mapped-by="eContainer"/> <one-to-many
- * name="writers" target-entity="WriterImpl" mapped-by="eContainer"/>
- */
- public void customize(ClassDescriptor descriptor) throws Exception {
- OneToManyMapping booksMapping = new OneToManyMapping();
- booksMapping.setAttributeName("books");
- booksMapping
- .setReferenceClass(org.eclipse.emf.teneo.eclipselink.examples.library.impl.StringToBookMapEntryImpl.class);
- booksMapping.setCascadeMerge(true);
- booksMapping.setCascadePersist(true);
- booksMapping.setCascadeRefresh(true);
- booksMapping.useTransparentCollection();
- booksMapping.useCollectionClass(IndirectList.class);
- booksMapping.addTargetForeignKeyFieldName("EMFLIB_LIBRARY_BOOK_MAP.LIBRARY_ID", "EMFLIB_LIBRARY.ID");
- descriptor.addMapping(booksMapping);
-
- OneToManyMapping writersMapping = new OneToManyMapping();
- writersMapping.setAttributeName("writers");
- writersMapping.setReferenceClass(org.eclipse.emf.teneo.eclipselink.examples.library.impl.WriterImpl.class);
- writersMapping.setCascadeMerge(true);
- writersMapping.setCascadePersist(true);
- writersMapping.setCascadeRefresh(true);
- writersMapping.useTransparentCollection();
- writersMapping.useCollectionClass(IndirectList.class);
- writersMapping.addTargetForeignKeyFieldName("EMFLIB_WRITER.ECONTAINER_ID", "EMFLIB_LIBRARY.ID");
- descriptor.addMapping(writersMapping);
- }
-
-}
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/MapEntryId.java b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/MapEntryId.java
deleted file mode 100644
index aececd861..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/MapEntryId.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Oracle and Geensys.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Oracle and Geensys - initial API and implementation
- *******************************************************************************/
-package org.eclipse.emf.teneo.eclipselink.examples.library.orm;
-
-public class MapEntryId {
- private String key;
- private long dbID;
-
- public MapEntryId() {
- }
-
- public MapEntryId(String key, long dbID) {
- this.key = key;
- this.dbID = dbID;
- }
-
- public String getKey() {
- return key;
- }
-
- public long getDbID() {
- return dbID;
- }
-
- @Override
- public int hashCode() {
- final int PRIME = 31;
- int result = 1;
- result = PRIME * result + (int) (dbID ^ (dbID >>> 32));
- result = PRIME * result + ((key == null) ? 0 : key.hashCode());
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- final MapEntryId other = (MapEntryId) obj;
- if (dbID != other.dbID) {
- return false;
- }
- if (key == null) {
- if (other.key != null) {
- return false;
- }
- } else if (!key.equals(other.key)) {
- return false;
- }
- return true;
- }
-
-} \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/PublisherCustomizer.java b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/PublisherCustomizer.java
deleted file mode 100644
index a0102bbc5..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/PublisherCustomizer.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Oracle and Geensys.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Oracle and Geensys - initial API and implementation
- *******************************************************************************/
-package org.eclipse.emf.teneo.eclipselink.examples.library.orm;
-
-import org.eclipse.emf.teneo.eclipselink.examples.library.impl.WriterImpl;
-import org.eclipse.persistence.config.DescriptorCustomizer;
-import org.eclipse.persistence.descriptors.ClassDescriptor;
-import org.eclipse.persistence.indirection.IndirectList;
-import org.eclipse.persistence.mappings.ManyToManyMapping;
-
-public class PublisherCustomizer implements DescriptorCustomizer {
-
- /**
- * <many-to-many name="writers"></many-to-many>
- */
- public void customize(ClassDescriptor descriptor) throws Exception {
- ManyToManyMapping writersMapping = new ManyToManyMapping();
- writersMapping.setAttributeName("writers");
- writersMapping.setCascadeAll(true);
- writersMapping.setReferenceClass(WriterImpl.class);
- writersMapping.useTransparentCollection();
- writersMapping.useCollectionClass(IndirectList.class);
- writersMapping.setRelationTableName("EMFLIB_WRITER_PUBLISHER");
- writersMapping.addSourceRelationKeyFieldName("EMFLIB_WRITER_PUBLISHER.PUBLISHER_ID", "EMFLIB_PUBLISHER.ID");
- writersMapping.addTargetRelationKeyFieldName("EMFLIB_WRITER_PUBLISHER.WRITER_ID", "EMFLIB_WRITER.ID");
- descriptor.addMapping(writersMapping);
- }
-
-}
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/TypeWriterCustomizer.java b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/TypeWriterCustomizer.java
deleted file mode 100644
index af838eb64..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/TypeWriterCustomizer.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Oracle and Geensys.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Oracle and Geensys - initial API and implementation
- *******************************************************************************/
-package org.eclipse.emf.teneo.eclipselink.examples.library.orm;
-
-import org.eclipse.persistence.config.DescriptorCustomizer;
-import org.eclipse.persistence.descriptors.ClassDescriptor;
-import org.eclipse.persistence.mappings.DirectToFieldMapping;
-import org.eclipse.persistence.mappings.converters.Converter;
-
-public class TypeWriterCustomizer implements DescriptorCustomizer {
-
- /**
- * Add customizer to translate between Enum and value.
- */
- public void customize(ClassDescriptor descriptor) throws Exception {
- DirectToFieldMapping typeMapping = (DirectToFieldMapping) descriptor.getMappingForAttributeName("type");
- Converter typeWriterEnumConverter = TypeWriterEnumConverter.getInstance();
- typeMapping.setConverter(typeWriterEnumConverter);
- }
-
-}
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/TypeWriterEnumConverter.java b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/TypeWriterEnumConverter.java
deleted file mode 100644
index 8c3ff8d63..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/TypeWriterEnumConverter.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Oracle and Geensys.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Oracle and Geensys - initial API and implementation
- *******************************************************************************/
-package org.eclipse.emf.teneo.eclipselink.examples.library.orm;
-
-import org.eclipse.emf.teneo.eclipselink.examples.library.TWriterType;
-import org.eclipse.persistence.mappings.DatabaseMapping;
-import org.eclipse.persistence.mappings.converters.Converter;
-import org.eclipse.persistence.sessions.Session;
-
-/*
- * TypeWriterEnumConverter is a singleton since it has no state.
- */
-@SuppressWarnings("serial")
-public class TypeWriterEnumConverter implements Converter {
- protected static TypeWriterEnumConverter instance = new TypeWriterEnumConverter();
-
- private TypeWriterEnumConverter() {
- }
-
- public static TypeWriterEnumConverter getInstance() {
- return instance;
- }
-
- public Object convertDataValueToObjectValue(Object data, Session session) {
- String typeName = (String) data;
- return TWriterType.get(typeName);
- }
-
- public Object convertObjectValueToDataValue(Object object, Session session) {
- TWriterType type = (TWriterType) object;
- if (type != null) {
- return type.getName();
- } else {
- return null;
- }
- }
-
- public void initialize(DatabaseMapping arg0, Session arg1) {
- }
-
- public boolean isMutable() {
- return false;
- }
-
-}
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/WriterCustomizer.java b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/WriterCustomizer.java
deleted file mode 100644
index cb154b902..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/WriterCustomizer.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Oracle and Geensys.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Oracle and Geensys - initial API and implementation
- *******************************************************************************/
-package org.eclipse.emf.teneo.eclipselink.examples.library.orm;
-
-import org.eclipse.emf.teneo.eclipselink.examples.library.impl.BookImpl;
-import org.eclipse.emf.teneo.eclipselink.examples.library.impl.PublisherImpl;
-import org.eclipse.emf.teneo.eclipselink.examples.library.impl.TypeWriterImpl;
-import org.eclipse.persistence.config.DescriptorCustomizer;
-import org.eclipse.persistence.descriptors.ClassDescriptor;
-import org.eclipse.persistence.indirection.IndirectList;
-import org.eclipse.persistence.mappings.ManyToManyMapping;
-import org.eclipse.persistence.mappings.OneToManyMapping;
-
-public class WriterCustomizer implements DescriptorCustomizer {
-
- public void customize(ClassDescriptor descriptor) throws Exception {
-
- // <one-to-many name="books" mapped-by="author"/>
- OneToManyMapping booksMapping = new OneToManyMapping();
- booksMapping.setAttributeName("books");
- booksMapping.setReferenceClass(BookImpl.class);
- booksMapping.setCascadeMerge(true);
- booksMapping.setCascadeRefresh(true);
- booksMapping.setCascadeRemove(false);
- booksMapping.setCascadePersist(true);
-
- booksMapping.useTransparentCollection();
- booksMapping.useCollectionClass(IndirectList.class);
- booksMapping.addTargetForeignKeyFieldName("EMFLIB_BOOK.AUTHOR_ID", "EMFLIB_WRITER.ID");
- descriptor.addMapping(booksMapping);
-
- // <many-to-many name="publishers"></many-to-many>
- ManyToManyMapping publishersMapping = new ManyToManyMapping();
- publishersMapping.setIsReadOnly(true); // writable by "owner", Publisher
- publishersMapping.setAttributeName("publishers");
- publishersMapping.setReferenceClass(PublisherImpl.class);
- publishersMapping.useTransparentCollection();
- publishersMapping.useCollectionClass(IndirectList.class);
- publishersMapping.setRelationTableName("EMFLIB_WRITER_PUBLISHER");
- publishersMapping.addSourceRelationKeyFieldName("EMFLIB_WRITER_PUBLISHER.WRITER_ID", "EMFLIB_WRITER.ID");
- publishersMapping.addTargetRelationKeyFieldName("EMFLIB_WRITER_PUBLISHER.PUBLISHER_ID", "EMFLIB_PUBLISHER.ID");
- descriptor.addMapping(publishersMapping);
-
- // <many-to-many name="typewriters"></many-to-many>
- ManyToManyMapping typewritersMapping = new ManyToManyMapping();
- typewritersMapping.setAttributeName("typewriters");
- typewritersMapping.setReferenceClass(TypeWriterImpl.class);
- typewritersMapping.useTransparentCollection();
- typewritersMapping.useCollectionClass(IndirectList.class);
- typewritersMapping.setCascadeAll(true);
- typewritersMapping.setRelationTableName("EMFLIB_WRITER_TYPEWRITER");
- typewritersMapping.addSourceRelationKeyFieldName("EMFLIB_WRITER_TYPEWRITER.WRITER_ID", "EMFLIB_WRITER.ID");
- typewritersMapping.addTargetRelationKeyFieldName("EMFLIB_WRITER_TYPEWRITER.TYPEWRITER_ID",
- "EMFLIB_TYPEWRITER.ID");
- descriptor.addMapping(typewritersMapping);
-
- }
-
-}

Back to the top