import from svn.

This commit is contained in:
Shinsuke Sugaya 2013-09-14 15:00:28 +09:00
parent a903f9c660
commit 41743fb78c
1112 changed files with 295265 additions and 0 deletions

12
.amateras Normal file
View file

@ -0,0 +1,12 @@
#EclipseHTMLEditor configuration file
#Mon May 18 05:57:06 JST 2009
validateDTD=true
javaScriptCompleters=
useDTD=true
validateJSP=true
validateXML=true
validateJS=true
removeMarkers=false
root=/src/main/webapp
validateHTML=true
javaScripts=

3
.gitignore vendored
View file

@ -1 +1,4 @@
target/
bin/
work/
.classpath

14
.project Normal file
View file

@ -0,0 +1,14 @@
<projectDescription>
<name>fess</name>
<comment>Fess is Full tExt Search System.</comment>
<projects/>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>com.sysdeo.eclipse.tomcat.tomcatnature</nature>
</natures>
</projectDescription>

View file

@ -0,0 +1,4 @@
#Mon May 18 05:57:06 JST 2009
Context=fess
WebContentsRoot=/src/main/webapp
eclipse.preferences.version=1

View file

@ -0,0 +1,292 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
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.6
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_annotation=0
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_method_declaration=0
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_resources_in_try=80
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.alignment_for_union_type_in_multicatch=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=1
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=true
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
org.eclipse.jdt.core.formatter.comment.format_block_comments=false
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=false
org.eclipse.jdt.core.formatter.comment.format_line_comments=false
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=do not insert
org.eclipse.jdt.core.formatter.comment.line_length=80
org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
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.disabling_tag=@formatter\:off
org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
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_field=insert
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_method=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=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_annotation_on_type=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_label=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_try=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_semicolon_in_try_resources=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_try=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_try=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_semicolon_in_try_resources=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=80
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=space
org.eclipse.jdt.core.formatter.tabulation.size=4
org.eclipse.jdt.core.formatter.use_on_off_tags=false
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true

View file

@ -0,0 +1,110 @@
cleanup.add_default_serial_version_id=true
cleanup.add_generated_serial_version_id=false
cleanup.add_missing_annotations=true
cleanup.add_missing_deprecated_annotations=true
cleanup.add_missing_methods=false
cleanup.add_missing_nls_tags=false
cleanup.add_missing_override_annotations=true
cleanup.add_missing_override_annotations_interface_methods=true
cleanup.add_serial_version_id=true
cleanup.always_use_blocks=true
cleanup.always_use_parentheses_in_expressions=false
cleanup.always_use_this_for_non_static_field_access=false
cleanup.always_use_this_for_non_static_method_access=false
cleanup.convert_to_enhanced_for_loop=true
cleanup.correct_indentation=true
cleanup.format_source_code=true
cleanup.format_source_code_changes_only=false
cleanup.make_local_variable_final=true
cleanup.make_parameters_final=true
cleanup.make_private_fields_final=true
cleanup.make_type_abstract_if_missing_method=false
cleanup.make_variable_declarations_final=true
cleanup.never_use_blocks=false
cleanup.never_use_parentheses_in_expressions=true
cleanup.organize_imports=true
cleanup.qualify_static_field_accesses_with_declaring_class=false
cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
cleanup.qualify_static_member_accesses_with_declaring_class=true
cleanup.qualify_static_method_accesses_with_declaring_class=false
cleanup.remove_private_constructors=true
cleanup.remove_trailing_whitespaces=true
cleanup.remove_trailing_whitespaces_all=true
cleanup.remove_trailing_whitespaces_ignore_empty=false
cleanup.remove_unnecessary_casts=true
cleanup.remove_unnecessary_nls_tags=true
cleanup.remove_unused_imports=true
cleanup.remove_unused_local_variables=true
cleanup.remove_unused_private_fields=true
cleanup.remove_unused_private_members=true
cleanup.remove_unused_private_methods=true
cleanup.remove_unused_private_types=true
cleanup.sort_members=false
cleanup.sort_members_all=false
cleanup.use_blocks=true
cleanup.use_blocks_only_for_return_and_throw=false
cleanup.use_parentheses_in_expressions=true
cleanup.use_this_for_non_static_field_access=true
cleanup.use_this_for_non_static_field_access_only_if_necessary=true
cleanup.use_this_for_non_static_method_access=true
cleanup.use_this_for_non_static_method_access_only_if_necessary=true
cleanup_profile=_Fess
cleanup_settings_version=2
eclipse.preferences.version=1
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=_Seasar
formatter_settings_version=12
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_missing_override_annotations_interface_methods=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=true
sp_cleanup.make_parameters_final=true
sp_cleanup.make_private_fields_final=true
sp_cleanup.make_type_abstract_if_missing_method=false
sp_cleanup.make_variable_declarations_final=true
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=false
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=true
sp_cleanup.use_this_for_non_static_field_access=true
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
sp_cleanup.use_this_for_non_static_method_access=true
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true

11
.tomcatplugin Normal file
View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<tomcatProjectProperties>
<rootDir>src/main/webapp/</rootDir>
<exportSource>false</exportSource>
<reloadable>false</reloadable>
<redirectLogger>true</redirectLogger>
<updateXml>true</updateXml>
<warLocation></warLocation>
<extraInfo></extraInfo>
<webPath>/fess</webPath>
</tomcatProjectProperties>

11
dbflute_h2/_project.bat Normal file
View file

@ -0,0 +1,11 @@
@echo off
set ANT_OPTS=-Xmx512m
set DBFLUTE_HOME=..\mydbflute\dbflute-1.0.4H
set MY_PROJECT_NAME=h2
set MY_PROPERTIES_PATH=build.properties
if "%pause_at_end%"=="" set pause_at_end=y

9
dbflute_h2/_project.sh Normal file
View file

@ -0,0 +1,9 @@
#!/bin/bash
export ANT_OPTS=-Xmx512m
export DBFLUTE_HOME=../mydbflute/dbflute-1.0.4H
export MY_PROJECT_NAME=h2
export MY_PROPERTIES_PATH=build.properties

70
dbflute_h2/_readme.txt Normal file
View file

@ -0,0 +1,70 @@
Directory for DBFlute client
jdbc.bat, jdbc.sh:
A execution command of JDBC task
which gets your schema info and saves it to SchemaXML
located to the "schema" directory.
This task should be executed after ReplaceSchema task
and before other tasks(e.g. Generate, Document task).
doc.bat, doc.sh:
A execution command of Document task
which creates documents, for example, SchemaHTML, HistoryHTML
to the "output/doc" directory.
generate.bat, generate.sh:
A execution command of Generate task
which generates classes corresponding your tables,
for example, entities, condition-beans to specified
directories by DBFlute properties on "dfprop" directory.
Generated structures (directories and classes) are like this:
/- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
allcommon : classes bridging to DBFlute Runtime
bsbhv : base behaviors
bsentity : base entities
cbean : condition-beans (both base and extended)
exbhv : extended behaviors
exentity : extended entities
- - - - - - - - - -/
For example, if a table called "MEMBER" exists,
you can use these classes like this:
/- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MemberCB cb = new MemberCB();
cb.query().setMemberId_Equal(3);
Member member = memberBhv.selectEntity(cb);
// MemberCB : ConditionBean
// memberBhv : Behavior (instance)
// Member : Entity
- - - - - - - - - -/
sql2entity.bat, sql2entity.sh:
A execution command of Sql2Entity task
which generates classes corresponding your outside-SQL files,
for example, entities, parameter-beans to specified
directories by DBFlute properties on "dfprop" directory.
replace-schema.bat, replace-schema.sh:
A execution command of ReplaceSchema task
which creates your tables and loads data by
resources located to the "playsql" directory.
outside-sql-test.bat, outside-sql-test.sh:
A execution command of OutsideSqlTest task
which executes outside-SQL files and you can check
whether the SQLs have correct formats.
The directories are for DBFlute tasks:
/- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
dfprop : Directory for DBFlute properties
extlib : Directory for Directory for library extension
log : Directory for log files of DBFlute tasks
output/doc : Directory for auto-generated documents
playsql : Directory for ReplaceSchema task
schema : Directory for files of schema info
- - - - - - - - - -/
The files, _project.bat, _project.sh, build.properties
are for internal processes of DBFlute tasks so basically
you don't need to touch them.

View file

@ -0,0 +1,5 @@
# -------------------------------------------------------------------
# P R O J E C T
# -------------------------------------------------------------------
torque.project = fess

View file

@ -0,0 +1,35 @@
Directory for DBFlute properties
Required (Basic) Properties:
o basicInfoMap.dfprop
o databaseInfoMap.dfprop
At first, you should set these properties
before executions of DBFlute tasks.
Properties for additional informations:
o additionalForeignKeyMap.dfprop
o additionalPrimaryKeyMap.dfprop
o additionalUniqueKeyMap.dfprop
o additionalTableMap.dfprop
Properties for implementation environments:
o commonColumnMap.dfprop
o classificationDefinitionMap.dfprop
o classificationDeploymentMap.dfprop
o optimisticLockDefinitionMap.dfprop
o outsideSqlDefinitionMap.dfprop
o sequenceDefinitionMap.dfprop
o dependencyInjectionMap.dfprop
o littleAdjustmentMap.dfprop
o includeQueryMap.dfprop
o typeMappingMap.dfprop
Properties for ReplaceSchema:
o replaceSchemaDefinitionMap.dfprop
Properties for documents:
o documentDefinitionMap.dfprop
Properties for non-functional adjustments:
o allClassCopyright.dfprop
o refreshDefinitionMap.dfprop

View file

@ -0,0 +1,42 @@
# /---------------------------------------------------------------------------
# additionalForeignKeyMap: (NotRequired - Default map:{})
#
# If foreign key does not exist in your database,
# you can set up here as virtual foreign key for DBFlute.
#
# And it's one-to-one relation if you add one fixed condition to referrer table,
# you can set virtual foreign key with fixedCondition and fixedSuffix.
# And you can use it to view objects too.
#
# If local column name is same as foreign column name,
# you can omit the setting of localColumnName and foreignColumnName.
# The names are treated as case insensitive.
#
# Example:
# map:{
# ; FK_MEMBER_MEMBER_STATUS_CODE = map:{
# ; localTableName = MEMBER ; foreignTableName = MEMBER_STATUS
# ; localColumnName = MEMBER_STATUS_CODE ; foreignColumnName = MEMBER_STATUS_CODE
# }
# ; FK_PURCHASE_MEMBER_ID = map:{
# ; localTableName = PURCHASE ; foreignTableName = MEMBER
# }
# ; FK_MEMBER_MEMBER_ADDRESS_VALID = map:{
# ; localTableName = MEMBER ; foreignTableName = MEMBER_ADDRESS
# ; localColumnName = MEMBER_ID ; foreignColumnName = MEMBER_ID
# ; fixedCondition =
# $$foreignAlias$$.VALID_BEGIN_DATE <= /*targetDate(Date)*/null
# and $$foreignAlias$$.VALID_END_DATE >= /*targetDate(Date)*/null
# ; fixedSuffix = AsValid
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; FK_MEMBER_MEMBER_STATUS_CODE = map:{
# ; localTableName = MEMBER ; foreignTableName = MEMBER_STATUS
# ; localColumnName = MEMBER_STATUS_CODE ; foreignColumnName = MEMBER_STATUS_CODE
#}
}
# ----------------/

View file

@ -0,0 +1,26 @@
# /---------------------------------------------------------------------------
# additionalPrimaryKeyMap: (NotRequired - Default map:{})
#
# If primary key does not exist in your database,
# you can set up here as virtual primary key for DBFlute.
# And you can use it to view objects too.
# The names are treated as case insensitive.
#
# Example:
# map:{
# ; PK_MEMBER = map:{
# ; tableName = MEMBER ; columnName = MEMBER_ID
# }
# ; PK_PURCHASE = map:{
# ; tableName = PURCHASE ; columnName = PURCHASE_ID
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; PK_MEMBER = map:{
# ; tableName = MEMBER ; columnName = MEMBER_ID
#}
}
# ----------------/

View file

@ -0,0 +1,42 @@
# /---------------------------------------------------------------------------
# additionalTableMap: (NotRequired - Default map:{})
#
# This property is valid at only JDBC task.
# You should use this when JDBC can not provide table information
# and when you have no table but call stored procedures only.
#
# The element 'columnMap' is only required in table elements.
# The element 'type' is only required in column elements.
#
# Specification:
# map: {
# [table-name] = map:{
# columnMap = map:{
# [column-name] = map:{
# type = [column JDBC type] ; dbType = [column DB type]
# ; required = [true or false] ; size = [column size]
# ; primaryKey = [true or false] ; pkName = [PK constraint name]
# ; autoIncrement = [true or false]
# ; default = [default value] ; comment = [column comment]
# }
# }
# ; comment = [table comment]
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; FOO_TABLE = map:{
# ; columnMap = map:{
# FOO_ID = map:{ type = INTEGER ; dbType = INTEGER
# ; required = true ; primaryKey = true ; autoIncrement = true
# }
# FOO_NAME = map:{ type = VARCHAR ; required = true ; size = 123 }
# FOO_DATE = map:{ type = DATE }
# }
#}
}
# ----------------/
#
# *Refer to typeMappingMap.dfprop for JDBC type reference.

View file

@ -0,0 +1,26 @@
# /---------------------------------------------------------------------------
# additionalUniqueKeyMap: (NotRequired - Default map:{})
#
# If unique key does not exist in your database,
# you can set up here as virtual unique key for DBFlute.
# And you can use it to view objects too.
# The names are treated as case insensitive.
#
# Example:
# map:{
# ; UQ_MEMBER = map:{
# ; tableName = MEMBER ; columnName = MEMBER_ACCOUNT
# }
# ; UQ_PRODUCT = map:{
# ; tableName = PRODUCT ; columnName = PRODUCT_HANDLE_CODE
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; UQ_MEMBER = map:{
# ; tableName = MEMBER ; columnName = MEMBER_ACCOUNT
#}
}
# ----------------/

View file

@ -0,0 +1,11 @@
# /---------------------------------------------------------------------------
# allClassCopyright: (NotRequired - Default '')
#
# The copyright for all classes.
# This property is NOT map style.
# You should specify before your first generating.
#
#/*
# * Copyright(c) DBFlute TestCo.,TestLtd. All Rights Reserved.
# */
# ----------------/

View file

@ -0,0 +1,220 @@
# /---------------------------------------------------------------------------
# basicInfoMap: (Required)
#
# The basic information for the tasks of DBFlute.
# You should specify before your first generating.
#
# Core Properties:
# o database: (Required)
# o targetLanguage: (Required)
# o targetContainer: (Required)
# o packageBase: (Required)
#
# Adjustment Properties:
# o generateOutputDirectory: (NotRequired - Default Java:'../src/main/java' CSharp:'../source')
# o resourceOutputDirectory: (NotRequired - Default '../resources')
# o isTableNameCamelCase: (NotRequired - Default false)
# o isColumnNameCamelCase: (NotRequired - Default false)
# o projectPrefix: (NotRequired - Default '')
# o classAuthor: (NotRequired - Default 'DBFlute(AutoGenerator)')
# o sourceFileEncoding: (NotRequired - Default 'UTF-8')
# o sourceCodeLineSeparator: (NotRequired - Default no setting)
# o applicationBehaviorMap: (NotRequired - Default map:{})
# o outputPackageAdjustmentMap: (NotRequired - Default map:{})
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o database: (Required)
# This is the target database, only considered when generating
# the SQL for your DBFlute project.
# Your possible choices are:
#
# mysql, postgresql, oracle, db2, mssql,
# h2, derby, (sqlite, msaccess)
#
; database = h2
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o targetLanguage: (Required)
# The target language.
# Your possible choices are:
#
# java, csharp
#
; targetLanguage = java
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o targetContainer: (Required)
# The target DI container.
# If your target language is 'csharp', you can specify 'seasar' only.
# Your possible choices are:
#
# seasar, spring, guice, lucy, cdi
#
; targetContainer = seasar
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o packageBase: (Required)
# The base directory of package for generated class.
# The class package is 'this property value + detail package value'.
# However, detail packages have default value so basically
# you only have to specify the property 'packageBase'.
# If this property is specified and detail package properties is not specified,
# Then the packages of generated class are as follows:
#
# e.g. packageBase = com.example.dbflute.basic.dbflute
# --> com.example.dbflute.basic.dbflute.allcommon
# --> com.example.dbflute.basic.dbflute.bsbhv
# --> com.example.dbflute.basic.dbflute.bsentity
# --> com.example.dbflute.basic.dbflute.cbean
# --> com.example.dbflute.basic.dbflute.exbhv
# --> com.example.dbflute.basic.dbflute.exentity
#
; packageBase = jp.sf.fess.db
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o generateOutputDirectory: (NotRequired - Default Java:'../src/main/java' CSharp:'../source')
# The base output directory for generating.
# Basically you don't need to specify this if the project style is as follows:
#
# *Java Project Style
# If this value is '../src/main/java' and your project is under the Maven,
# you don't need to set up this property!
#
# {app-project}
# |
# |-dbflute_[project]
# | |-dfprop
# | |-...
# |
# |-src/main/java // *Here!
# |-src/main/resources
# |-...
#
# *CSharp Project Style
# [app-solution]/dbflute_[project]/dfprop
# [app-solution]/mydbflute/dbflute-0.9.6
# [app-solution]/source/[app-solution].sln
# [app-solution]/source/[app-project(top-namespace)]/[part-namespace]/AllCommon
# [app-solution]/source/[app-project(top-namespace)]/[part-namespace]/BsBhv
# [app-solution]/source/[app-project(top-namespace)]/[part-namespace]/...
# [app-solution]/source/[app-project(top-namespace)]/Resources/...
#
#; generateOutputDirectory = ../src/main/java
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o resourceOutputDirectory: (NotRequired - Default '../resources')
# The base output directory for resource files that contain DI configurations.
# Basically you don't need to specify this if your project is under the Maven.
#
#; resourceOutputDirectory = ../resources
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isTableNameCamelCase: (NotRequired - Default false)
# Is the table name camel case?
# Basically you don't need this if the style of table name is like 'FOO_STATUS'.
# [true]
# The table name is camel case.
# e.g. If the table name is 'OrderDetail', the class name is 'OrderDetail'.
#
# [false]
# e.g. If the table name is 'ORDER_DETAIL', the class name is 'OrderDetail'.
# e.g. If the table name is 'OrderDetail', the class name is 'Orderdetail'.
#
#; isTableNameCamelCase = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isColumnNameCamelCase: (NotRequired - Default false)
# Is the column name camel case?
# Basically you don't need this if the style of column name is like 'FOO_NAME'.
# [true]
# The column name is camel case.
# e.g. If the column name is 'OrderDetailId', the class name is 'OrderDetailId'.
#
# [false]
# e.g. If the column name is 'ORDER_DETAIL_ID', the class name is 'OrderDetailId'.
# e.g. If the column name is 'OrderDetailId', the class name is 'Orderdetailid'.
#
#; isColumnNameCamelCase = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o projectPrefix: (NotRequired - Default '')
# If the value is 'Ld', all class names are 'LdXxx'.
# Basically you don't need this if you don't want the common prefix of class name.
#
#; projectPrefix = Ld
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o classAuthor: (NotRequired - Default 'DBFlute(AutoGenerator)')
# The value of the author tag in java-doc of generated classes.
# All classes are target.
#
# @JavaOnly
#; classAuthor = DBFlute(AutoGenerator)
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sourceFileEncoding: (NotRequired - Default 'UTF-8')
# The value of an encoding for source files that are generated classes.
# If source files of your project are not UTF-8, specify your encoding here.
#
#; sourceFileEncoding = UTF-8
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sourceCodeLineSeparator: (NotRequired - Default no setting)
# The line separator setting for source code of generated classes.
# LF -> converted to LF
# CRLF -> converted to CRLF
# (no setting) -> no convert (template default is CRLF)
#
#; sourceCodeLineSeparator = LF
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o applicationBehaviorMap: (NotRequired - Default map:{})
# The settings for Application Behavior.
# Elements of this map are as below:
# o isApplicationBehaviorProject: (NotRequired - Default false)
# Does the project is for application behaviors?
# This property is a main signal for Application Behavior.
# Other properties (for Application Behavior) work when this is true.
# o libraryProjectPackageBase: (NotRequired - Default same as application's one)
# If application package base is different from library's one,
# set the property a value 'library's one'.
#
#; applicationBehaviorMap = map:{
# ; isApplicationBehaviorProject = false
# ; libraryProjectPackageBase =
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o outputPackageAdjustmentMap: (NotRequired - Default map:{})
# The adjustments for output package.
# Elements of this map are as below:
# o flatDirectoryPackage: (Required - Default '')
# This is only for CSharp.
# e.g. Aaa.Bbb.DBFlute --> Directory: source/Aaa.Bbb.DBFlute/AllCommon
# o omitDirectoryPackage: (NotRequired - Default '')
# This is only for CSharp.
# e.g. Aaa --> Directory: source/Bbb/DBFlute/AllCommon
#
#; outputPackageAdjustmentMap = map:{
# ; flatDirectoryPackage = Aaa.Bbb.DBFlute
# ; omitDirectoryPackage = Aaa
#}
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,69 @@
# /---------------------------------------------------------------------------
# classificationDefinitionMap: (NotRequired - Default map:{})
#
# The definition of classification.
#
# Specification:
# map: {
# [classification-name] = list:{
# ; map:{
# ; topComment=[comment]; codeType=[String(default) or Number or Boolean]}
# ; isCheckImplicitSet=[true or false(default)]
# ; isUseDocumentOnly=[true or false(default)]
# ; isSuppressAutoDeploy=[true or false(default)]
# ; groupingMap = map:{
# ; [group-name] = map:{
# ; groupComment=[comment]
# ; elementList=list:{[the list of classification element's name]}
# }
# }
# }
# # classification elements for implicit classification
# ; map:{
# ; code=[code]; name=[name]; alias=[alias]; comment=[comment]
# ; sisterCode=[code or code-list]; subItemMap=map:{[free-map]}
# }
# # settings for table classification
# ; map:{
# ; table=[table-name]
# ; code=[column-name for code]; name=[column-name for name]
# ; alias=[column-name for alias]; comment=[column-name for comment]}
# ; where=[condition for select]; orderBy=[column-name for ordering]
# ; exceptCodeList=[the list of except code]
# }
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
# example for implicit classification
#; Flg = list:{
# ; map:{topComment=general boolean classification for every flg-column; codeType=Number}
# ; map:{code=1; name=True ; alias=Checked ; comment=means yes; sisterCode=true}
# ; map:{code=0; name=False; alias=Unchecked; comment=means no ; sisterCode=false}
#}
# example for table classification
#; MemberStatus = list:{
# ; map:{topComment=status of member from entry to withdrawal; codeType=String}
# ; map:{
# ; table=MEMBER_STATUS
# ; code=MEMBER_STATUS_CODE; name=MEMBER_STATUS_NAME
# ; comment=DESCRIPTION; orderBy=DISPLAY_ORDER
# }
#}
; ProcessType = list:{
; map:{topComment=Processing Type}
; map:{code=C;name=Crawling;alias=Crawling;comment=Process When Crawling}
; map:{code=D;name=Displaying;alias=Displaying;comment=Process When Displaying}
; map:{code=B;name=Both;alias=Both;comment=Process When Crawling/Displaying}
}
; AccessType = list:{
; map:{topComment=Access Type}
; map:{code=W;name=Web;alias=Web;comment=Web}
; map:{code=M;name=Mobile;alias=Mobile;comment=Mobile}
; map:{code=X;name=Xml;alias=Xml;comment=Xml}
; map:{code=J;name=Json;alias=Json;comment=Json}
}
}
# ----------------/

View file

@ -0,0 +1,27 @@
# /---------------------------------------------------------------------------
# classificationDeploymentMap: (NotRequired - Default map:{})
#
# The relation between column and classification.
#
# This property uses classification names of classificationDefinitionMap.
# The table name '$$ALL$$' means all tables are target.
# The table names and column names are treated as case insensitive.
#
# You don't need specify here about table classifications.
# Because table classifications are auto-deployed by relation information.
#
# Specification:
# map: {
# [table-name or $$ALL$$] = map:{
# ; [column-name (with hint)]=[classification-name]
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; $$ALL$$ = map:{suffix:_FLG=Flg}
; PATH_MAPPING = map:{PROCESS_TYPE=ProcessType}
; SEARCH_LOG = map:{ACCESS_TYPE=AccessType}
}
# ----------------/

View file

@ -0,0 +1,49 @@
# /---------------------------------------------------------------------------
# commonColumnMap: (Default map:{})
#
# The definition of common column(contains auto set-up).
# For example, the date you registered the record,
# the user who updated the record and so on...
# The column names are treated as case insensitive.
#
# The variable '$$AccessContext$$' means allcommon.AccessContext.
#
# Example:
# map:{
# ; commonColumnMap = map:{
# ; REGISTER_DATETIME=TIMESTAMP ; REGISTER_USER=VARCHAR
# ; UPDATE_DATETIME=TIMESTAMP ; UPDATE_USER=VARCHAR
# }
# ; beforeInsertMap = map:{
# ; REGISTER_DATETIME = $$AccessContext$$.getAccessTimestampOnThread()
# ; REGISTER_USER = $$AccessContext$$.getAccessUserOnThread()
# ; UPDATE_DATETIME = entity.getRegisterDatetime()
# ; UPDATE_USER = entity.getRegisterUser()
# }
# ; beforeUpdateMap = map:{
# ; UPDATE_DATETIME = $$AccessContext$$.getAccessTimestampOnThread()
# ; UPDATE_USER = $$AccessContext$$.getAccessUserOnThread()
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; commonColumnMap = map:{
# ; REGISTER_DATETIME=TIMESTAMP ; REGISTER_USER=VARCHAR
# ; UPDATE_DATETIME=TIMESTAMP ; UPDATE_USER=VARCHAR
#}
#; beforeInsertMap = map:{
# ; REGISTER_DATETIME = $$AccessContext$$.getAccessTimestampOnThread()
# ; REGISTER_USER = $$AccessContext$$.getAccessUserOnThread()
# ; UPDATE_DATETIME = entity.getRegisterDatetime()
# ; UPDATE_USER = entity.getRegisterUser()
#}
#; beforeUpdateMap = map:{
# ; UPDATE_DATETIME = $$AccessContext$$.getAccessTimestampOnThread()
# ; UPDATE_USER = $$AccessContext$$.getAccessUserOnThread()
#}
}
# ----------------/
#
# *Refer to typeMappingMap.dfprop for JDBC type reference.

View file

@ -0,0 +1,112 @@
# /---------------------------------------------------------------------------
# databaseInfoMap: (Required)
#
# The database information for the tasks of DBFlute.
# You should specify before your first generating.
#
# o driver -- The class name of JDBC-Driver.
# o url -- The URL for connecting database.
# o schema -- The schema name.
# o user -- The database user name.
# o password -- The database password.
# o propertiesMap -- The properties that depends on the database.
# o variousMap -- The various settings about JDBC task.
#
# *The line that starts with '#' means comment-out.
#
map:{
; driver = org.h2.Driver
; url = jdbc:h2:file:../src/main/webapp/WEB-INF/db/fess
; schema =
; user = sa
; password =
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o propertiesMap: (NotRequired - Default map:{})
# The properties that depends on the database.
#
; propertiesMap = map:{
# If you use Oracle and its Synonym, specify this property.
#; includeSynonyms=true
}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o variousMap: (NotRequired - Default map:{})
# The various settings about JDBC task mainly.
#
; variousMap = map:{
# o objectTypeTargetList: (NotRequired - Default list:{TABLE;VIEW})
# If you want to include other object types in generating target,
# you should specify the list of included object types as adding.
# e.g. Synonym of Oracle --> list:{TABLE ; VIEW ; SYNONYM}
# This is only for the main schema. Additional schemas are unconcerned.
# However ReplaceSchema and Sql2Entity task also uses this.
# But you can set ReplaceSchema-original setting in its own dfprop.
#
#; objectTypeTargetList = list:{TABLE ; VIEW}
# o tableExceptList: (NotRequired - Default list:{})
# If you want to exclude some tables in generating target,
# you should specify the list of excepted table hints.
# e.g. list:{PRODUCT_STATUS ; prefix:TMP_}
# This is only for the main schema. Additional schemas are unconcerned.
# And ReplaceSchema task basically ignores this.
#
# Normally this 'except' means no getting meta data for excepted tables.
# (so the tables are not existing in SchemaHTML and HistoryHTML and so on).
# But you can specify the '@gen' suffix that means generate-only except.
# A table with the mark can be treated as documents but no generating classes.
#
#; tableExceptList = list:{FOO_TABLE@gen ; prefix:FOO_@gen ; suffix:_FOO ; contain:_FOO_}
# o tableTargetList: (NotRequired - Default list:{})
# If you want to include some tables in generating target expressly,
# you should specify the list of target table hints.
# e.g. list:{PURCHASE ; contain:MEMBER}
# This is only for the main schema. Additional schemas are unconcerned.
# And ReplaceSchema task basically ignores this.
#
#; tableTargetList = list:{FOO_TABLE ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# o columnExceptMap: (NotRequired - Default map:{})
# If you want to exclude some columns in generating target,
# you should specify the list of excepted column hints.
# e.g. map:{HEAVY_MASTER = list:{APP_NOT_USED_ID; suffix:_IMAGE}}
# This is only for the main schema. Additional schemas are unconcerned.
#
#; columnExceptMap = map:{
# ; FOO_TABLE = list:{FOO_COLUMN ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
#}
# o additionalSchemaMap: (NotRequired - Default map:{})
# If you want to include other schemas in generating target,
# you should specify the map of included schemas.
# Additional schemas have original settings apart from the main schema.
# The settings are objectTypeTargetList, tableExceptList,
# tableTargetList, and columnExceptMap.
# They have the same specification as ones of the main schema.
# Elements of this map are as below:
# o objectTypeTargetList: (NotRequired - Default 'map:{TABLE;VIEW}')
# o tableExceptList: (NotRequired - Default list:{})
# o tableTargetList: (NotRequired - Default list:{})
# o columnExceptMap: (NotRequired - Default map:{})
# o isSuppressCommonColumn: (NotRequired - Default false)
# o isSuppressProcedure: (NotRequired - Default false)
#
#; additionalSchemaMap = map:{
# ; NEXTEXAMPLEDB = map:{
# ; objectTypeTargetList=list:{TABLE ; VIEW}
# ; tableExceptList=list:{FOO_TABLE ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# ; tableTargetList=list:{FOO_TABLE ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# ; columnExceptMap=map:{
# ; FOO_TABLE = list:{FOO_COLUMN ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# }
# ; isSuppressCommonColumn=false
# ; isSuppressProcedure=false
# }
#}
}
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,116 @@
# /---------------------------------------------------------------------------
# dependencyInjectionMap: (NotRequired - Default map:{})
#
# The various settings about dependency injection(DI Container).
#
# {Java} Seasar Only:
# o dbfluteDiconNamespace: (NotRequired - Default 'dbflute')
# o dbfluteDiconPackageName (NotRequired - Default '../resources')
# o dbfluteDiconFileName: (NotRequired - Default 'dbflute.dicon')
# o j2eeDiconResourceName: (NotRequired - Default 'j2ee.dicon')
# o dbfluteDiconBeforeJ2eeIncludeDefinitionMap: (NotRequired - Default map:{})
# o dbfluteDiconOtherIncludeDefinitionMap: (NotRequired - Default map:{})
#
# {Java} Spring and Lucy Only:
# o dbfluteBeansPackageName (NotRequired - Default '../resources')
# o dbfluteBeansFileName: (NotRequired - Default 'dbfluteBeans.xml')
# o dbfluteBeansDataSourceName: (NotRequired - Default 'dataSource')
# o dbfluteBeansDefaultAttribute: (NotRequired - Default '')
#
# {CSharp} Quill(CSharp Seasar) Only:
# o quillDataSourceName: (NotRequired - Default '')
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteDiconNamespace: (NotRequired - Default 'dbflute')
# The namespace of DBFlute DI configuration.
#
# @JavaSeasarOnly
#; dbfluteDiconNamespace = dbflute
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteDiconPackageName (NotRequired - Default '../resources')
# The package name(output directory) of DBFlute DI configuration for Seasar.
#
# @JavaSeasarOnly
#; dbfluteDiconPackageName = ../resources
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteDiconFileName: (NotRequired - Default 'dbflute.dicon')
# The file name of DBFlute DI configuration for Seasar.
#
# @JavaSeasarOnly
#; dbfluteDiconFileName = dbflute.dicon
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o j2eeDiconResourceName: (NotRequired - Default 'j2ee.dicon')
# The file name of J2EE DI configuration.
#
# @JavaSeasarOnly
#; j2eeDiconResourceName = j2ee.dicon
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteDiconBeforeJ2eeIncludeDefinitionMap: (NotRequired - Default map:{})
# The include definition of DBFlute DI configuration before j2ee including.
# e.g. map:{ jdbc-xxx.dicon = dummy }
#
# @JavaSeasarOnly
#; dbfluteDiconBeforeJ2eeIncludeDefinitionMap = map:{}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteDiconOtherIncludeDefinitionMap: (NotRequired - Default map:{})
# The other include definition of DBFlute DI configuration.
# e.g. map:{ common.dicon = dummy }
#
# @JavaSeasarOnly
#; dbfluteDiconOtherIncludeDefinitionMap = map:{}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteBeansPackageName (NotRequired - Default '../resources')
# The package name(output directory) of DBFlute DI configuration for Spring and Lucy.
#
# @JavaSpringLucyOnly
#; dbfluteBeansPackageName = ../resources
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteBeansFileName: (NotRequired - Default 'dbfluteBeans.xml')
# The file name of DBFlute DI configuration for Spring and Lucy.
#
# @JavaSpringLucyOnly
#; dbfluteBeansFileName = dbfluteBeans.xml
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteBeansDataSourceName: (NotRequired - Default 'dataSource')
# The data source name that DBFlute(Behaviors) uses.
#
# @JavaSpringLucyOnly
#; dbfluteBeansDataSourceName = exampleDataSource
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteBeansPackageName (NotRequired - Default '')
# The default attribute expression of DBFlute DI configuration for Spring and Lucy.
#
# @JavaSpringLucyOnly
#; dbfluteBeansDefaultAttribute = default-lazy-init="true"
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o quillDataSourceName: (NotRequired - Default '')
# The data source name of Quill(CSharp Seasar).
#
# @CSharpQuillOnly
#; quillDataSourceName = ExampleDB
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,225 @@
# /---------------------------------------------------------------------------
# documentDefinitionMap: (NotRequired - Default map:{})
#
# o documentOutputDirectory (NotRequired - Default './output/doc')
# o aliasDelimiterInDbComment (NotRequired - Default '')
# o isDbCommentOnAliasBasis (NotRequired - Default false)
# o isEntityJavaDocDbCommentValid (NotRequired - Default false)
# o isEntityDBMetaDbCommentValid (NotRequired - Default false)
# o schemaHtmlFileName (NotRequired - Default 'schema-[project-name].html')
# o isSuppressSchemaHtmlOutsideSql (NotRequired - Default false)
# o isSuppressSchemaHtmlProcedure (NotRequired - Default false)
# o historyHtmlFileName (NotRequired - Default 'history-[project-name].html')
# o isCheckColumnDefOrderDiff (NotRequired - Default false)
# o isCheckDbCommentDiff (NotRequired - Default false)
# o isCheckProcedureDiff (NotRequired - Default false)
# o loadDataReverseMap (NotRequired - Default map:{})
# o schemaSyncCheckMap (NotRequired - Default map:{})
# o propertiesHtmlMap: (NotRequired - Default map:{})
#
# Example:
# map:{
# ; documentOutputDirectory = ./output/doc
# ; aliasDelimiterInDbComment = :
# ; isDbCommentOnAliasBasis = true
# ; isEntityJavaDocDbCommentValid = true
# ; isEntityDBMetaDbCommentValid = true
# ; schemaHtmlFileName = xxx.html
# ; isSuppressSchemaHtmlOutsideSql = false
# ; isSuppressSchemaHtmlProcedure = false
# ; historyHtmlFileName = xxx.html
# ; isCheckColumnDefOrderDiff = true
# ; isCheckDbCommentDiff = true
# ; isCheckProcedureDiff = true
# ; loadDataReverseMap = map:{
# ; recordLimit = -1
# ; isReplaceSchemaDirectUse = true
# ; isOverrideExistingDataFile = false
# ; isSynchronizeOriginDate = false
# }
# ; schemaSyncCheckMap = map:{
# ; url = jdbc:...
# ; schema = EXAMPLEDB
# ; user = exampuser
# ; password = exampword
# }
# ; propertiesHtmlMap = map:{
# ; ApplicationProperties = map:{
# ; rootFile = ../src/main/resources/application_ja.properties
# }
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o documentOutputDirectory (NotRequired - Default './output/doc')
# The output directory mainly for SchemaHtml and DataXlsTemplate.
# Basically you don't need this.
# It is considered of value that it always exists at same plain.
#
#; documentOutputDirectory = ./output/doc
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o aliasDelimiterInDbComment (NotRequired - Default '')
# If the alias exists in its DB comment like as follows:
# member name : The name of member's full name
# you can use the alias in DBFlute world, java-doc, SchemaHTML...
# DB comment which does not have the delimiter is not treated
# as alias, treated as description (real comment).
# But you can change it by 'isDbCommentOnAliasBasis'.
#
#; aliasDelimiterInDbComment = :
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isDbCommentOnAliasBasis (NotRequired - Default false)
# Is DB comment on alias basis?
# (Is DB comment alias name when it has no alias delimiter?)
# This property works with 'aliasDelimiterInDbComment'.
#
#; isDbCommentOnAliasBasis = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isEntityJavaDocDbCommentValid (NotRequired - Default false)
# Does it allow DB comment to be on java-doc?
#
#; isEntityJavaDocDbCommentValid = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isEntityDBMetaDbCommentValid (NotRequired - Default false)
# Does it allow DB comment to be on DB meta of entity?
#
#; isEntityDBMetaDbCommentValid = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o schemaHtmlFileName (NotRequired - Default 'schema-[project-name].html')
# The file name (not contain path) of SchemaHtml.
# Basically you don't need this.
# (For example, when you use Application Behavior, you need this)
#
#; schemaHtmlFileName = xxx.html
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressSchemaHtmlOutsideSql (NotRequired - Default false)
# Does it remove outsideSql information from SchemaHtml?
# Basically you don't need this.
# OutsideSql information (related to tables) is very useful.
#
#; isSuppressSchemaHtmlOutsideSql = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressSchemaHtmlProcedure (NotRequired - Default false)
# Does it remove procedure information from SchemaHtml?
# Basically you don't need this.
# Procedure information is very useful.
#
#; isSuppressSchemaHtmlProcedure = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o historyHtmlFileName (NotRequired - Default 'history-[project-name].html')
# The file name (not contain path) of HistoryHtml.
# Basically you don't need this.
# (For example, when you use Application Behavior, you need this)
#
#; historyHtmlFileName = xxx.html
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isCheckColumnDefOrderDiff (NotRequired - Default false)
# Does it check differences of column-def order?
# (except added or deleted columns)
#
#; isCheckColumnDefOrderDiff = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isCheckDbCommentDiff (NotRequired - Default false)
# Does it check differences of table or column or others comment?
#
#; isCheckDbCommentDiff = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isCheckProcedureDiff (NotRequired - Default false)
# Does it check differences of procedures?
#
#; isCheckProcedureDiff = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o loadDataReverseMap: (NotRequired - Default map:{})
# You can set LoadDataReverse settings.
# This property is valid when the property 'recordLimit' is set.
# Elements of this map are as below:
# o recordLimit: The limit of records to output. Minus means no limit. (NotRequired - Default '')
# o isReplaceSchemaDirectUse: Does it output the data to playsql directly? (NotRequired - Default false)
# o isOverrideExistingDataFile: Does it output to existing files? (NotRequired - Default false)
# o isSynchronizeOriginDate: Does it synchronize origin date for date adjustment? (NotRequired - Default false)
#
#; loadDataReverseMap = map:{
# ; recordLimit = -1
# ; isReplaceSchemaDirectUse = false
# ; isOverrideExistingDataFile = false
# ; isSynchronizeOriginDate = false
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o schemaSyncCheckMap: (NotRequired - Default map:{})
# You can set SchemaSyncCheck settings.
# This property is valid when the property 'user' is set.
# Elements of this map are as below:
# o url: The URL for connecting database. (NotRequired - Default same as databaseInfoMap)
# o schema: The schema name. (NotRequired - Default '' e.g. no setting when MySQL)
# o user: The database user name. (Required)
# o password: The database password. (NotRequired - Default '')
#
#; schemaSyncCheckMap = map:{
# ; url = jdbc:...
# ; schema = EXAMPLEDB
# ; user = exampuser
# ; password = exampword
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o propertiesHtmlMap: (NotRequired - Default map:{})
# You can set PropertiesHtml settings.
# Elements of this map are as below:
# o key of map: Properties Title Name
# o baseDir: base directory for directory property. (NotRequired)
# o rootFile: root file to read properties (Required)
# o environmentMap: map of environment files, the value is dir path (NotRequired)
# o diffIgnoredKeyList: list of ignored keys for differences (NotRequired)
# o maskedKeyList: list of masked keys for security (NotRequired)
# o isEnvOnlyFloatLeft: is it environment only? (and show as float-left?) (NotRequired)
# o extendsPropRequest: other request name of exnteds-properties (NotRequired)
# o isCheckImplicitOverride: does it check implicit override? (NotRequired)
#
#; propertiesHtmlMap = map:{
# ; ApplicationProperties = map:{
# ; baseDir = ../src
# ; rootFile = $$baseDir$$/main/resources/application_ja.properties
# ; environmentMap = map:{
# ; integration = $$baseDir$$/integration/resources
# ; production = $$baseDir$$/production/resources
# }
# ; diffIgnoredKeyList = list:{}
# ; maskedKeyList = list:{}
# ; isEnvOnlyFloatLeft = false
# ; extendsPropRequest = null
# ; isCheckImplicitOverride = false
# }
#}
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,96 @@
# /---------------------------------------------------------------------------
# includeQueryMap: (NotRequired - Default map:{})
#
# Specification:
# map:{
# ; [property-type] = map:{
# ; [condition-key] = map:{ [table] = list:{ [column] ; [column] } }
# }
#
# property-type: String, Number, Date, (or defaultExcludeColumnList)
# condition-key: NotEqual, GreaterThan, LessThan, GreaterEqual, LessEqual
# , InScope, NotInScope, PrefixSearch, LikeSearch, NotLikeSearch
# , EmptyString, FromTo, DateFromTo, RangeOf
# , (and prefix '!' means excluding)
# table: table name or $$ALL$$
# column: column name (hint) or $$CommonColumn$$ or $$VersionNo$$
#
# Example:
# map:{
# # This means that String includes GreaterThan at MEMBER.MEMBER_ACCOUNT only
# # and LessThan at PRODUCT.PRODUCT_NAME and PRODUCT.PRODUCT_HANDLE_CODE.
# ; String = map:{
# ; GreaterThan = map:{ MEMBER = list:{ MEMBER_ACCOUNT } }
# ; LessThan = map:{ PRODUCT = list:{ PRODUCT_NAME ; PRODUCT_HANDLE_CODE } }
# }
# # This means that Number includes all condition-keys. (same as no setting)
# ; Number = map:{
# }
# # This means that Date does not includes NotEqual at all tables.
# ; Date = map:{
# ; NotEqual = map:{}
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
; String = map:{
# [Include]
# String columns may not be needed
# to be set these condition-keys basically.
#; GreaterThan = map:{}
#; LessThan = map:{}
#; GreaterEqual = map:{}
#; LessEqual = map:{}
# [Exclude]
# Common columns of String type may not be needed
# to be set these condition-keys basically.
#; !NotEqual = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !GreaterThan = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !LessThan = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !GreaterEqual = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !LessEqual = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !InScope = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !NotInScope = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !PrefixSearch = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !LikeSearch = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !NotLikeSearch = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
}
; Number = map:{
# [Include]
# ...
# [Exclude]
# VersionNo column may not be needed
# to be set these condition-keys basically.
#; !NotEqual = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !GreaterThan = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !LessThan = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !GreaterEqual = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !LessEqual = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !RangeOf = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !InScope = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !NotInScope = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
}
; Date = map:{
# [Include]
# Date columns may not be needed
# to be set these condition-keys basically.
; NotEqual = map:{}
; InScope = map:{}
; NotInScope = map:{}
# [Exclude]
# Common columns of Date type may not be needed
# to be set these condition-keys basically.
#; !GreaterThan = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !LessThan = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !GreaterEqual = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !LessEqual = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !FromTo = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !DateFromTo = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
}
}
# ----------------/

View file

@ -0,0 +1,345 @@
# /---------------------------------------------------------------------------
# littleAdjustmentMap: (NotRequired - Default map:{})
#
# The various settings about a little adjustment.
#
# o isAvailableAddingSchemaToTableSqlName: (NotRequired - Default false)
# o isAvailableAddingCatalogToTableSqlName: (NotRequired - Default false)
# o isAvailableDatabaseDependency: (NotRequired - Default false)
# o isAvailableDatabaseNativeJDBC: (NotRequired - Default false)
# o isAvailableNonPrimaryKeyWritable: (NotRequired - Default false)
# o isCheckSelectedClassification: (NotRequired - Default false)
# o isForceClassificationSetting: (NotRequired - Default false)
# o isMakeEntityChaseRelation: (NotRequired - Default false)
# o isEntityConvertEmptyStringToNull: (NotRequired - Default false)
# o isMakeConditionQueryEqualEmptyString: (NotRequired - Default false)
# o isPagingCountLater: (NotRequired - Default true)
# o isPagingCountLeastJoin: (NotRequired - Default true)
# o isInnerJoinAutoDetect: (NotRequired - Default true)
# o isTableDispNameUpperCase: (NotRequired - Default false)
# o isTableSqlNameUpperCase: (NotRequired - Default false)
# o isColumnSqlNameUpperCase: (NotRequired - Default false)
# o isMakeDeprecated: (NotRequired - Default false)
# o isMakeRecentlyDeprecated: (NotRequired - Default true)
# o extendedDBFluteInitializerClass: (NotRequired - Default '')
# o extendedImplementedInvokerAssistantClass: (NotRequired - Default '')
# o extendedImplementedCommonColumnAutoSetupperClass: (NotRequired - Default '')
# o extendedS2DaoSettingClass: (NotRequired - Default '')
# o shortCharHandlingMode: (NotRequired - Default NONE)
# o quoteTableNameList: (NotRequired - Default list:{})
# o quoteColumnNameList: (NotRequired - Default list:{})
# o relationalNullObjectMap: (NotRequired - Default map:{})
# o cursorSelectFetchSize: (NotRequired - Default null)
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isAvailableAddingSchemaToTableSqlName: (NotRequired - Default false)
# [true]
# Add schema to table SQL name. (The table name on query is SCHEMA.TABLE)
#
# [false]
# Non.
#
#; isAvailableAddingSchemaToTableSqlName = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isAvailableAddingCatalogToTableSqlName: (NotRequired - Default false)
# [true]
# Add catalog to table SQL name. (The table name on query is CATALOG.SCHEMA.TABLE)
# This property works only when isAvailableAddingSchemaToTableSqlName is true.
#
# [false]
# Non.
#
#; isAvailableAddingCatalogToTableSqlName = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isAvailableDatabaseDependency: (NotRequired - Default false)
# [true]
# Generate the method that depends on the database.
# For example: cb.lockWithRR() at DB2.
#
# [false]
# Non.
#
#; isAvailableDatabaseDependency = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isAvailableDatabaseNativeJDBC: (NotRequired - Default false)
# [true]
# Use classes of database native JDBC on generated classes
# to get best performances of DB access.
# Your project needs to refer to database native JDBC.
#
# [false]
# Non.
#
#; isAvailableDatabaseNativeJDBC = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isAvailableNonPrimaryKeyWritable: (NotRequired - Default false)
# [true]
# Generate writable methods at non-primary-key table.
#
# [false]
# Non.
#
#; isAvailableNonPrimaryKeyWritable = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isCheckSelectedClassification: (NotRequired - Default false)
# [true]
# Check a code of a column related to classification
# whether it's one of classification when it's selected.
# If wrong, throws an exception (when selecting).
#
# [false]
# Non.
#
#; isCheckSelectedClassification = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isForceClassificationSetting: (NotRequired - Default false)
# [true]
# Force developer to set a code of a column related to classification
# by classification type-safe method of Entity and ConditionBean.
# A setter method of original type becomes 'protected' scope.
#
# [false]
# Non.
#
#; isForceClassificationSetting = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isMakeEntityChaseRelation: (NotRequired - Default false)
# [true]
# Make chase-relation methods of entity.
# For example: member.chaseMemberStatus().getMemberStatusName()
# This statement doesn't have a null pointer if the MemberStatus doesn't exist.
#
# [false]
# Non.
#
#; isMakeEntityChaseRelation = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isEntityConvertEmptyStringToNull: (NotRequired - Default false)
# [true]
# Convert empty-string data to null in entity.
#
# [false]
# Non.
#
#; isEntityConvertEmptyStringToNull = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isMakeConditionQueryEqualEmptyString: (NotRequired - Default false)
# [true]
# Make equal-empty-string methods of condition-query.
# For example: cb.query().setMemberName_Equal_EmptyString()
#
# [false]
# Non.
#
#; isMakeConditionQueryEqualEmptyString = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isPagingCountLater: (NotRequired - Default true)
# [true]
# The count SQL for paging are executed after paging main select.
#
# [false]
# Non.
#
#; isPagingCountLater = true
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isPagingCountLeastJoin: (NotRequired - Default true)
# [true]
# Join statements in count SQL of paging select are trimmed
# for performance tuning. (only countable joins are valid)
#
# [false]
# Non.
#
#; isPagingCountLeastJoin = true
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isInnerJoinAutoDetect: (NotRequired - Default true)
# [true]
# Joins that can be inner-join on condition-bean are auto-detected
# for performance tuning. (DBFlute uses NotNull constraint info)
#
# [false]
# Non.
#
#; isInnerJoinAutoDetect = true
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isTableDispNameUpperCase: (NotRequired - Default false)
# [true]
# Table names for display, e.g. on documents,
# are forcedly treated as upper case.
#
# [false]
# Non.
#
#; isTableDispNameUpperCase = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isTableSqlNameUpperCase: (NotRequired - Default false)
# [true]
# Table names on SQL executed by condition-bean or behavior
# are forcedly treated as upper case. (except outside-SQL)
#
# [false]
# Non.
#
#; isTableSqlNameUpperCase = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isColumnSqlNameUpperCase: (NotRequired - Default false)
# [true]
# Column names on SQL executed by condition-bean or behavior
# are forcedly treated as upper case. (except outside-SQL)
#
# [false]
# Non.
#
#; isColumnSqlNameUpperCase = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isMakeDeprecated: (NotRequired - Default false)
# [true]
# Make deprecated method and class and so on...
# *You should specify this property 'false'!
#
# [false]
# Non.
#
#; isMakeDeprecated = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isMakeRecentlyDeprecated: (NotRequired - Default true)
# [true]
# Make RECENTLY deprecated method and class and so on...
# *You should specify this property 'false'!
#
# [false]
# Non.
#
#; isMakeRecentlyDeprecated = true
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o extendedDBFluteInitializerClass: (NotRequired - Default '')
# If you want to extend the embedded DBFlute initializer,
# specify the class name of your original initializer
# that extends the embedded one.
# *Basically for fixed DBFluteConfig settings
#
# @JavaOnly
#; extendedDBFluteInitializerClass = com.example.ExtendedDBFluteInitializer
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o extendedImplementedInvokerAssistantClass: (NotRequired - Default '')
# If you want to extend the embedded invoker assistant,
# specify the class name of your original invoker assistant
# that extends the embedded one.
# *Basically you SHOULD NOT specify this property!
#
# @JavaOnly
#; extendedImplementedInvokerAssistantClass = com.example.ExtendedImplementedInvokerAssistant
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o extendedImplementedCommonColumnAutoSetupperClass: (NotRequired - Default '')
# If you want to extend the embedded common column auto setupper,
# specify the class name of your original common column auto setupper
# that extends the embedded one.
# *Basically you SHOULD NOT specify this property!
#
# @JavaOnly
#; extendedImplementedCommonColumnAutoSetupperClass = com.example.ExtendedImplementedCommonColumnAutoSetupper
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o extendedS2DaoSettingClass: (NotRequired - Default '')
# If you want to extend the embedded S2Dao setting,
# specify the class name of your original S2Dao setting
# that extends the embedded one.
# *Basically you SHOULD NOT specify this property!
#
# @CSharpOnly
#; extendedS2DaoSettingClass = Com.Example.ExtendedS2DaoSetting
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o shortCharHandlingMode: (NotRequired - Default NONE)
# If the parameter of condition-bean or parameter-bean has short size,
# NONE - Do nothing. (default)
# EXCEPTION - It throws an exception.
# RFILL - It fills the parameter by right spaces.
# LFILL - It fills the parameter by left spaces.
#
#; shortCharHandlingMode = NONE
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o quoteTableNameList: (NotRequired - Default list:{})
# The list of table DB names that need to be quoted.
# Specified tables is quoted on auto-generated SQL.
#
#; quoteTableNameList = list:{}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o quoteColumnNameList: (NotRequired - Default list:{})
# The list of column DB names that need to be quoted.
# Specified columns is quoted on auto-generated SQL.
#
#; quoteColumnNameList = list:{}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o relationalNullObjectMap: (NotRequired - Default map:{})
# You can get a null object when the relation is null.
#
#; relationalNullObjectMap = map:{
# ; providerPackage = $$packageBase$$.nogen.cache
# ; foreignMap = map:{
# ; MEMBER_STATUS = CachedMemberStatus.get($$PrimaryKey$$)
# ; MEMBER_SECURITY = CachedMemberSecurity.get($$PrimaryKey$$)
# }
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o cursorSelectFetchSize: (NotRequired - Default null)
# The fetch size of JDBC parameter for cursor select.
# For example, specify Integer.MIN_VALUE to enable fetch of MySQL.
#
#; cursorSelectFetchSize = Integer.MIN_VALUE
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,28 @@
# /---------------------------------------------------------------------------
# optimisticLockDefinitionMap: (NotRequired - Default map:{})
#
# The definition for optimistic lock of DBFlute.
#
# o updateDateFieldName: (NotRequired - Default '')
# o versionNoFieldName: (NotRequired - Default 'VERSION_NO')
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o updateDateFieldName: (NotRequired - Default '')
# The column name of update date for optimistic lock.
#
#; updateDateFieldName = UPDATE_DATE
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o versionNoFieldName: (NotRequired - Default 'VERSION_NO')
# The column name of version no for optimistic lock.
# Basically you don't need this if your tables have the column 'VERSION_NO'.
# because the default value is 'VERSION_NO'.
#
#; versionNoFieldName = VERSION_NO
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,187 @@
# /---------------------------------------------------------------------------
# outsideSqlDefinitionMap: (NotRequired - Default map:{})
#
# The various settings about outsideSql.
#
# o isGenerateProcedureParameterBean: (NotRequired - Default false)
# o isGenerateProcedureCustomizeEntity: (NotRequired - Default false)
# o targetProcedureCatalogList: (NotRequired - Default list:{})
# o targetProcedureSchemaList: (NotRequired - Default list:{})
# o targetProcedureNameList: (NotRequired - Default list:{})
# o executionMetaProcedureNameList: (NotRequired - Default list:{})
# o procedureSynonymHandlingType: (NotRequired - Default NONE)
# o isRequiredSqlTitle: (NotRequired - Default false)
# o isRequiredSqlDescription: (NotRequired - Default false)
# o sqlFileEncoding: (NotRequired - Default 'UTF-8')
# o sqlDirectory: (NotRequired - Default generateOutputDirectory & resourceOutputDirectory)
# o sql2EntityOutputDirectory: (NotRequired - Default generateOutputDirectory)
# o applicationOutsideSqlMap: (NotRequired - Default map:{})
# o sqlPackage: (NotRequired - Default all packages)
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isGenerateProcedureParameterBean: (NotRequired - Default false)
# [true]
# The parameter beans for procedure are auto-generated.
# If you call the procedure from DBFlute, you should specify 'true'!
#
# [false]
# Non.
#
; isGenerateProcedureParameterBean = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isGenerateProcedureCustomizeEntity: (NotRequired - Default false)
# [true]
# The customize entities for procedure's out-parameter
# and not-param-result are auto-generated.
# And also not-param-result's properties are auto-generated.
# Target procedures are executed actually at Sql2Entity task.
# (because of getting from execution meta data (result set meta data))
# This property is valid only when isGenerateProcedureParameterBean is true.
#
# [false]
# Non.
#
; isGenerateProcedureCustomizeEntity = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o targetProcedureCatalogList: (NotRequired - Default list:{})
# You can specify target catalog of generated parameter bean for procedure.
# This property is valid only when generateProcedureParameterBean is valid.
#
#; targetProcedureCatalogList = list:{FOO_CATALOG ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o targetProcedureSchemaList: (NotRequired - Default list:{})
# You can specify target schema of generated parameter bean for procedure.
# This property is valid only when generateProcedureParameterBean is valid.
# e.g. list:{PROCEDUREDB}
#
#; targetProcedureSchemaList = list:{FOO_SCHEMA ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o targetProcedureNameList: (NotRequired - Default list:{})
# You can specify target name of generated parameter bean for procedure.
# This property is valid only when isGenerateProcedureParameterBean is valid.
# e.g. list:{prefix:SP_}
# And you can specify procedures through DB link.
# This is treated as additional setting
# so it is independent from specifications for main schema.
# e.g. SP_FOO@NEXT_LINK (when DB link name is 'NEXT_LINK')
#
#; targetProcedureNameList = list:{FOO_PROCEDURE ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o executionMetaProcedureNameList: (NotRequired - Default list:{})
# You can specify target name of generated customize entity for procedure.
# This property is valid only when isGenerateProcedureCustomizeEntity is valid.
# e.g. list:{prefix:SP_}
#
#; executionMetaProcedureNameList = list:{FOO_PROCEDURE ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o procedureSynonymHandlingType: (NotRequired - Default NONE)
# You can specify the handling type of procedure synonym.
# NONE - No handling. (default)
# INCLUDE - It includes procedure synonyms.
# SWITCH - It switches all normal procedures to procedure synonyms.
#
#; procedureSynonymHandlingType = NONE
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isRequiredSqlTitle: (NotRequired - Default false)
# [true]
# You should always write the title of outsideSql.
# If it doesn't exist, the OutsideSqlTest task fails.
#
# [false]
# Non.
#
#; isRequiredSqlTitle = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isRequiredSqlDescription: (NotRequired - Default false)
# [true]
# You should always write the description of outsideSql.
# If it doesn't exist, the OutsideSqlTest task fails.
#
# [false]
# Non.
#
#; isRequiredSqlDescription = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sqlFileEncoding: (NotRequired - Default 'UTF-8')
# The encoding of SQL file for outsideSql.
# Basically you don't need this.
#
#; sqlFileEncoding = UTF-8
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sqlDirectory: (NotRequired - Default generateOutputDirectory & resourceOutputDirectory)
# The directory of SQL file for outsideSql.
# Basically you don't need this if your directory structure is same as default.
# It's also for DBFlute library project when you use ApplicationOutsideSql.
#
#; sqlDirectory = ../src/main/resources
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sql2EntityOutputDirectory: (NotRequired - Default generateOutputDirectory)
# The output directory of classes that is generated by Sql2Entity.
# Basically you don't need this if your directory structure is same as default.
# It's also for DBFlute library project when you use ApplicationOutsideSql.
#
#; sql2EntityOutputDirectory = ../src/main/java
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o applicationOutsideSqlMap: (NotRequired - Default map:{})
# You can set additional users.
# Elements of this map are as below:
# o key of map: a relative path to the application project from DBFlute client
# o sqlDirectory: SQL directory as a relative path from the application directory
# (NotRequired - Default Java:'src/main/java' & 'src/main/resources' CSharp:'source')
# o sql2EntityOutputDirectory: source output directory from as a relative path from the application directory
# (NotRequired - Default Java:'src/main/java' CSharp:'source')
#
#; applicationOutsideSqlMap = map:{
# ; ../../app1 = map:{
# ; sqlDirectory = src/main/resources
# ; sql2EntityOutputDirectory = src/main/java
# }
# ; ../../app2 = map:{
# ; sqlDirectory = src/main/resources
# ; sql2EntityOutputDirectory = src/main/java
# }
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sqlPackage: (NotRequired - Default all packages)
# The package of SQL file for outsideSql.
# This is basically for narrowing SQL-searching target,
# for example, when the project has SQL files for other framework.
# So basically you don't need this.
#
# You can use variable '$$PACKAGE_BASE$$' that means 'packageBase'.
# But you need to make SQL files at 'exbhv' under the set package
# if you use BehaviorQueryPath (MemberBhv_selectSimpleMember.sql).
#
#; sqlPackage = $$PACKAGE_BASE$$
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,19 @@
# /---------------------------------------------------------------------------
# refreshDefinitionMap: (NotRequired - Default map:{})
#
# If you use ResourceSynchronizer and specify this property,
# You don't need to refresh(F5) your eclipse project.
#
# Specification:
# map:{
# ; projectName = [Eclipse Project1] / [Eclipse Project2] / ...
# ; requestUrl = [ResourceSynchronizer's URL]
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; projectName = dbflute-basic-example
#; requestUrl = http://localhost:8386/
}
# ----------------/

View file

@ -0,0 +1,234 @@
# /---------------------------------------------------------------------------
# replaceSchemaDefinitionMap: (NotRequired - Default map:{})
#
# The various settings about replace-schema.
#
# o repsEnvType: (NotRequired - Default inherits or 'ut')
# o isLoggingInsertSql: (NotRequired - Default true)
# o isLoggingReplaceSql: (NotRequired - Default true)
# o isErrorSqlContinue: (NotRequired - Default false)
# o sqlFileEncoding: (NotRequired - Default 'UTF-8')
# o skipSheet: (NotRequired - Default '')
# o isIncrementSequenceToDataMax: (NotRequired - Default false)
# o isSuppressBatchUpdate: (NotRequired - Default false)
# o objectTypeTargetList: (NotRequired - Default databaseInfoMap's)
# o filterVariablesMap: (NotRequired - Default map:{})
# o additionalUserMap: (NotRequired - Default map:{})
# o additionalDropMapList: (NotRequired - Default list:{})
# o playSqlDirectory: (NotRequired - Default 'playsql')
# o applicationPlaySqlDirectory: (NotRequired - Default '')
# o arrangeBeforeRepsMap: (NotRequired - Default map:{})
# o isSuppressTruncateTable: (NotRequired - Default false)
# o isSuppressDropForeignKey: (NotRequired - Default false)
# o isSuppressDropTable: (NotRequired - Default false)
# o isSuppressDropSequence: (NotRequired - Default false)
# o isSuppressDropProcedure: (NotRequired - Default false)
# o isSuppressDropDBLink: (NotRequired - Default false)
# o initializeFirstSqlList: (NotRequired - Default list:{})
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o repsEnvType: (NotRequired - Default inherits or 'ut')
# The environment type of ReplaceSchema.
# e.g. if ut, data files in './playsql/data/ut/...' are loaded
# If DBFlute environment type is specified, inherits it as default.
#
#; repsEnvType = ut
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isLoggingInsertSql: (NotRequired - Default true)
# Does it show insert values on log?
#
#; isLoggingInsertSql = true
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isLoggingReplaceSql: (NotRequired - Default true)
# Does it show replace-SQL on log?
#
#; isLoggingReplaceSql = true
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isErrorSqlContinue: (NotRequired - Default false)
# Does it continue the task when error SQL exists?
#
#; isErrorSqlContinue = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sqlFileEncoding: (NotRequired - Default 'UTF-8')
# The encoding of SQL(DDL) file for Replace Schema.
# Basically you don't need this.
#
#; sqlFileEncoding = UTF-8
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o skipSheet: (NotRequired - Default '')
# You can specify the skip sheet by regular expression
#
#; skipSheet = P.+
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isIncrementSequenceToDataMax: (NotRequired - Default false)
# Does it increment sequence values to max value of table data?
# Referring the property 'sequenceDefinitionMap'.
#
#; isIncrementSequenceToDataMax = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressBatchUpdate: (NotRequired - Default false)
# Does it suppress batch update at loading data?
# When you have a data error, you may get details for the error
# by this property changing. Because it is possible that
# the BatchUpdateException information is very short for debug.
#
#; isSuppressBatchUpdate = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o objectTypeTargetList: (NotRequired - Default databaseInfoMap's)
# This property overrides databaseInfoMap's one for ReplaceSchema.
# e.g. Synonym of Oracle --> list:{TABLE ; VIEW ; SYNONYM}
#
#; objectTypeTargetList = list:{TABLE ; VIEW}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o filterVariablesMap: (NotRequired - Default map:{})
# You can specify the filter variables for DDL.
#
#; filterVariablesMap = map:{abc=AAA}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o additionalUserMap: (NotRequired - Default map:{})
# You can set additional users.
# Elements of this map are as below:
# o key of map: User Definition Name (userDefName)
# o url: (NotRequired - Default same as one of main schema)
# o schema: (NotRequired - Default treated as no schema setting)
# o user: (Required)
# o password: password plainly or path to password file (with default password)
# e.g. foo or df:dfprop/system-password.txt|foo
# (NotRequired - Default '')
# o isSkipIfNotFoundPasswordFileAndDefault: Does it skip the user SQL statement
# when using password file but not found it and also default password?
# (NotRequired - Default false)
#
#; additionalUserMap = map:{
# ; system = map:{
# #; url = ...
# #; schema = ...
# ; user = system
# ; password = df:dfprop/system-password.txt
# }
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o additionalDropMapList: (NotRequired - Default list:{})
# You can drop additional other schemas.
# Elements of this map are as below:
# o url: (NotRequired - Default same as main schema)
# o schema: (Required: if empty schema means valid schema, not required)
# o user: (NotRequired - Default same as main schema)
# o password: (NotRequired - Default same as main schema)
# o propertiesMap: (NotRequired - Default map:{})
# o objectTypeTargetList: (NotRequired - Default list{TABLE;VIEW})
#
#; additionalDropMapList = list:{
# ; map:{
# ; url = jdbc:oracle:thin:...
# ; schema = NEXTEXAMPLEDB
# ; user = NEXTEXAMPLEDB
# ; password = NEXTEXAMPLEDB
# ; propertiesMap = map:{}
# ; objectTypeTargetList = list:{TABLE;VIEW}
# }
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o playSqlDirectory: (NotRequired - Default 'playsql' relative to DBFlute client)
# This property is relative path to (main) PlaySql directory,
# You should not use this property easily.
#
#; playSqlDirectory = ../../foo-project/playsql
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o applicationPlaySqlDirectory: (NotRequired - Default '')
# This property is relative path to Application PlaySql directory,
# which is basically used with ApplicationBehavior.
#
#; applicationPlaySqlDirectory = ../../foo-project/dbflute_apbranch/playsql
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o arrangeBeforeRepsMap: (NotRequired - Default map:{})
# You can arrange resource files before ReplaceSchema.
#
#; arrangeBeforeRepsMap = map:{
# ; copy = map:{
# ; ../erd/*.ddl = ./playsql/replace-schema-10-basic.sql
# }
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressTruncateTable: (NotRequired - Default false)
# You can suppress truncating tables at initializing schema.
#
#; isSuppressTruncateTable = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressDropForeignKey: (NotRequired - Default false)
# You can suppress dropping foreign keys at initializing schema.
#
#; isSuppressDropForeignKey = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressDropTable: (NotRequired - Default false)
# You can suppress dropping tables at initializing schema.
#
#; isSuppressDropTable = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressDropSequence: (NotRequired - Default false)
# You can suppress dropping sequences at initializing schema.
#
#; isSuppressDropSequence = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressDropProcedure: (NotRequired - Default false)
# You can suppress dropping procedures at initializing schema.
#
#; isSuppressDropProcedure = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressDropDBLink: (NotRequired - Default false)
# You can suppress dropping DB links at initializing schema.
#
#; isSuppressDropDBLink = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o initializeFirstSqlList: (NotRequired - Default list:{})
# You can execute the SQL statements before initializing schema.
#
#; initializeFirstSqlList = list:{}
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,25 @@
# /---------------------------------------------------------------------------
# sequenceDefinitionMap: (NotRequired - Default map:{})
#
# The relation mappings between sequence and table.
# If you don't specify the mappings, you cannot insert
# a record of the table by sequence.
# The table names are treated as case insensitive.
#
# Example:
# map:{
# ; PURCHASE = SEQ_PURCHASE
# ; MEMBER = SEQ_MEMBER
# ; MEMBER_LOGIN = SEQ_MEMBER_LOGIN
# ; PRODUCT = SEQ_PRODUCT
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; PURCHASE = SEQ_PURCHASE
#; MEMBER = SEQ_MEMBER
#; MEMBER_LOGIN = SEQ_MEMBER_LOGIN
#; PRODUCT = SEQ_PRODUCT
}
# ----------------/

View file

@ -0,0 +1,56 @@
# /---------------------------------------------------------------------------
# typeMappingMap: (NotRequired - Default map:{})
#
# If you want to change mappings from default mappings,
# you can specify your original mappings.
# But it is possible that unanticipated problems occurs, so be careful!
#
# About '$$AutoMapping$$':
# If the database is Oracle, they often use this.
# For example, if you use this for NUMERIC.
# o Numeric( 1 - 9 , 0) is mapping to INTEGER
# o Numeric(10 - 18 , 0) is mapping to BIGINT
# o Numeric(19 - 38 , 0) is mapping to NUMERIC
# o Numeric( 1 - 38 , 2) is mapping to NUMERIC
#
# Example:
# map:{
# ; INTEGER = java.lang.Integer
# ; BIGINT = java.lang.Long
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
# AutoMapping for Numeric and Decimal
; NUMERIC = $$AutoMapping$$ ; DECIMAL = $$AutoMapping$$
}
# ----------------/
#
# Default mapping as follows:
# --------------------------------------------------------
# | JDBC Type | Java Native | CSharp Native |
# | ------------------------------------------------------
# | CHAR | java.lang.String | String |
# | VARCHAR | java.lang.String | String |
# | LONGVARCHAR | java.lang.String | String |
# | NUMERIC | java.math.BigDecimal | decimal? |
# | DECIMAL | java.math.BigDecimal | decimal? |
# | TINYINT | java.lang.Integer | int? |
# | SMALLINT | java.lang.Integer | int? |
# | INTEGER | java.lang.Integer | int? |
# | BIGINT | java.lang.Long | long? |
# | REAL | java.math.BigDecimal | decimal? |
# | FLOAT | java.math.BigDecimal | decimal? |
# | DOUBLE | java.math.BigDecimal | decimal? |
# | DATE | java.util.Date | DateTime? |
# | TIME | java.sql.Time | DateTime? |
# | TIMESTAMP | java.sql.Timestamp | DateTime? |
# | BIT | java.lang.Boolean | bool? |
# | BOOLEAN | java.lang.Boolean | bool? |
# | BINARY | byte[] | byte[] |
# | VARBINARY | byte[] | byte[] |
# | LONGVARBINARY | byte[] | byte[] |
# | ARRAY | *Unsupported | *Unsupported |
# | UUID | java.util.UUID | *Unsupported |
# --------------------------------------------------------

15
dbflute_h2/doc.bat Normal file
View file

@ -0,0 +1,15 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
echo /nnnnnnnnnnnnnnnnnnnnnnnnnnn
echo ...Calling the Document task
echo nnnnnnnnnn/
call %DBFLUTE_HOME%\etc\cmd\_df-doc.cmd %MY_PROPERTIES_PATH%
if "%pause_at_end%"=="y" (
pause
)

14
dbflute_h2/doc.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnn"
echo "...Calling the Document task"
echo "nnnnnnnnnn/"
sh $DBFLUTE_HOME/etc/cmd/_df-doc.sh $MY_PROPERTIES_PATH
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

View file

@ -0,0 +1,5 @@
Directory for library extension
If you use a database that DBFlute does not have its JDBC driver,
put your own JDBC driver for the database here.
(e.g. Oracle, DB2, SQLServer)

15
dbflute_h2/generate.bat Normal file
View file

@ -0,0 +1,15 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
echo /nnnnnnnnnnnnnnnnnnnnnnnnnnn
echo ...Calling the Generate task
echo nnnnnnnnnn/
call %DBFLUTE_HOME%\etc\cmd\_df-generate.cmd %MY_PROPERTIES_PATH%
if "%pause_at_end%"=="y" (
pause
)

14
dbflute_h2/generate.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnn"
echo "...Calling the Generate task"
echo "nnnnnnnnnn/"
sh $DBFLUTE_HOME/etc/cmd/_df-generate.sh $MY_PROPERTIES_PATH
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

15
dbflute_h2/jdbc.bat Normal file
View file

@ -0,0 +1,15 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
echo /nnnnnnnnnnnnnnnnnnnnnnn
echo ...Calling the JDBC task
echo nnnnnnnnnn/
call %DBFLUTE_HOME%\etc\cmd\_df-jdbc.cmd %MY_PROPERTIES_PATH%
if "%pause_at_end%"=="y" (
pause
)

14
dbflute_h2/jdbc.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
echo "/nnnnnnnnnnnnnnnnnnnnnnn"
echo "...Calling the JDBC task"
echo "nnnnnnnnnn/"
sh $DBFLUTE_HOME/etc/cmd/_df-jdbc.sh $MY_PROPERTIES_PATH
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

View file

@ -0,0 +1,4 @@
Directory for log files of DBFlute tasks
If your execution of DBFlute task fails,
look the log file "dbflute.log" for debug.

17
dbflute_h2/manage.bat Normal file
View file

@ -0,0 +1,17 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
set FIRST_ARG=%1
if "%FIRST_ARG%"=="" set FIRST_ARG=""
set SECOND_ARG=%2
if "%SECOND_ARG%"=="" set SECOND_ARG=""
call %DBFLUTE_HOME%\etc\cmd\_df-manage.cmd %MY_PROPERTIES_PATH% %FIRST_ARG% %SECOND_ARG%
if "%pause_at_end%"=="y" (
pause
)

14
dbflute_h2/manage.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
FIRST_ARG=$1
SECOND_ARG=$2
sh $DBFLUTE_HOME/etc/cmd/_df-manage.sh $MY_PROPERTIES_PATH $FIRST_ARG $SECOND_ARG
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

View file

@ -0,0 +1,3 @@
Directory for auto-generated documents
e.g. SchemaHTML, HistoryHTML

View file

@ -0,0 +1,15 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
echo /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
echo ...Calling the OutsiteSqlTest task
echo nnnnnnnnnn/
call %DBFLUTE_HOME%\etc\cmd\_df-outside-sql-test.cmd %MY_PROPERTIES_PATH% %1
if "%pause_at_end%"=="y" (
pause
)

View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
echo "...Calling the OutsiteSqlTest task"
echo "nnnnnnnnnn/"
sh $DBFLUTE_HOME/etc/cmd/_df-outside-sql-test.sh $MY_PROPERTIES_PATH $1
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

View file

@ -0,0 +1,50 @@
Directory for ReplaceSchema task
replace-schema-*.sql:
DDL statements for creation of your schema.
You should write your own DDL statements in this file.
(A SQL separator is semicolon ";")
take-finally-*.sql:
SQL statements for check loaded data (or DDL after data loading)
You should write your own SQL statements in this file.
(basically same specifications as replace-schema.sql)
The "data" directory is for data loading like this:
/- - - - - - - - - - - - - - - - - - - -
playsql
|-data
|-common
| |-xls
| |-10-master.xls
| |-defaultValueMap.dataprop
|-ut
|-xls
|-20-member.xls
|-30-product.xls
|-defaultValueMap.dataprop
- - - - - - - - - -/
The format of a xls file is like this:
/- - - - - - - - - - - - - - - - - - - -
|MEMBER_ID|MEMBER_NAME|BIRTHDATE |
| 1|Stojkovic |1965/03/03|
| 2|Savicevic | |
| 3|... |... |
(Sheet)
MEMBER / MEMBER_LOGIN / MEMBER_SECURITY
- - - - - - - - - -/
The defaultValueMap.dataprop is for common columns like this:
/- - - - - - - - - - - - - - - - - - - -
map:{
; REGISTER_DATETIME = sysdate
; REGISTER_USER = foo
; REGISTER_PROCESS = bar
; UPDATE_DATETIME = sysdate
; UPDATE_USER = foo
; UPDATE_PROCESS = bar
; VERSION_NO = 0
}
- - - - - - - - - -/

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1,15 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
echo /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
echo ...Calling the ReplaceSchema task
echo nnnnnnnnnn/
call %DBFLUTE_HOME%\etc\cmd\_df-replace-schema.cmd %MY_PROPERTIES_PATH%
if "%pause_at_end%"=="y" (
pause
)

View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
echo "...Calling the ReplaceSchema task"
echo "nnnnnnnnnn/"
sh $DBFLUTE_HOME/etc/cmd/_df-replace-schema.sh $MY_PROPERTIES_PATH
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

View file

@ -0,0 +1,4 @@
Directory for files of schema info
Files are auto-generated by DBFlute tasks.
Basically you don't need to touch this directory.

15
dbflute_h2/sql2entity.bat Normal file
View file

@ -0,0 +1,15 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
echo /nnnnnnnnnnnnnnnnnnnnnnnnnnnnn
echo ...Calling the Sql2Entity task
echo nnnnnnnnnn/
call %DBFLUTE_HOME%\etc\cmd\_df-sql2entity.cmd %MY_PROPERTIES_PATH% %1
if "%pause_at_end%"=="y" (
pause
)

14
dbflute_h2/sql2entity.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
echo "...Calling the Sql2Entity task"
echo "nnnnnnnnnn/"
sh $DBFLUTE_HOME/etc/cmd/_df-sql2entity.sh $MY_PROPERTIES_PATH $1
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

View file

@ -0,0 +1,11 @@
@echo off
set ANT_OPTS=-Xmx512m
set DBFLUTE_HOME=..\mydbflute\dbflute-1.0.4H
set MY_PROJECT_NAME=fess
set MY_PROPERTIES_PATH=build.properties
if "%pause_at_end%"=="" set pause_at_end=y

View file

@ -0,0 +1,9 @@
#!/bin/bash
export ANT_OPTS=-Xmx512m
export DBFLUTE_HOME=../mydbflute/dbflute-1.0.4H
export MY_PROJECT_NAME=fess
export MY_PROPERTIES_PATH=build.properties

70
dbflute_mysql/_readme.txt Normal file
View file

@ -0,0 +1,70 @@
Directory for DBFlute client
jdbc.bat, jdbc.sh:
A execution command of JDBC task
which gets your schema info and saves it to SchemaXML
located to the "schema" directory.
This task should be executed after ReplaceSchema task
and before other tasks(e.g. Generate, Document task).
doc.bat, doc.sh:
A execution command of Document task
which creates documents, for example, SchemaHTML, HistoryHTML
to the "output/doc" directory.
generate.bat, generate.sh:
A execution command of Generate task
which generates classes corresponding your tables,
for example, entities, condition-beans to specified
directories by DBFlute properties on "dfprop" directory.
Generated structures (directories and classes) are like this:
/- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
allcommon : classes bridging to DBFlute Runtime
bsbhv : base behaviors
bsentity : base entities
cbean : condition-beans (both base and extended)
exbhv : extended behaviors
exentity : extended entities
- - - - - - - - - -/
For example, if a table called "MEMBER" exists,
you can use these classes like this:
/- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MemberCB cb = new MemberCB();
cb.query().setMemberId_Equal(3);
Member member = memberBhv.selectEntity(cb);
// MemberCB : ConditionBean
// memberBhv : Behavior (instance)
// Member : Entity
- - - - - - - - - -/
sql2entity.bat, sql2entity.sh:
A execution command of Sql2Entity task
which generates classes corresponding your outside-SQL files,
for example, entities, parameter-beans to specified
directories by DBFlute properties on "dfprop" directory.
replace-schema.bat, replace-schema.sh:
A execution command of ReplaceSchema task
which creates your tables and loads data by
resources located to the "playsql" directory.
outside-sql-test.bat, outside-sql-test.sh:
A execution command of OutsideSqlTest task
which executes outside-SQL files and you can check
whether the SQLs have correct formats.
The directories are for DBFlute tasks:
/- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
dfprop : Directory for DBFlute properties
extlib : Directory for Directory for library extension
log : Directory for log files of DBFlute tasks
output/doc : Directory for auto-generated documents
playsql : Directory for ReplaceSchema task
schema : Directory for files of schema info
- - - - - - - - - -/
The files, _project.bat, _project.sh, build.properties
are for internal processes of DBFlute tasks so basically
you don't need to touch them.

View file

@ -0,0 +1,5 @@
# -------------------------------------------------------------------
# P R O J E C T
# -------------------------------------------------------------------
torque.project = fess

View file

@ -0,0 +1,35 @@
Directory for DBFlute properties
Required (Basic) Properties:
o basicInfoMap.dfprop
o databaseInfoMap.dfprop
At first, you should set these properties
before executions of DBFlute tasks.
Properties for additional informations:
o additionalForeignKeyMap.dfprop
o additionalPrimaryKeyMap.dfprop
o additionalUniqueKeyMap.dfprop
o additionalTableMap.dfprop
Properties for implementation environments:
o commonColumnMap.dfprop
o classificationDefinitionMap.dfprop
o classificationDeploymentMap.dfprop
o optimisticLockDefinitionMap.dfprop
o outsideSqlDefinitionMap.dfprop
o sequenceDefinitionMap.dfprop
o dependencyInjectionMap.dfprop
o littleAdjustmentMap.dfprop
o includeQueryMap.dfprop
o typeMappingMap.dfprop
Properties for ReplaceSchema:
o replaceSchemaDefinitionMap.dfprop
Properties for documents:
o documentDefinitionMap.dfprop
Properties for non-functional adjustments:
o allClassCopyright.dfprop
o refreshDefinitionMap.dfprop

View file

@ -0,0 +1,61 @@
# /---------------------------------------------------------------------------
# additionalForeignKeyMap: (NotRequired - Default map:{})
#
# If foreign key does not exist in your database,
# you can set up here as virtual foreign key for DBFlute.
#
# And it's one-to-one relation if you add one fixed condition to referrer table,
# you can set virtual foreign key with fixedCondition and fixedSuffix.
# And you can use it to view objects too.
#
# If local column name is same as foreign column name,
# you can omit the setting of localColumnName and foreignColumnName.
# The names are treated as case insensitive.
#
# Example:
# map:{
# ; FK_MEMBER_MEMBER_STATUS_CODE = map:{
# ; localTableName = MEMBER ; foreignTableName = MEMBER_STATUS
# ; localColumnName = MEMBER_STATUS_CODE ; foreignColumnName = MEMBER_STATUS_CODE
# }
# ; FK_PURCHASE_MEMBER_ID = map:{
# ; localTableName = PURCHASE ; foreignTableName = MEMBER
# }
# ; FK_MEMBER_MEMBER_ADDRESS_VALID = map:{
# ; localTableName = MEMBER ; foreignTableName = MEMBER_ADDRESS
# ; localColumnName = MEMBER_ID ; foreignColumnName = MEMBER_ID
# ; fixedCondition =
# $$foreignAlias$$.VALID_BEGIN_DATE <= /*targetDate(Date)*/null
# and $$foreignAlias$$.VALID_END_DATE >= /*targetDate(Date)*/null
# ; fixedSuffix = AsValid
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; FK_MEMBER_MEMBER_STATUS_CODE = map:{
# ; localTableName = MEMBER ; foreignTableName = MEMBER_STATUS
# ; localColumnName = MEMBER_STATUS_CODE ; foreignColumnName = MEMBER_STATUS_CODE
#}
;FK_WEB_CONFIG_TO_BROWSER_TYPE_MAPPING_WEB_CRAWLING_CONFIG = map:{ localTableName = WEB_CONFIG_TO_BROWSER_TYPE_MAPPING; localColumnName = WEB_CONFIG_ID; foreignTableName = WEB_CRAWLING_CONFIG; foreignColumnName = ID } ;FK_WEB_CONFIG_TO_BROWSER_TYPE_MAPPING_BROWSER_TYPE = map:{ localTableName = WEB_CONFIG_TO_BROWSER_TYPE_MAPPING; localColumnName = BROWSER_TYPE_ID; foreignTableName = BROWSER_TYPE; foreignColumnName = ID }
;FK_FILE_CONFIG_TO_BROWSER_TYPE_MAPPING_FILE_CRAWLING_CONFIG = map:{ localTableName = FILE_CONFIG_TO_BROWSER_TYPE_MAPPING; localColumnName = FILE_CONFIG_ID; foreignTableName = FILE_CRAWLING_CONFIG; foreignColumnName = ID } ;FK_FILE_CONFIG_TO_BROWSER_TYPE_MAPPING_BROWSER_TYPE = map:{ localTableName = FILE_CONFIG_TO_BROWSER_TYPE_MAPPING; localColumnName = BROWSER_TYPE_ID; foreignTableName = BROWSER_TYPE; foreignColumnName = ID }
;FK_REQUEST_HEADER_WEB_CRAWLING_CONFIG = map:{ localTableName = REQUEST_HEADER; localColumnName = WEB_CRAWLING_CONFIG_ID; foreignTableName = WEB_CRAWLING_CONFIG; foreignColumnName = ID }
;FK_WEB_AUTHENTICATION_WEB_CRAWLING_CONFIG = map:{ localTableName = WEB_AUTHENTICATION; localColumnName = WEB_CRAWLING_CONFIG_ID; foreignTableName = WEB_CRAWLING_CONFIG; foreignColumnName = ID }
;FK_CRAWLING_SESSION_INFO_CRAWLING_SESSION = map:{ localTableName = CRAWLING_SESSION_INFO; localColumnName = CRAWLING_SESSION_ID; foreignTableName = CRAWLING_SESSION; foreignColumnName = ID }
;FK_FILE_CONFIG_TO_LABEL_TYPE_MAPPING_LABEL_TYPE = map:{ localTableName = FILE_CONFIG_TO_LABEL_TYPE_MAPPING; localColumnName = LABEL_TYPE_ID; foreignTableName = LABEL_TYPE; foreignColumnName = ID } ;FK_FILE_CONFIG_TO_LABEL_TYPE_MAPPING_FILE_CRAWLING_CONFIG = map:{ localTableName = FILE_CONFIG_TO_LABEL_TYPE_MAPPING; localColumnName = FILE_CONFIG_ID; foreignTableName = FILE_CRAWLING_CONFIG; foreignColumnName = ID }
;FK_WEB_CONFIG_TO_LABEL_TYPE_MAPPING_LABEL_TYPE = map:{ localTableName = WEB_CONFIG_TO_LABEL_TYPE_MAPPING; localColumnName = LABEL_TYPE_ID; foreignTableName = LABEL_TYPE; foreignColumnName = ID } ;FK_WEB_CONFIG_TO_LABEL_TYPE_MAPPING_WEB_CRAWLING_CONFIG = map:{ localTableName = WEB_CONFIG_TO_LABEL_TYPE_MAPPING; localColumnName = WEB_CONFIG_ID; foreignTableName = WEB_CRAWLING_CONFIG; foreignColumnName = ID }
;FK_FILE_CONFIG_TO_ROLE_TYPE_MAPPING_FILE_CRAWLING_CONFIG = map:{ localTableName = FILE_CONFIG_TO_ROLE_TYPE_MAPPING; localColumnName = FILE_CONFIG_ID; foreignTableName = FILE_CRAWLING_CONFIG; foreignColumnName = ID } ;FK_FILE_CONFIG_TO_ROLE_TYPE_MAPPING_ROLE_TYPE = map:{ localTableName = FILE_CONFIG_TO_ROLE_TYPE_MAPPING; localColumnName = ROLE_TYPE_ID; foreignTableName = ROLE_TYPE; foreignColumnName = ID }
;FK_WEB_CONFIG_TO_ROLE_TYPE_MAPPING_WEB_CRAWLING_CONFIG = map:{ localTableName = WEB_CONFIG_TO_ROLE_TYPE_MAPPING; localColumnName = WEB_CONFIG_ID; foreignTableName = WEB_CRAWLING_CONFIG; foreignColumnName = ID } ;FK_WEB_CONFIG_TO_ROLE_TYPE_MAPPING_ROLE_TYPE = map:{ localTableName = WEB_CONFIG_TO_ROLE_TYPE_MAPPING; localColumnName = ROLE_TYPE_ID; foreignTableName = ROLE_TYPE; foreignColumnName = ID }
;FK_DATA_CONFIG_TO_ROLE_TYPE_MAPPING_DATA_CRAWLING_CONFIG = map:{ localTableName = DATA_CONFIG_TO_ROLE_TYPE_MAPPING; localColumnName = DATA_CONFIG_ID; foreignTableName = DATA_CRAWLING_CONFIG; foreignColumnName = ID } ;FK_DATA_CONFIG_TO_ROLE_TYPE_MAPPING_ROLE_TYPE = map:{ localTableName = DATA_CONFIG_TO_ROLE_TYPE_MAPPING; localColumnName = ROLE_TYPE_ID; foreignTableName = ROLE_TYPE; foreignColumnName = ID }
;FK_DATA_CONFIG_TO_LABEL_TYPE_MAPPING_DATA_CRAWLING_CONFIG = map:{ localTableName = DATA_CONFIG_TO_LABEL_TYPE_MAPPING; localColumnName = DATA_CONFIG_ID; foreignTableName = DATA_CRAWLING_CONFIG; foreignColumnName = ID } ;FK_DATA_CONFIG_TO_LABEL_TYPE_MAPPING_LABEL_TYPE = map:{ localTableName = DATA_CONFIG_TO_LABEL_TYPE_MAPPING; localColumnName = LABEL_TYPE_ID; foreignTableName = LABEL_TYPE; foreignColumnName = ID }
;FK_DATA_CONFIG_TO_BROWSER_TYPE_MAPPING_DATA_CRAWLING_CONFIG = map:{ localTableName = DATA_CONFIG_TO_BROWSER_TYPE_MAPPING; localColumnName = DATA_CONFIG_ID; foreignTableName = DATA_CRAWLING_CONFIG; foreignColumnName = ID } ;FK_DATA_CONFIG_TO_BROWSER_TYPE_MAPPING_BROWSER_TYPE = map:{ localTableName = DATA_CONFIG_TO_BROWSER_TYPE_MAPPING; localColumnName = BROWSER_TYPE_ID; foreignTableName = BROWSER_TYPE; foreignColumnName = ID }
;FK_SEARCH_LOG_USER_INFO = map:{ localTableName = SEARCH_LOG; localColumnName = USER_ID; foreignTableName = USER_INFO; foreignColumnName = ID }
;FK_LABEL_TYPE_TO_ROLE_TYPE_MAPPING_LABEL_TYPE = map:{ localTableName = LABEL_TYPE_TO_ROLE_TYPE_MAPPING; localColumnName = LABEL_TYPE_ID; foreignTableName = LABEL_TYPE; foreignColumnName = ID } ;FK_LABEL_TYPE_TO_ROLE_TYPE_MAPPING_ROLE_TYPE = map:{ localTableName = LABEL_TYPE_TO_ROLE_TYPE_MAPPING; localColumnName = ROLE_TYPE_ID; foreignTableName = ROLE_TYPE; foreignColumnName = ID }
;FK_CLICK_LOG_SEARCH_LOG = map:{ localTableName = CLICK_LOG; localColumnName = SEARCH_ID; foreignTableName = SEARCH_LOG; foreignColumnName = ID }
;FK_FAILURE_URL_FILE_CRAWLING_CONFIG = map:{ localTableName = FAILURE_URL; localColumnName = FILE_CONFIG_ID; foreignTableName = FILE_CRAWLING_CONFIG; foreignColumnName = ID } ;FK_FAILURE_URL_WEB_CRAWLING_CONFIG = map:{ localTableName = FAILURE_URL; localColumnName = WEB_CONFIG_ID; foreignTableName = WEB_CRAWLING_CONFIG; foreignColumnName = ID }
;FK_FILE_AUTHENTICATION_FILE_CRAWLING_CONFIG = map:{ localTableName = FILE_AUTHENTICATION; localColumnName = FILE_CRAWLING_CONFIG_ID; foreignTableName = FILE_CRAWLING_CONFIG; foreignColumnName = ID }
;FK_SEARCH_FIELD_LOG_SEARCH_LOG = map:{ localTableName = SEARCH_FIELD_LOG; localColumnName = SEARCH_ID; foreignTableName = SEARCH_LOG; foreignColumnName = ID }
;FK_FAVORITE_LOG_USER_INFO = map:{ localTableName = FAVORITE_LOG; localColumnName = USER_ID; foreignTableName = USER_INFO; foreignColumnName = ID }
}
# ----------------/

View file

@ -0,0 +1,26 @@
# /---------------------------------------------------------------------------
# additionalPrimaryKeyMap: (NotRequired - Default map:{})
#
# If primary key does not exist in your database,
# you can set up here as virtual primary key for DBFlute.
# And you can use it to view objects too.
# The names are treated as case insensitive.
#
# Example:
# map:{
# ; PK_MEMBER = map:{
# ; tableName = MEMBER ; columnName = MEMBER_ID
# }
# ; PK_PURCHASE = map:{
# ; tableName = PURCHASE ; columnName = PURCHASE_ID
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; PK_MEMBER = map:{
# ; tableName = MEMBER ; columnName = MEMBER_ID
#}
}
# ----------------/

View file

@ -0,0 +1,42 @@
# /---------------------------------------------------------------------------
# additionalTableMap: (NotRequired - Default map:{})
#
# This property is valid at only JDBC task.
# You should use this when JDBC can not provide table information
# and when you have no table but call stored procedures only.
#
# The element 'columnMap' is only required in table elements.
# The element 'type' is only required in column elements.
#
# Specification:
# map: {
# [table-name] = map:{
# columnMap = map:{
# [column-name] = map:{
# type = [column JDBC type] ; dbType = [column DB type]
# ; required = [true or false] ; size = [column size]
# ; primaryKey = [true or false] ; pkName = [PK constraint name]
# ; autoIncrement = [true or false]
# ; default = [default value] ; comment = [column comment]
# }
# }
# ; comment = [table comment]
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; FOO_TABLE = map:{
# ; columnMap = map:{
# FOO_ID = map:{ type = INTEGER ; dbType = INTEGER
# ; required = true ; primaryKey = true ; autoIncrement = true
# }
# FOO_NAME = map:{ type = VARCHAR ; required = true ; size = 123 }
# FOO_DATE = map:{ type = DATE }
# }
#}
}
# ----------------/
#
# *Refer to typeMappingMap.dfprop for JDBC type reference.

View file

@ -0,0 +1,26 @@
# /---------------------------------------------------------------------------
# additionalUniqueKeyMap: (NotRequired - Default map:{})
#
# If unique key does not exist in your database,
# you can set up here as virtual unique key for DBFlute.
# And you can use it to view objects too.
# The names are treated as case insensitive.
#
# Example:
# map:{
# ; UQ_MEMBER = map:{
# ; tableName = MEMBER ; columnName = MEMBER_ACCOUNT
# }
# ; UQ_PRODUCT = map:{
# ; tableName = PRODUCT ; columnName = PRODUCT_HANDLE_CODE
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; UQ_MEMBER = map:{
# ; tableName = MEMBER ; columnName = MEMBER_ACCOUNT
#}
}
# ----------------/

View file

@ -0,0 +1,11 @@
# /---------------------------------------------------------------------------
# allClassCopyright: (NotRequired - Default '')
#
# The copyright for all classes.
# This property is NOT map style.
# You should specify before your first generating.
#
#/*
# * Copyright(c) DBFlute TestCo.,TestLtd. All Rights Reserved.
# */
# ----------------/

View file

@ -0,0 +1,220 @@
# /---------------------------------------------------------------------------
# basicInfoMap: (Required)
#
# The basic information for the tasks of DBFlute.
# You should specify before your first generating.
#
# Core Properties:
# o database: (Required)
# o targetLanguage: (Required)
# o targetContainer: (Required)
# o packageBase: (Required)
#
# Adjustment Properties:
# o generateOutputDirectory: (NotRequired - Default Java:'../src/main/java' CSharp:'../source')
# o resourceOutputDirectory: (NotRequired - Default '../resources')
# o isTableNameCamelCase: (NotRequired - Default false)
# o isColumnNameCamelCase: (NotRequired - Default false)
# o projectPrefix: (NotRequired - Default '')
# o classAuthor: (NotRequired - Default 'DBFlute(AutoGenerator)')
# o sourceFileEncoding: (NotRequired - Default 'UTF-8')
# o sourceCodeLineSeparator: (NotRequired - Default no setting)
# o applicationBehaviorMap: (NotRequired - Default map:{})
# o outputPackageAdjustmentMap: (NotRequired - Default map:{})
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o database: (Required)
# This is the target database, only considered when generating
# the SQL for your DBFlute project.
# Your possible choices are:
#
# mysql, postgresql, oracle, db2, mssql,
# h2, derby, (sqlite, msaccess)
#
; database = mysql
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o targetLanguage: (Required)
# The target language.
# Your possible choices are:
#
# java, csharp
#
; targetLanguage = java
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o targetContainer: (Required)
# The target DI container.
# If your target language is 'csharp', you can specify 'seasar' only.
# Your possible choices are:
#
# seasar, spring, guice, lucy, cdi
#
; targetContainer = seasar
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o packageBase: (Required)
# The base directory of package for generated class.
# The class package is 'this property value + detail package value'.
# However, detail packages have default value so basically
# you only have to specify the property 'packageBase'.
# If this property is specified and detail package properties is not specified,
# Then the packages of generated class are as follows:
#
# e.g. packageBase = com.example.dbflute.basic.dbflute
# --> com.example.dbflute.basic.dbflute.allcommon
# --> com.example.dbflute.basic.dbflute.bsbhv
# --> com.example.dbflute.basic.dbflute.bsentity
# --> com.example.dbflute.basic.dbflute.cbean
# --> com.example.dbflute.basic.dbflute.exbhv
# --> com.example.dbflute.basic.dbflute.exentity
#
; packageBase = jp.sf.fess.db
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o generateOutputDirectory: (NotRequired - Default Java:'../src/main/java' CSharp:'../source')
# The base output directory for generating.
# Basically you don't need to specify this if the project style is as follows:
#
# *Java Project Style
# If this value is '../src/main/java' and your project is under the Maven,
# you don't need to set up this property!
#
# {app-project}
# |
# |-dbflute_[project]
# | |-dfprop
# | |-...
# |
# |-src/main/java // *Here!
# |-src/main/resources
# |-...
#
# *CSharp Project Style
# [app-solution]/dbflute_[project]/dfprop
# [app-solution]/mydbflute/dbflute-0.9.6
# [app-solution]/source/[app-solution].sln
# [app-solution]/source/[app-project(top-namespace)]/[part-namespace]/AllCommon
# [app-solution]/source/[app-project(top-namespace)]/[part-namespace]/BsBhv
# [app-solution]/source/[app-project(top-namespace)]/[part-namespace]/...
# [app-solution]/source/[app-project(top-namespace)]/Resources/...
#
#; generateOutputDirectory = ../src/main/java
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o resourceOutputDirectory: (NotRequired - Default '../resources')
# The base output directory for resource files that contain DI configurations.
# Basically you don't need to specify this if your project is under the Maven.
#
#; resourceOutputDirectory = ../resources
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isTableNameCamelCase: (NotRequired - Default false)
# Is the table name camel case?
# Basically you don't need this if the style of table name is like 'FOO_STATUS'.
# [true]
# The table name is camel case.
# e.g. If the table name is 'OrderDetail', the class name is 'OrderDetail'.
#
# [false]
# e.g. If the table name is 'ORDER_DETAIL', the class name is 'OrderDetail'.
# e.g. If the table name is 'OrderDetail', the class name is 'Orderdetail'.
#
#; isTableNameCamelCase = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isColumnNameCamelCase: (NotRequired - Default false)
# Is the column name camel case?
# Basically you don't need this if the style of column name is like 'FOO_NAME'.
# [true]
# The column name is camel case.
# e.g. If the column name is 'OrderDetailId', the class name is 'OrderDetailId'.
#
# [false]
# e.g. If the column name is 'ORDER_DETAIL_ID', the class name is 'OrderDetailId'.
# e.g. If the column name is 'OrderDetailId', the class name is 'Orderdetailid'.
#
#; isColumnNameCamelCase = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o projectPrefix: (NotRequired - Default '')
# If the value is 'Ld', all class names are 'LdXxx'.
# Basically you don't need this if you don't want the common prefix of class name.
#
#; projectPrefix = Ld
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o classAuthor: (NotRequired - Default 'DBFlute(AutoGenerator)')
# The value of the author tag in java-doc of generated classes.
# All classes are target.
#
# @JavaOnly
#; classAuthor = DBFlute(AutoGenerator)
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sourceFileEncoding: (NotRequired - Default 'UTF-8')
# The value of an encoding for source files that are generated classes.
# If source files of your project are not UTF-8, specify your encoding here.
#
#; sourceFileEncoding = UTF-8
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sourceCodeLineSeparator: (NotRequired - Default no setting)
# The line separator setting for source code of generated classes.
# LF -> converted to LF
# CRLF -> converted to CRLF
# (no setting) -> no convert (template default is CRLF)
#
#; sourceCodeLineSeparator = LF
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o applicationBehaviorMap: (NotRequired - Default map:{})
# The settings for Application Behavior.
# Elements of this map are as below:
# o isApplicationBehaviorProject: (NotRequired - Default false)
# Does the project is for application behaviors?
# This property is a main signal for Application Behavior.
# Other properties (for Application Behavior) work when this is true.
# o libraryProjectPackageBase: (NotRequired - Default same as application's one)
# If application package base is different from library's one,
# set the property a value 'library's one'.
#
#; applicationBehaviorMap = map:{
# ; isApplicationBehaviorProject = false
# ; libraryProjectPackageBase =
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o outputPackageAdjustmentMap: (NotRequired - Default map:{})
# The adjustments for output package.
# Elements of this map are as below:
# o flatDirectoryPackage: (Required - Default '')
# This is only for CSharp.
# e.g. Aaa.Bbb.DBFlute --> Directory: source/Aaa.Bbb.DBFlute/AllCommon
# o omitDirectoryPackage: (NotRequired - Default '')
# This is only for CSharp.
# e.g. Aaa --> Directory: source/Bbb/DBFlute/AllCommon
#
#; outputPackageAdjustmentMap = map:{
# ; flatDirectoryPackage = Aaa.Bbb.DBFlute
# ; omitDirectoryPackage = Aaa
#}
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,69 @@
# /---------------------------------------------------------------------------
# classificationDefinitionMap: (NotRequired - Default map:{})
#
# The definition of classification.
#
# Specification:
# map: {
# [classification-name] = list:{
# ; map:{
# ; topComment=[comment]; codeType=[String(default) or Number or Boolean]}
# ; isCheckImplicitSet=[true or false(default)]
# ; isUseDocumentOnly=[true or false(default)]
# ; isSuppressAutoDeploy=[true or false(default)]
# ; groupingMap = map:{
# ; [group-name] = map:{
# ; groupComment=[comment]
# ; elementList=list:{[the list of classification element's name]}
# }
# }
# }
# # classification elements for implicit classification
# ; map:{
# ; code=[code]; name=[name]; alias=[alias]; comment=[comment]
# ; sisterCode=[code or code-list]; subItemMap=map:{[free-map]}
# }
# # settings for table classification
# ; map:{
# ; table=[table-name]
# ; code=[column-name for code]; name=[column-name for name]
# ; alias=[column-name for alias]; comment=[column-name for comment]}
# ; where=[condition for select]; orderBy=[column-name for ordering]
# ; exceptCodeList=[the list of except code]
# }
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
# example for implicit classification
#; Flg = list:{
# ; map:{topComment=general boolean classification for every flg-column; codeType=Number}
# ; map:{code=1; name=True ; alias=Checked ; comment=means yes; sisterCode=true}
# ; map:{code=0; name=False; alias=Unchecked; comment=means no ; sisterCode=false}
#}
# example for table classification
#; MemberStatus = list:{
# ; map:{topComment=status of member from entry to withdrawal; codeType=String}
# ; map:{
# ; table=MEMBER_STATUS
# ; code=MEMBER_STATUS_CODE; name=MEMBER_STATUS_NAME
# ; comment=DESCRIPTION; orderBy=DISPLAY_ORDER
# }
#}
; ProcessType = list:{
; map:{topComment=Processing Type}
; map:{code=C;name=Crawling;alias=Crawling;comment=Process When Crawling}
; map:{code=D;name=Displaying;alias=Displaying;comment=Process When Displaying}
; map:{code=B;name=Both;alias=Both;comment=Process When Crawling/Displaying}
}
; AccessType = list:{
; map:{topComment=Access Type}
; map:{code=W;name=Web;alias=Web;comment=Web}
; map:{code=M;name=Mobile;alias=Mobile;comment=Mobile}
; map:{code=X;name=Xml;alias=Xml;comment=Xml}
; map:{code=J;name=Json;alias=Json;comment=Json}
}
}
# ----------------/

View file

@ -0,0 +1,27 @@
# /---------------------------------------------------------------------------
# classificationDeploymentMap: (NotRequired - Default map:{})
#
# The relation between column and classification.
#
# This property uses classification names of classificationDefinitionMap.
# The table name '$$ALL$$' means all tables are target.
# The table names and column names are treated as case insensitive.
#
# You don't need specify here about table classifications.
# Because table classifications are auto-deployed by relation information.
#
# Specification:
# map: {
# [table-name or $$ALL$$] = map:{
# ; [column-name (with hint)]=[classification-name]
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; $$ALL$$ = map:{suffix:_FLG=Flg}
; PATH_MAPPING = map:{PROCESS_TYPE=ProcessType}
; SEARCH_LOG = map:{ACCESS_TYPE=AccessType}
}
# ----------------/

View file

@ -0,0 +1,49 @@
# /---------------------------------------------------------------------------
# commonColumnMap: (Default map:{})
#
# The definition of common column(contains auto set-up).
# For example, the date you registered the record,
# the user who updated the record and so on...
# The column names are treated as case insensitive.
#
# The variable '$$AccessContext$$' means allcommon.AccessContext.
#
# Example:
# map:{
# ; commonColumnMap = map:{
# ; REGISTER_DATETIME=TIMESTAMP ; REGISTER_USER=VARCHAR
# ; UPDATE_DATETIME=TIMESTAMP ; UPDATE_USER=VARCHAR
# }
# ; beforeInsertMap = map:{
# ; REGISTER_DATETIME = $$AccessContext$$.getAccessTimestampOnThread()
# ; REGISTER_USER = $$AccessContext$$.getAccessUserOnThread()
# ; UPDATE_DATETIME = entity.getRegisterDatetime()
# ; UPDATE_USER = entity.getRegisterUser()
# }
# ; beforeUpdateMap = map:{
# ; UPDATE_DATETIME = $$AccessContext$$.getAccessTimestampOnThread()
# ; UPDATE_USER = $$AccessContext$$.getAccessUserOnThread()
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; commonColumnMap = map:{
# ; REGISTER_DATETIME=TIMESTAMP ; REGISTER_USER=VARCHAR
# ; UPDATE_DATETIME=TIMESTAMP ; UPDATE_USER=VARCHAR
#}
#; beforeInsertMap = map:{
# ; REGISTER_DATETIME = $$AccessContext$$.getAccessTimestampOnThread()
# ; REGISTER_USER = $$AccessContext$$.getAccessUserOnThread()
# ; UPDATE_DATETIME = entity.getRegisterDatetime()
# ; UPDATE_USER = entity.getRegisterUser()
#}
#; beforeUpdateMap = map:{
# ; UPDATE_DATETIME = $$AccessContext$$.getAccessTimestampOnThread()
# ; UPDATE_USER = $$AccessContext$$.getAccessUserOnThread()
#}
}
# ----------------/
#
# *Refer to typeMappingMap.dfprop for JDBC type reference.

View file

@ -0,0 +1,112 @@
# /---------------------------------------------------------------------------
# databaseInfoMap: (Required)
#
# The database information for the tasks of DBFlute.
# You should specify before your first generating.
#
# o driver -- The class name of JDBC-Driver.
# o url -- The URL for connecting database.
# o schema -- The schema name.
# o user -- The database user name.
# o password -- The database password.
# o propertiesMap -- The properties that depends on the database.
# o variousMap -- The various settings about JDBC task.
#
# *The line that starts with '#' means comment-out.
#
map:{
; driver = com.mysql.jdbc.Driver
; url = jdbc:mysql://localhost:3306/fess_db?noDatetimeStringSync=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true
; schema =
; user = fess_user
; password = fess_pass
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o propertiesMap: (NotRequired - Default map:{})
# The properties that depends on the database.
#
; propertiesMap = map:{
# If you use Oracle and its Synonym, specify this property.
#; includeSynonyms=true
}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o variousMap: (NotRequired - Default map:{})
# The various settings about JDBC task mainly.
#
; variousMap = map:{
# o objectTypeTargetList: (NotRequired - Default list:{TABLE;VIEW})
# If you want to include other object types in generating target,
# you should specify the list of included object types as adding.
# e.g. Synonym of Oracle --> list:{TABLE ; VIEW ; SYNONYM}
# This is only for the main schema. Additional schemas are unconcerned.
# However ReplaceSchema and Sql2Entity task also uses this.
# But you can set ReplaceSchema-original setting in its own dfprop.
#
#; objectTypeTargetList = list:{TABLE ; VIEW}
# o tableExceptList: (NotRequired - Default list:{})
# If you want to exclude some tables in generating target,
# you should specify the list of excepted table hints.
# e.g. list:{PRODUCT_STATUS ; prefix:TMP_}
# This is only for the main schema. Additional schemas are unconcerned.
# And ReplaceSchema task basically ignores this.
#
# Normally this 'except' means no getting meta data for excepted tables.
# (so the tables are not existing in SchemaHTML and HistoryHTML and so on).
# But you can specify the '@gen' suffix that means generate-only except.
# A table with the mark can be treated as documents but no generating classes.
#
#; tableExceptList = list:{FOO_TABLE@gen ; prefix:FOO_@gen ; suffix:_FOO ; contain:_FOO_}
# o tableTargetList: (NotRequired - Default list:{})
# If you want to include some tables in generating target expressly,
# you should specify the list of target table hints.
# e.g. list:{PURCHASE ; contain:MEMBER}
# This is only for the main schema. Additional schemas are unconcerned.
# And ReplaceSchema task basically ignores this.
#
#; tableTargetList = list:{FOO_TABLE ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# o columnExceptMap: (NotRequired - Default map:{})
# If you want to exclude some columns in generating target,
# you should specify the list of excepted column hints.
# e.g. map:{HEAVY_MASTER = list:{APP_NOT_USED_ID; suffix:_IMAGE}}
# This is only for the main schema. Additional schemas are unconcerned.
#
#; columnExceptMap = map:{
# ; FOO_TABLE = list:{FOO_COLUMN ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
#}
# o additionalSchemaMap: (NotRequired - Default map:{})
# If you want to include other schemas in generating target,
# you should specify the map of included schemas.
# Additional schemas have original settings apart from the main schema.
# The settings are objectTypeTargetList, tableExceptList,
# tableTargetList, and columnExceptMap.
# They have the same specification as ones of the main schema.
# Elements of this map are as below:
# o objectTypeTargetList: (NotRequired - Default 'map:{TABLE;VIEW}')
# o tableExceptList: (NotRequired - Default list:{})
# o tableTargetList: (NotRequired - Default list:{})
# o columnExceptMap: (NotRequired - Default map:{})
# o isSuppressCommonColumn: (NotRequired - Default false)
# o isSuppressProcedure: (NotRequired - Default false)
#
#; additionalSchemaMap = map:{
# ; NEXTEXAMPLEDB = map:{
# ; objectTypeTargetList=list:{TABLE ; VIEW}
# ; tableExceptList=list:{FOO_TABLE ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# ; tableTargetList=list:{FOO_TABLE ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# ; columnExceptMap=map:{
# ; FOO_TABLE = list:{FOO_COLUMN ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# }
# ; isSuppressCommonColumn=false
# ; isSuppressProcedure=false
# }
#}
}
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,116 @@
# /---------------------------------------------------------------------------
# dependencyInjectionMap: (NotRequired - Default map:{})
#
# The various settings about dependency injection(DI Container).
#
# {Java} Seasar Only:
# o dbfluteDiconNamespace: (NotRequired - Default 'dbflute')
# o dbfluteDiconPackageName (NotRequired - Default '../resources')
# o dbfluteDiconFileName: (NotRequired - Default 'dbflute.dicon')
# o j2eeDiconResourceName: (NotRequired - Default 'j2ee.dicon')
# o dbfluteDiconBeforeJ2eeIncludeDefinitionMap: (NotRequired - Default map:{})
# o dbfluteDiconOtherIncludeDefinitionMap: (NotRequired - Default map:{})
#
# {Java} Spring and Lucy Only:
# o dbfluteBeansPackageName (NotRequired - Default '../resources')
# o dbfluteBeansFileName: (NotRequired - Default 'dbfluteBeans.xml')
# o dbfluteBeansDataSourceName: (NotRequired - Default 'dataSource')
# o dbfluteBeansDefaultAttribute: (NotRequired - Default '')
#
# {CSharp} Quill(CSharp Seasar) Only:
# o quillDataSourceName: (NotRequired - Default '')
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteDiconNamespace: (NotRequired - Default 'dbflute')
# The namespace of DBFlute DI configuration.
#
# @JavaSeasarOnly
#; dbfluteDiconNamespace = dbflute
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteDiconPackageName (NotRequired - Default '../resources')
# The package name(output directory) of DBFlute DI configuration for Seasar.
#
# @JavaSeasarOnly
#; dbfluteDiconPackageName = ../resources
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteDiconFileName: (NotRequired - Default 'dbflute.dicon')
# The file name of DBFlute DI configuration for Seasar.
#
# @JavaSeasarOnly
#; dbfluteDiconFileName = dbflute.dicon
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o j2eeDiconResourceName: (NotRequired - Default 'j2ee.dicon')
# The file name of J2EE DI configuration.
#
# @JavaSeasarOnly
#; j2eeDiconResourceName = j2ee.dicon
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteDiconBeforeJ2eeIncludeDefinitionMap: (NotRequired - Default map:{})
# The include definition of DBFlute DI configuration before j2ee including.
# e.g. map:{ jdbc-xxx.dicon = dummy }
#
# @JavaSeasarOnly
#; dbfluteDiconBeforeJ2eeIncludeDefinitionMap = map:{}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteDiconOtherIncludeDefinitionMap: (NotRequired - Default map:{})
# The other include definition of DBFlute DI configuration.
# e.g. map:{ common.dicon = dummy }
#
# @JavaSeasarOnly
#; dbfluteDiconOtherIncludeDefinitionMap = map:{}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteBeansPackageName (NotRequired - Default '../resources')
# The package name(output directory) of DBFlute DI configuration for Spring and Lucy.
#
# @JavaSpringLucyOnly
#; dbfluteBeansPackageName = ../resources
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteBeansFileName: (NotRequired - Default 'dbfluteBeans.xml')
# The file name of DBFlute DI configuration for Spring and Lucy.
#
# @JavaSpringLucyOnly
#; dbfluteBeansFileName = dbfluteBeans.xml
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteBeansDataSourceName: (NotRequired - Default 'dataSource')
# The data source name that DBFlute(Behaviors) uses.
#
# @JavaSpringLucyOnly
#; dbfluteBeansDataSourceName = exampleDataSource
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o dbfluteBeansPackageName (NotRequired - Default '')
# The default attribute expression of DBFlute DI configuration for Spring and Lucy.
#
# @JavaSpringLucyOnly
#; dbfluteBeansDefaultAttribute = default-lazy-init="true"
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o quillDataSourceName: (NotRequired - Default '')
# The data source name of Quill(CSharp Seasar).
#
# @CSharpQuillOnly
#; quillDataSourceName = ExampleDB
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,225 @@
# /---------------------------------------------------------------------------
# documentDefinitionMap: (NotRequired - Default map:{})
#
# o documentOutputDirectory (NotRequired - Default './output/doc')
# o aliasDelimiterInDbComment (NotRequired - Default '')
# o isDbCommentOnAliasBasis (NotRequired - Default false)
# o isEntityJavaDocDbCommentValid (NotRequired - Default false)
# o isEntityDBMetaDbCommentValid (NotRequired - Default false)
# o schemaHtmlFileName (NotRequired - Default 'schema-[project-name].html')
# o isSuppressSchemaHtmlOutsideSql (NotRequired - Default false)
# o isSuppressSchemaHtmlProcedure (NotRequired - Default false)
# o historyHtmlFileName (NotRequired - Default 'history-[project-name].html')
# o isCheckColumnDefOrderDiff (NotRequired - Default false)
# o isCheckDbCommentDiff (NotRequired - Default false)
# o isCheckProcedureDiff (NotRequired - Default false)
# o loadDataReverseMap (NotRequired - Default map:{})
# o schemaSyncCheckMap (NotRequired - Default map:{})
# o propertiesHtmlMap: (NotRequired - Default map:{})
#
# Example:
# map:{
# ; documentOutputDirectory = ./output/doc
# ; aliasDelimiterInDbComment = :
# ; isDbCommentOnAliasBasis = true
# ; isEntityJavaDocDbCommentValid = true
# ; isEntityDBMetaDbCommentValid = true
# ; schemaHtmlFileName = xxx.html
# ; isSuppressSchemaHtmlOutsideSql = false
# ; isSuppressSchemaHtmlProcedure = false
# ; historyHtmlFileName = xxx.html
# ; isCheckColumnDefOrderDiff = true
# ; isCheckDbCommentDiff = true
# ; isCheckProcedureDiff = true
# ; loadDataReverseMap = map:{
# ; recordLimit = -1
# ; isReplaceSchemaDirectUse = true
# ; isOverrideExistingDataFile = false
# ; isSynchronizeOriginDate = false
# }
# ; schemaSyncCheckMap = map:{
# ; url = jdbc:...
# ; schema = EXAMPLEDB
# ; user = exampuser
# ; password = exampword
# }
# ; propertiesHtmlMap = map:{
# ; ApplicationProperties = map:{
# ; rootFile = ../src/main/resources/application_ja.properties
# }
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o documentOutputDirectory (NotRequired - Default './output/doc')
# The output directory mainly for SchemaHtml and DataXlsTemplate.
# Basically you don't need this.
# It is considered of value that it always exists at same plain.
#
#; documentOutputDirectory = ./output/doc
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o aliasDelimiterInDbComment (NotRequired - Default '')
# If the alias exists in its DB comment like as follows:
# member name : The name of member's full name
# you can use the alias in DBFlute world, java-doc, SchemaHTML...
# DB comment which does not have the delimiter is not treated
# as alias, treated as description (real comment).
# But you can change it by 'isDbCommentOnAliasBasis'.
#
#; aliasDelimiterInDbComment = :
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isDbCommentOnAliasBasis (NotRequired - Default false)
# Is DB comment on alias basis?
# (Is DB comment alias name when it has no alias delimiter?)
# This property works with 'aliasDelimiterInDbComment'.
#
#; isDbCommentOnAliasBasis = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isEntityJavaDocDbCommentValid (NotRequired - Default false)
# Does it allow DB comment to be on java-doc?
#
#; isEntityJavaDocDbCommentValid = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isEntityDBMetaDbCommentValid (NotRequired - Default false)
# Does it allow DB comment to be on DB meta of entity?
#
#; isEntityDBMetaDbCommentValid = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o schemaHtmlFileName (NotRequired - Default 'schema-[project-name].html')
# The file name (not contain path) of SchemaHtml.
# Basically you don't need this.
# (For example, when you use Application Behavior, you need this)
#
#; schemaHtmlFileName = xxx.html
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressSchemaHtmlOutsideSql (NotRequired - Default false)
# Does it remove outsideSql information from SchemaHtml?
# Basically you don't need this.
# OutsideSql information (related to tables) is very useful.
#
#; isSuppressSchemaHtmlOutsideSql = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressSchemaHtmlProcedure (NotRequired - Default false)
# Does it remove procedure information from SchemaHtml?
# Basically you don't need this.
# Procedure information is very useful.
#
#; isSuppressSchemaHtmlProcedure = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o historyHtmlFileName (NotRequired - Default 'history-[project-name].html')
# The file name (not contain path) of HistoryHtml.
# Basically you don't need this.
# (For example, when you use Application Behavior, you need this)
#
#; historyHtmlFileName = xxx.html
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isCheckColumnDefOrderDiff (NotRequired - Default false)
# Does it check differences of column-def order?
# (except added or deleted columns)
#
#; isCheckColumnDefOrderDiff = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isCheckDbCommentDiff (NotRequired - Default false)
# Does it check differences of table or column or others comment?
#
#; isCheckDbCommentDiff = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isCheckProcedureDiff (NotRequired - Default false)
# Does it check differences of procedures?
#
#; isCheckProcedureDiff = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o loadDataReverseMap: (NotRequired - Default map:{})
# You can set LoadDataReverse settings.
# This property is valid when the property 'recordLimit' is set.
# Elements of this map are as below:
# o recordLimit: The limit of records to output. Minus means no limit. (NotRequired - Default '')
# o isReplaceSchemaDirectUse: Does it output the data to playsql directly? (NotRequired - Default false)
# o isOverrideExistingDataFile: Does it output to existing files? (NotRequired - Default false)
# o isSynchronizeOriginDate: Does it synchronize origin date for date adjustment? (NotRequired - Default false)
#
#; loadDataReverseMap = map:{
# ; recordLimit = -1
# ; isReplaceSchemaDirectUse = false
# ; isOverrideExistingDataFile = false
# ; isSynchronizeOriginDate = false
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o schemaSyncCheckMap: (NotRequired - Default map:{})
# You can set SchemaSyncCheck settings.
# This property is valid when the property 'user' is set.
# Elements of this map are as below:
# o url: The URL for connecting database. (NotRequired - Default same as databaseInfoMap)
# o schema: The schema name. (NotRequired - Default '' e.g. no setting when MySQL)
# o user: The database user name. (Required)
# o password: The database password. (NotRequired - Default '')
#
#; schemaSyncCheckMap = map:{
# ; url = jdbc:...
# ; schema = EXAMPLEDB
# ; user = exampuser
# ; password = exampword
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o propertiesHtmlMap: (NotRequired - Default map:{})
# You can set PropertiesHtml settings.
# Elements of this map are as below:
# o key of map: Properties Title Name
# o baseDir: base directory for directory property. (NotRequired)
# o rootFile: root file to read properties (Required)
# o environmentMap: map of environment files, the value is dir path (NotRequired)
# o diffIgnoredKeyList: list of ignored keys for differences (NotRequired)
# o maskedKeyList: list of masked keys for security (NotRequired)
# o isEnvOnlyFloatLeft: is it environment only? (and show as float-left?) (NotRequired)
# o extendsPropRequest: other request name of exnteds-properties (NotRequired)
# o isCheckImplicitOverride: does it check implicit override? (NotRequired)
#
#; propertiesHtmlMap = map:{
# ; ApplicationProperties = map:{
# ; baseDir = ../src
# ; rootFile = $$baseDir$$/main/resources/application_ja.properties
# ; environmentMap = map:{
# ; integration = $$baseDir$$/integration/resources
# ; production = $$baseDir$$/production/resources
# }
# ; diffIgnoredKeyList = list:{}
# ; maskedKeyList = list:{}
# ; isEnvOnlyFloatLeft = false
# ; extendsPropRequest = null
# ; isCheckImplicitOverride = false
# }
#}
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,96 @@
# /---------------------------------------------------------------------------
# includeQueryMap: (NotRequired - Default map:{})
#
# Specification:
# map:{
# ; [property-type] = map:{
# ; [condition-key] = map:{ [table] = list:{ [column] ; [column] } }
# }
#
# property-type: String, Number, Date, (or defaultExcludeColumnList)
# condition-key: NotEqual, GreaterThan, LessThan, GreaterEqual, LessEqual
# , InScope, NotInScope, PrefixSearch, LikeSearch, NotLikeSearch
# , EmptyString, FromTo, DateFromTo, RangeOf
# , (and prefix '!' means excluding)
# table: table name or $$ALL$$
# column: column name (hint) or $$CommonColumn$$ or $$VersionNo$$
#
# Example:
# map:{
# # This means that String includes GreaterThan at MEMBER.MEMBER_ACCOUNT only
# # and LessThan at PRODUCT.PRODUCT_NAME and PRODUCT.PRODUCT_HANDLE_CODE.
# ; String = map:{
# ; GreaterThan = map:{ MEMBER = list:{ MEMBER_ACCOUNT } }
# ; LessThan = map:{ PRODUCT = list:{ PRODUCT_NAME ; PRODUCT_HANDLE_CODE } }
# }
# # This means that Number includes all condition-keys. (same as no setting)
# ; Number = map:{
# }
# # This means that Date does not includes NotEqual at all tables.
# ; Date = map:{
# ; NotEqual = map:{}
# }
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
; String = map:{
# [Include]
# String columns may not be needed
# to be set these condition-keys basically.
#; GreaterThan = map:{}
#; LessThan = map:{}
#; GreaterEqual = map:{}
#; LessEqual = map:{}
# [Exclude]
# Common columns of String type may not be needed
# to be set these condition-keys basically.
#; !NotEqual = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !GreaterThan = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !LessThan = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !GreaterEqual = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !LessEqual = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !InScope = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !NotInScope = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !PrefixSearch = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !LikeSearch = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !NotLikeSearch = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
}
; Number = map:{
# [Include]
# ...
# [Exclude]
# VersionNo column may not be needed
# to be set these condition-keys basically.
#; !NotEqual = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !GreaterThan = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !LessThan = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !GreaterEqual = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !LessEqual = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !RangeOf = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !InScope = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
#; !NotInScope = map:{ $$ALL$$ = list:{ $$VersionNo$$ } }
}
; Date = map:{
# [Include]
# Date columns may not be needed
# to be set these condition-keys basically.
; NotEqual = map:{}
; InScope = map:{}
; NotInScope = map:{}
# [Exclude]
# Common columns of Date type may not be needed
# to be set these condition-keys basically.
#; !GreaterThan = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !LessThan = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !GreaterEqual = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !LessEqual = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !FromTo = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
#; !DateFromTo = map:{ $$ALL$$ = list:{ $$CommonColumn$$ } }
}
}
# ----------------/

View file

@ -0,0 +1,345 @@
# /---------------------------------------------------------------------------
# littleAdjustmentMap: (NotRequired - Default map:{})
#
# The various settings about a little adjustment.
#
# o isAvailableAddingSchemaToTableSqlName: (NotRequired - Default false)
# o isAvailableAddingCatalogToTableSqlName: (NotRequired - Default false)
# o isAvailableDatabaseDependency: (NotRequired - Default false)
# o isAvailableDatabaseNativeJDBC: (NotRequired - Default false)
# o isAvailableNonPrimaryKeyWritable: (NotRequired - Default false)
# o isCheckSelectedClassification: (NotRequired - Default false)
# o isForceClassificationSetting: (NotRequired - Default false)
# o isMakeEntityChaseRelation: (NotRequired - Default false)
# o isEntityConvertEmptyStringToNull: (NotRequired - Default false)
# o isMakeConditionQueryEqualEmptyString: (NotRequired - Default false)
# o isPagingCountLater: (NotRequired - Default true)
# o isPagingCountLeastJoin: (NotRequired - Default true)
# o isInnerJoinAutoDetect: (NotRequired - Default true)
# o isTableDispNameUpperCase: (NotRequired - Default false)
# o isTableSqlNameUpperCase: (NotRequired - Default false)
# o isColumnSqlNameUpperCase: (NotRequired - Default false)
# o isMakeDeprecated: (NotRequired - Default false)
# o isMakeRecentlyDeprecated: (NotRequired - Default true)
# o extendedDBFluteInitializerClass: (NotRequired - Default '')
# o extendedImplementedInvokerAssistantClass: (NotRequired - Default '')
# o extendedImplementedCommonColumnAutoSetupperClass: (NotRequired - Default '')
# o extendedS2DaoSettingClass: (NotRequired - Default '')
# o shortCharHandlingMode: (NotRequired - Default NONE)
# o quoteTableNameList: (NotRequired - Default list:{})
# o quoteColumnNameList: (NotRequired - Default list:{})
# o relationalNullObjectMap: (NotRequired - Default map:{})
# o cursorSelectFetchSize: (NotRequired - Default null)
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isAvailableAddingSchemaToTableSqlName: (NotRequired - Default false)
# [true]
# Add schema to table SQL name. (The table name on query is SCHEMA.TABLE)
#
# [false]
# Non.
#
#; isAvailableAddingSchemaToTableSqlName = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isAvailableAddingCatalogToTableSqlName: (NotRequired - Default false)
# [true]
# Add catalog to table SQL name. (The table name on query is CATALOG.SCHEMA.TABLE)
# This property works only when isAvailableAddingSchemaToTableSqlName is true.
#
# [false]
# Non.
#
#; isAvailableAddingCatalogToTableSqlName = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isAvailableDatabaseDependency: (NotRequired - Default false)
# [true]
# Generate the method that depends on the database.
# For example: cb.lockWithRR() at DB2.
#
# [false]
# Non.
#
#; isAvailableDatabaseDependency = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isAvailableDatabaseNativeJDBC: (NotRequired - Default false)
# [true]
# Use classes of database native JDBC on generated classes
# to get best performances of DB access.
# Your project needs to refer to database native JDBC.
#
# [false]
# Non.
#
#; isAvailableDatabaseNativeJDBC = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isAvailableNonPrimaryKeyWritable: (NotRequired - Default false)
# [true]
# Generate writable methods at non-primary-key table.
#
# [false]
# Non.
#
#; isAvailableNonPrimaryKeyWritable = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isCheckSelectedClassification: (NotRequired - Default false)
# [true]
# Check a code of a column related to classification
# whether it's one of classification when it's selected.
# If wrong, throws an exception (when selecting).
#
# [false]
# Non.
#
#; isCheckSelectedClassification = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isForceClassificationSetting: (NotRequired - Default false)
# [true]
# Force developer to set a code of a column related to classification
# by classification type-safe method of Entity and ConditionBean.
# A setter method of original type becomes 'protected' scope.
#
# [false]
# Non.
#
#; isForceClassificationSetting = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isMakeEntityChaseRelation: (NotRequired - Default false)
# [true]
# Make chase-relation methods of entity.
# For example: member.chaseMemberStatus().getMemberStatusName()
# This statement doesn't have a null pointer if the MemberStatus doesn't exist.
#
# [false]
# Non.
#
#; isMakeEntityChaseRelation = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isEntityConvertEmptyStringToNull: (NotRequired - Default false)
# [true]
# Convert empty-string data to null in entity.
#
# [false]
# Non.
#
#; isEntityConvertEmptyStringToNull = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isMakeConditionQueryEqualEmptyString: (NotRequired - Default false)
# [true]
# Make equal-empty-string methods of condition-query.
# For example: cb.query().setMemberName_Equal_EmptyString()
#
# [false]
# Non.
#
#; isMakeConditionQueryEqualEmptyString = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isPagingCountLater: (NotRequired - Default true)
# [true]
# The count SQL for paging are executed after paging main select.
#
# [false]
# Non.
#
#; isPagingCountLater = true
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isPagingCountLeastJoin: (NotRequired - Default true)
# [true]
# Join statements in count SQL of paging select are trimmed
# for performance tuning. (only countable joins are valid)
#
# [false]
# Non.
#
#; isPagingCountLeastJoin = true
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isInnerJoinAutoDetect: (NotRequired - Default true)
# [true]
# Joins that can be inner-join on condition-bean are auto-detected
# for performance tuning. (DBFlute uses NotNull constraint info)
#
# [false]
# Non.
#
#; isInnerJoinAutoDetect = true
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isTableDispNameUpperCase: (NotRequired - Default false)
# [true]
# Table names for display, e.g. on documents,
# are forcedly treated as upper case.
#
# [false]
# Non.
#
#; isTableDispNameUpperCase = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isTableSqlNameUpperCase: (NotRequired - Default false)
# [true]
# Table names on SQL executed by condition-bean or behavior
# are forcedly treated as upper case. (except outside-SQL)
#
# [false]
# Non.
#
#; isTableSqlNameUpperCase = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isColumnSqlNameUpperCase: (NotRequired - Default false)
# [true]
# Column names on SQL executed by condition-bean or behavior
# are forcedly treated as upper case. (except outside-SQL)
#
# [false]
# Non.
#
#; isColumnSqlNameUpperCase = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isMakeDeprecated: (NotRequired - Default false)
# [true]
# Make deprecated method and class and so on...
# *You should specify this property 'false'!
#
# [false]
# Non.
#
#; isMakeDeprecated = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isMakeRecentlyDeprecated: (NotRequired - Default true)
# [true]
# Make RECENTLY deprecated method and class and so on...
# *You should specify this property 'false'!
#
# [false]
# Non.
#
#; isMakeRecentlyDeprecated = true
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o extendedDBFluteInitializerClass: (NotRequired - Default '')
# If you want to extend the embedded DBFlute initializer,
# specify the class name of your original initializer
# that extends the embedded one.
# *Basically for fixed DBFluteConfig settings
#
# @JavaOnly
#; extendedDBFluteInitializerClass = com.example.ExtendedDBFluteInitializer
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o extendedImplementedInvokerAssistantClass: (NotRequired - Default '')
# If you want to extend the embedded invoker assistant,
# specify the class name of your original invoker assistant
# that extends the embedded one.
# *Basically you SHOULD NOT specify this property!
#
# @JavaOnly
#; extendedImplementedInvokerAssistantClass = com.example.ExtendedImplementedInvokerAssistant
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o extendedImplementedCommonColumnAutoSetupperClass: (NotRequired - Default '')
# If you want to extend the embedded common column auto setupper,
# specify the class name of your original common column auto setupper
# that extends the embedded one.
# *Basically you SHOULD NOT specify this property!
#
# @JavaOnly
#; extendedImplementedCommonColumnAutoSetupperClass = com.example.ExtendedImplementedCommonColumnAutoSetupper
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o extendedS2DaoSettingClass: (NotRequired - Default '')
# If you want to extend the embedded S2Dao setting,
# specify the class name of your original S2Dao setting
# that extends the embedded one.
# *Basically you SHOULD NOT specify this property!
#
# @CSharpOnly
#; extendedS2DaoSettingClass = Com.Example.ExtendedS2DaoSetting
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o shortCharHandlingMode: (NotRequired - Default NONE)
# If the parameter of condition-bean or parameter-bean has short size,
# NONE - Do nothing. (default)
# EXCEPTION - It throws an exception.
# RFILL - It fills the parameter by right spaces.
# LFILL - It fills the parameter by left spaces.
#
#; shortCharHandlingMode = NONE
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o quoteTableNameList: (NotRequired - Default list:{})
# The list of table DB names that need to be quoted.
# Specified tables is quoted on auto-generated SQL.
#
#; quoteTableNameList = list:{}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o quoteColumnNameList: (NotRequired - Default list:{})
# The list of column DB names that need to be quoted.
# Specified columns is quoted on auto-generated SQL.
#
#; quoteColumnNameList = list:{}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o relationalNullObjectMap: (NotRequired - Default map:{})
# You can get a null object when the relation is null.
#
#; relationalNullObjectMap = map:{
# ; providerPackage = $$packageBase$$.nogen.cache
# ; foreignMap = map:{
# ; MEMBER_STATUS = CachedMemberStatus.get($$PrimaryKey$$)
# ; MEMBER_SECURITY = CachedMemberSecurity.get($$PrimaryKey$$)
# }
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o cursorSelectFetchSize: (NotRequired - Default null)
# The fetch size of JDBC parameter for cursor select.
# For example, specify Integer.MIN_VALUE to enable fetch of MySQL.
#
#; cursorSelectFetchSize = Integer.MIN_VALUE
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,28 @@
# /---------------------------------------------------------------------------
# optimisticLockDefinitionMap: (NotRequired - Default map:{})
#
# The definition for optimistic lock of DBFlute.
#
# o updateDateFieldName: (NotRequired - Default '')
# o versionNoFieldName: (NotRequired - Default 'VERSION_NO')
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o updateDateFieldName: (NotRequired - Default '')
# The column name of update date for optimistic lock.
#
#; updateDateFieldName = UPDATE_DATE
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o versionNoFieldName: (NotRequired - Default 'VERSION_NO')
# The column name of version no for optimistic lock.
# Basically you don't need this if your tables have the column 'VERSION_NO'.
# because the default value is 'VERSION_NO'.
#
#; versionNoFieldName = VERSION_NO
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,187 @@
# /---------------------------------------------------------------------------
# outsideSqlDefinitionMap: (NotRequired - Default map:{})
#
# The various settings about outsideSql.
#
# o isGenerateProcedureParameterBean: (NotRequired - Default false)
# o isGenerateProcedureCustomizeEntity: (NotRequired - Default false)
# o targetProcedureCatalogList: (NotRequired - Default list:{})
# o targetProcedureSchemaList: (NotRequired - Default list:{})
# o targetProcedureNameList: (NotRequired - Default list:{})
# o executionMetaProcedureNameList: (NotRequired - Default list:{})
# o procedureSynonymHandlingType: (NotRequired - Default NONE)
# o isRequiredSqlTitle: (NotRequired - Default false)
# o isRequiredSqlDescription: (NotRequired - Default false)
# o sqlFileEncoding: (NotRequired - Default 'UTF-8')
# o sqlDirectory: (NotRequired - Default generateOutputDirectory & resourceOutputDirectory)
# o sql2EntityOutputDirectory: (NotRequired - Default generateOutputDirectory)
# o applicationOutsideSqlMap: (NotRequired - Default map:{})
# o sqlPackage: (NotRequired - Default all packages)
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isGenerateProcedureParameterBean: (NotRequired - Default false)
# [true]
# The parameter beans for procedure are auto-generated.
# If you call the procedure from DBFlute, you should specify 'true'!
#
# [false]
# Non.
#
; isGenerateProcedureParameterBean = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isGenerateProcedureCustomizeEntity: (NotRequired - Default false)
# [true]
# The customize entities for procedure's out-parameter
# and not-param-result are auto-generated.
# And also not-param-result's properties are auto-generated.
# Target procedures are executed actually at Sql2Entity task.
# (because of getting from execution meta data (result set meta data))
# This property is valid only when isGenerateProcedureParameterBean is true.
#
# [false]
# Non.
#
; isGenerateProcedureCustomizeEntity = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o targetProcedureCatalogList: (NotRequired - Default list:{})
# You can specify target catalog of generated parameter bean for procedure.
# This property is valid only when generateProcedureParameterBean is valid.
#
#; targetProcedureCatalogList = list:{FOO_CATALOG ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o targetProcedureSchemaList: (NotRequired - Default list:{})
# You can specify target schema of generated parameter bean for procedure.
# This property is valid only when generateProcedureParameterBean is valid.
# e.g. list:{PROCEDUREDB}
#
#; targetProcedureSchemaList = list:{FOO_SCHEMA ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o targetProcedureNameList: (NotRequired - Default list:{})
# You can specify target name of generated parameter bean for procedure.
# This property is valid only when isGenerateProcedureParameterBean is valid.
# e.g. list:{prefix:SP_}
# And you can specify procedures through DB link.
# This is treated as additional setting
# so it is independent from specifications for main schema.
# e.g. SP_FOO@NEXT_LINK (when DB link name is 'NEXT_LINK')
#
#; targetProcedureNameList = list:{FOO_PROCEDURE ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o executionMetaProcedureNameList: (NotRequired - Default list:{})
# You can specify target name of generated customize entity for procedure.
# This property is valid only when isGenerateProcedureCustomizeEntity is valid.
# e.g. list:{prefix:SP_}
#
#; executionMetaProcedureNameList = list:{FOO_PROCEDURE ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o procedureSynonymHandlingType: (NotRequired - Default NONE)
# You can specify the handling type of procedure synonym.
# NONE - No handling. (default)
# INCLUDE - It includes procedure synonyms.
# SWITCH - It switches all normal procedures to procedure synonyms.
#
#; procedureSynonymHandlingType = NONE
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isRequiredSqlTitle: (NotRequired - Default false)
# [true]
# You should always write the title of outsideSql.
# If it doesn't exist, the OutsideSqlTest task fails.
#
# [false]
# Non.
#
#; isRequiredSqlTitle = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isRequiredSqlDescription: (NotRequired - Default false)
# [true]
# You should always write the description of outsideSql.
# If it doesn't exist, the OutsideSqlTest task fails.
#
# [false]
# Non.
#
#; isRequiredSqlDescription = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sqlFileEncoding: (NotRequired - Default 'UTF-8')
# The encoding of SQL file for outsideSql.
# Basically you don't need this.
#
#; sqlFileEncoding = UTF-8
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sqlDirectory: (NotRequired - Default generateOutputDirectory & resourceOutputDirectory)
# The directory of SQL file for outsideSql.
# Basically you don't need this if your directory structure is same as default.
# It's also for DBFlute library project when you use ApplicationOutsideSql.
#
#; sqlDirectory = ../src/main/resources
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sql2EntityOutputDirectory: (NotRequired - Default generateOutputDirectory)
# The output directory of classes that is generated by Sql2Entity.
# Basically you don't need this if your directory structure is same as default.
# It's also for DBFlute library project when you use ApplicationOutsideSql.
#
#; sql2EntityOutputDirectory = ../src/main/java
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o applicationOutsideSqlMap: (NotRequired - Default map:{})
# You can set additional users.
# Elements of this map are as below:
# o key of map: a relative path to the application project from DBFlute client
# o sqlDirectory: SQL directory as a relative path from the application directory
# (NotRequired - Default Java:'src/main/java' & 'src/main/resources' CSharp:'source')
# o sql2EntityOutputDirectory: source output directory from as a relative path from the application directory
# (NotRequired - Default Java:'src/main/java' CSharp:'source')
#
#; applicationOutsideSqlMap = map:{
# ; ../../app1 = map:{
# ; sqlDirectory = src/main/resources
# ; sql2EntityOutputDirectory = src/main/java
# }
# ; ../../app2 = map:{
# ; sqlDirectory = src/main/resources
# ; sql2EntityOutputDirectory = src/main/java
# }
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sqlPackage: (NotRequired - Default all packages)
# The package of SQL file for outsideSql.
# This is basically for narrowing SQL-searching target,
# for example, when the project has SQL files for other framework.
# So basically you don't need this.
#
# You can use variable '$$PACKAGE_BASE$$' that means 'packageBase'.
# But you need to make SQL files at 'exbhv' under the set package
# if you use BehaviorQueryPath (MemberBhv_selectSimpleMember.sql).
#
#; sqlPackage = $$PACKAGE_BASE$$
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,19 @@
# /---------------------------------------------------------------------------
# refreshDefinitionMap: (NotRequired - Default map:{})
#
# If you use ResourceSynchronizer and specify this property,
# You don't need to refresh(F5) your eclipse project.
#
# Specification:
# map:{
# ; projectName = [Eclipse Project1] / [Eclipse Project2] / ...
# ; requestUrl = [ResourceSynchronizer's URL]
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; projectName = dbflute-basic-example
#; requestUrl = http://localhost:8386/
}
# ----------------/

View file

@ -0,0 +1,234 @@
# /---------------------------------------------------------------------------
# replaceSchemaDefinitionMap: (NotRequired - Default map:{})
#
# The various settings about replace-schema.
#
# o repsEnvType: (NotRequired - Default inherits or 'ut')
# o isLoggingInsertSql: (NotRequired - Default true)
# o isLoggingReplaceSql: (NotRequired - Default true)
# o isErrorSqlContinue: (NotRequired - Default false)
# o sqlFileEncoding: (NotRequired - Default 'UTF-8')
# o skipSheet: (NotRequired - Default '')
# o isIncrementSequenceToDataMax: (NotRequired - Default false)
# o isSuppressBatchUpdate: (NotRequired - Default false)
# o objectTypeTargetList: (NotRequired - Default databaseInfoMap's)
# o filterVariablesMap: (NotRequired - Default map:{})
# o additionalUserMap: (NotRequired - Default map:{})
# o additionalDropMapList: (NotRequired - Default list:{})
# o playSqlDirectory: (NotRequired - Default 'playsql')
# o applicationPlaySqlDirectory: (NotRequired - Default '')
# o arrangeBeforeRepsMap: (NotRequired - Default map:{})
# o isSuppressTruncateTable: (NotRequired - Default false)
# o isSuppressDropForeignKey: (NotRequired - Default false)
# o isSuppressDropTable: (NotRequired - Default false)
# o isSuppressDropSequence: (NotRequired - Default false)
# o isSuppressDropProcedure: (NotRequired - Default false)
# o isSuppressDropDBLink: (NotRequired - Default false)
# o initializeFirstSqlList: (NotRequired - Default list:{})
#
# *The line that starts with '#' means comment-out.
#
map:{
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o repsEnvType: (NotRequired - Default inherits or 'ut')
# The environment type of ReplaceSchema.
# e.g. if ut, data files in './playsql/data/ut/...' are loaded
# If DBFlute environment type is specified, inherits it as default.
#
#; repsEnvType = ut
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isLoggingInsertSql: (NotRequired - Default true)
# Does it show insert values on log?
#
#; isLoggingInsertSql = true
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isLoggingReplaceSql: (NotRequired - Default true)
# Does it show replace-SQL on log?
#
#; isLoggingReplaceSql = true
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isErrorSqlContinue: (NotRequired - Default false)
# Does it continue the task when error SQL exists?
#
#; isErrorSqlContinue = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o sqlFileEncoding: (NotRequired - Default 'UTF-8')
# The encoding of SQL(DDL) file for Replace Schema.
# Basically you don't need this.
#
#; sqlFileEncoding = UTF-8
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o skipSheet: (NotRequired - Default '')
# You can specify the skip sheet by regular expression
#
#; skipSheet = P.+
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isIncrementSequenceToDataMax: (NotRequired - Default false)
# Does it increment sequence values to max value of table data?
# Referring the property 'sequenceDefinitionMap'.
#
#; isIncrementSequenceToDataMax = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressBatchUpdate: (NotRequired - Default false)
# Does it suppress batch update at loading data?
# When you have a data error, you may get details for the error
# by this property changing. Because it is possible that
# the BatchUpdateException information is very short for debug.
#
#; isSuppressBatchUpdate = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o objectTypeTargetList: (NotRequired - Default databaseInfoMap's)
# This property overrides databaseInfoMap's one for ReplaceSchema.
# e.g. Synonym of Oracle --> list:{TABLE ; VIEW ; SYNONYM}
#
#; objectTypeTargetList = list:{TABLE ; VIEW}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o filterVariablesMap: (NotRequired - Default map:{})
# You can specify the filter variables for DDL.
#
#; filterVariablesMap = map:{abc=AAA}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o additionalUserMap: (NotRequired - Default map:{})
# You can set additional users.
# Elements of this map are as below:
# o key of map: User Definition Name (userDefName)
# o url: (NotRequired - Default same as one of main schema)
# o schema: (NotRequired - Default treated as no schema setting)
# o user: (Required)
# o password: password plainly or path to password file (with default password)
# e.g. foo or df:dfprop/system-password.txt|foo
# (NotRequired - Default '')
# o isSkipIfNotFoundPasswordFileAndDefault: Does it skip the user SQL statement
# when using password file but not found it and also default password?
# (NotRequired - Default false)
#
#; additionalUserMap = map:{
# ; system = map:{
# #; url = ...
# #; schema = ...
# ; user = system
# ; password = df:dfprop/system-password.txt
# }
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o additionalDropMapList: (NotRequired - Default list:{})
# You can drop additional other schemas.
# Elements of this map are as below:
# o url: (NotRequired - Default same as main schema)
# o schema: (Required: if empty schema means valid schema, not required)
# o user: (NotRequired - Default same as main schema)
# o password: (NotRequired - Default same as main schema)
# o propertiesMap: (NotRequired - Default map:{})
# o objectTypeTargetList: (NotRequired - Default list{TABLE;VIEW})
#
#; additionalDropMapList = list:{
# ; map:{
# ; url = jdbc:oracle:thin:...
# ; schema = NEXTEXAMPLEDB
# ; user = NEXTEXAMPLEDB
# ; password = NEXTEXAMPLEDB
# ; propertiesMap = map:{}
# ; objectTypeTargetList = list:{TABLE;VIEW}
# }
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o playSqlDirectory: (NotRequired - Default 'playsql' relative to DBFlute client)
# This property is relative path to (main) PlaySql directory,
# You should not use this property easily.
#
#; playSqlDirectory = ../../foo-project/playsql
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o applicationPlaySqlDirectory: (NotRequired - Default '')
# This property is relative path to Application PlaySql directory,
# which is basically used with ApplicationBehavior.
#
#; applicationPlaySqlDirectory = ../../foo-project/dbflute_apbranch/playsql
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o arrangeBeforeRepsMap: (NotRequired - Default map:{})
# You can arrange resource files before ReplaceSchema.
#
#; arrangeBeforeRepsMap = map:{
# ; copy = map:{
# ; ../erd/*.ddl = ./playsql/replace-schema-10-basic.sql
# }
#}
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressTruncateTable: (NotRequired - Default false)
# You can suppress truncating tables at initializing schema.
#
#; isSuppressTruncateTable = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressDropForeignKey: (NotRequired - Default false)
# You can suppress dropping foreign keys at initializing schema.
#
#; isSuppressDropForeignKey = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressDropTable: (NotRequired - Default false)
# You can suppress dropping tables at initializing schema.
#
#; isSuppressDropTable = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressDropSequence: (NotRequired - Default false)
# You can suppress dropping sequences at initializing schema.
#
#; isSuppressDropSequence = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressDropProcedure: (NotRequired - Default false)
# You can suppress dropping procedures at initializing schema.
#
#; isSuppressDropProcedure = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o isSuppressDropDBLink: (NotRequired - Default false)
# You can suppress dropping DB links at initializing schema.
#
#; isSuppressDropDBLink = false
# - - - - - - - - - -/
# /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# o initializeFirstSqlList: (NotRequired - Default list:{})
# You can execute the SQL statements before initializing schema.
#
#; initializeFirstSqlList = list:{}
# - - - - - - - - - -/
}
# ----------------/

View file

@ -0,0 +1,25 @@
# /---------------------------------------------------------------------------
# sequenceDefinitionMap: (NotRequired - Default map:{})
#
# The relation mappings between sequence and table.
# If you don't specify the mappings, you cannot insert
# a record of the table by sequence.
# The table names are treated as case insensitive.
#
# Example:
# map:{
# ; PURCHASE = SEQ_PURCHASE
# ; MEMBER = SEQ_MEMBER
# ; MEMBER_LOGIN = SEQ_MEMBER_LOGIN
# ; PRODUCT = SEQ_PRODUCT
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
#; PURCHASE = SEQ_PURCHASE
#; MEMBER = SEQ_MEMBER
#; MEMBER_LOGIN = SEQ_MEMBER_LOGIN
#; PRODUCT = SEQ_PRODUCT
}
# ----------------/

View file

@ -0,0 +1,56 @@
# /---------------------------------------------------------------------------
# typeMappingMap: (NotRequired - Default map:{})
#
# If you want to change mappings from default mappings,
# you can specify your original mappings.
# But it is possible that unanticipated problems occurs, so be careful!
#
# About '$$AutoMapping$$':
# If the database is Oracle, they often use this.
# For example, if you use this for NUMERIC.
# o Numeric( 1 - 9 , 0) is mapping to INTEGER
# o Numeric(10 - 18 , 0) is mapping to BIGINT
# o Numeric(19 - 38 , 0) is mapping to NUMERIC
# o Numeric( 1 - 38 , 2) is mapping to NUMERIC
#
# Example:
# map:{
# ; INTEGER = java.lang.Integer
# ; BIGINT = java.lang.Long
# }
#
# *The line that starts with '#' means comment-out.
#
map:{
# AutoMapping for Numeric and Decimal
; NUMERIC = $$AutoMapping$$ ; DECIMAL = $$AutoMapping$$
}
# ----------------/
#
# Default mapping as follows:
# --------------------------------------------------------
# | JDBC Type | Java Native | CSharp Native |
# | ------------------------------------------------------
# | CHAR | java.lang.String | String |
# | VARCHAR | java.lang.String | String |
# | LONGVARCHAR | java.lang.String | String |
# | NUMERIC | java.math.BigDecimal | decimal? |
# | DECIMAL | java.math.BigDecimal | decimal? |
# | TINYINT | java.lang.Integer | int? |
# | SMALLINT | java.lang.Integer | int? |
# | INTEGER | java.lang.Integer | int? |
# | BIGINT | java.lang.Long | long? |
# | REAL | java.math.BigDecimal | decimal? |
# | FLOAT | java.math.BigDecimal | decimal? |
# | DOUBLE | java.math.BigDecimal | decimal? |
# | DATE | java.util.Date | DateTime? |
# | TIME | java.sql.Time | DateTime? |
# | TIMESTAMP | java.sql.Timestamp | DateTime? |
# | BIT | java.lang.Boolean | bool? |
# | BOOLEAN | java.lang.Boolean | bool? |
# | BINARY | byte[] | byte[] |
# | VARBINARY | byte[] | byte[] |
# | LONGVARBINARY | byte[] | byte[] |
# | ARRAY | *Unsupported | *Unsupported |
# | UUID | java.util.UUID | *Unsupported |
# --------------------------------------------------------

15
dbflute_mysql/doc.bat Normal file
View file

@ -0,0 +1,15 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
echo /nnnnnnnnnnnnnnnnnnnnnnnnnnn
echo ...Calling the Document task
echo nnnnnnnnnn/
call %DBFLUTE_HOME%\etc\cmd\_df-doc.cmd %MY_PROPERTIES_PATH%
if "%pause_at_end%"=="y" (
pause
)

14
dbflute_mysql/doc.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnn"
echo "...Calling the Document task"
echo "nnnnnnnnnn/"
sh $DBFLUTE_HOME/etc/cmd/_df-doc.sh $MY_PROPERTIES_PATH
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

View file

@ -0,0 +1,5 @@
Directory for library extension
If you use a database that DBFlute does not have its JDBC driver,
put your own JDBC driver for the database here.
(e.g. Oracle, DB2, SQLServer)

View file

@ -0,0 +1,15 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
echo /nnnnnnnnnnnnnnnnnnnnnnnnnnn
echo ...Calling the Generate task
echo nnnnnnnnnn/
call %DBFLUTE_HOME%\etc\cmd\_df-generate.cmd %MY_PROPERTIES_PATH%
if "%pause_at_end%"=="y" (
pause
)

14
dbflute_mysql/generate.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnn"
echo "...Calling the Generate task"
echo "nnnnnnnnnn/"
sh $DBFLUTE_HOME/etc/cmd/_df-generate.sh $MY_PROPERTIES_PATH
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

15
dbflute_mysql/jdbc.bat Normal file
View file

@ -0,0 +1,15 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
echo /nnnnnnnnnnnnnnnnnnnnnnn
echo ...Calling the JDBC task
echo nnnnnnnnnn/
call %DBFLUTE_HOME%\etc\cmd\_df-jdbc.cmd %MY_PROPERTIES_PATH%
if "%pause_at_end%"=="y" (
pause
)

14
dbflute_mysql/jdbc.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
echo "/nnnnnnnnnnnnnnnnnnnnnnn"
echo "...Calling the JDBC task"
echo "nnnnnnnnnn/"
sh $DBFLUTE_HOME/etc/cmd/_df-jdbc.sh $MY_PROPERTIES_PATH
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

View file

@ -0,0 +1,4 @@
Directory for log files of DBFlute tasks
If your execution of DBFlute task fails,
look the log file "dbflute.log" for debug.

17
dbflute_mysql/manage.bat Normal file
View file

@ -0,0 +1,17 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
set FIRST_ARG=%1
if "%FIRST_ARG%"=="" set FIRST_ARG=""
set SECOND_ARG=%2
if "%SECOND_ARG%"=="" set SECOND_ARG=""
call %DBFLUTE_HOME%\etc\cmd\_df-manage.cmd %MY_PROPERTIES_PATH% %FIRST_ARG% %SECOND_ARG%
if "%pause_at_end%"=="y" (
pause
)

14
dbflute_mysql/manage.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
FIRST_ARG=$1
SECOND_ARG=$2
sh $DBFLUTE_HOME/etc/cmd/_df-manage.sh $MY_PROPERTIES_PATH $FIRST_ARG $SECOND_ARG
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

View file

@ -0,0 +1,3 @@
Directory for auto-generated documents
e.g. SchemaHTML, HistoryHTML

View file

@ -0,0 +1,15 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
echo /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
echo ...Calling the OutsiteSqlTest task
echo nnnnnnnnnn/
call %DBFLUTE_HOME%\etc\cmd\_df-outside-sql-test.cmd %MY_PROPERTIES_PATH% %1
if "%pause_at_end%"=="y" (
pause
)

View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
echo "...Calling the OutsiteSqlTest task"
echo "nnnnnnnnnn/"
sh $DBFLUTE_HOME/etc/cmd/_df-outside-sql-test.sh $MY_PROPERTIES_PATH $1
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

View file

@ -0,0 +1,50 @@
Directory for ReplaceSchema task
replace-schema-*.sql:
DDL statements for creation of your schema.
You should write your own DDL statements in this file.
(A SQL separator is semicolon ";")
take-finally-*.sql:
SQL statements for check loaded data (or DDL after data loading)
You should write your own SQL statements in this file.
(basically same specifications as replace-schema.sql)
The "data" directory is for data loading like this:
/- - - - - - - - - - - - - - - - - - - -
playsql
|-data
|-common
| |-xls
| |-10-master.xls
| |-defaultValueMap.dataprop
|-ut
|-xls
|-20-member.xls
|-30-product.xls
|-defaultValueMap.dataprop
- - - - - - - - - -/
The format of a xls file is like this:
/- - - - - - - - - - - - - - - - - - - -
|MEMBER_ID|MEMBER_NAME|BIRTHDATE |
| 1|Stojkovic |1965/03/03|
| 2|Savicevic | |
| 3|... |... |
(Sheet)
MEMBER / MEMBER_LOGIN / MEMBER_SECURITY
- - - - - - - - - -/
The defaultValueMap.dataprop is for common columns like this:
/- - - - - - - - - - - - - - - - - - - -
map:{
; REGISTER_DATETIME = sysdate
; REGISTER_USER = foo
; REGISTER_PROCESS = bar
; UPDATE_DATETIME = sysdate
; UPDATE_USER = foo
; UPDATE_PROCESS = bar
; VERSION_NO = 0
}
- - - - - - - - - -/

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1,15 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
echo /nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
echo ...Calling the ReplaceSchema task
echo nnnnnnnnnn/
call %DBFLUTE_HOME%\etc\cmd\_df-replace-schema.cmd %MY_PROPERTIES_PATH%
if "%pause_at_end%"=="y" (
pause
)

View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
echo "...Calling the ReplaceSchema task"
echo "nnnnnnnnnn/"
sh $DBFLUTE_HOME/etc/cmd/_df-replace-schema.sh $MY_PROPERTIES_PATH
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

View file

@ -0,0 +1,4 @@
Directory for files of schema info
Files are auto-generated by DBFlute tasks.
Basically you don't need to touch this directory.

View file

@ -0,0 +1,15 @@
@echo off
setlocal
%~d0
cd %~p0
call _project.bat
echo /nnnnnnnnnnnnnnnnnnnnnnnnnnnnn
echo ...Calling the Sql2Entity task
echo nnnnnnnnnn/
call %DBFLUTE_HOME%\etc\cmd\_df-sql2entity.cmd %MY_PROPERTIES_PATH% %1
if "%pause_at_end%"=="y" (
pause
)

View file

@ -0,0 +1,14 @@
#!/bin/bash
cd `dirname $0`
. _project.sh
echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
echo "...Calling the Sql2Entity task"
echo "nnnnnnnnnn/"
sh $DBFLUTE_HOME/etc/cmd/_df-sql2entity.sh $MY_PROPERTIES_PATH $1
taskReturnCode=$?
if [ $taskReturnCode -ne 0 ];then
exit $taskReturnCode;
fi

View file

@ -0,0 +1,11 @@
@echo off
set ANT_OPTS=-Xmx512m
set DBFLUTE_HOME=..\mydbflute\dbflute-1.0.4H
set MY_PROJECT_NAME=fess
set MY_PROPERTIES_PATH=build.properties
if "%pause_at_end%"=="" set pause_at_end=y

Some files were not shown because too many files have changed in this diff Show more