从单个Spring Batch ItemReader插入和更新(Insert & Update from single Spring Batch ItemReader)
我的过程将数据转换为SCD2模式 。 因此,源数据中的任何更新最终都会更新
dimension
表中的end_date
和active_ind
并插入新记录。我在
ItemReader
实现中配置了SQL,该实现标识了源数据中已更改的记录。我需要有关如何将数据路由到2个编写器的帮助/建议,1个用于更新和插入?
My process transforms the data into SCD2 pattern. Thus, any update in the source data culminates into updating the
end_date
&active_ind
in thedimension
table and inserting a new record.I have configured the SQL in an
ItemReader
implementation which identifies the records which got changed in the source data.I need help/suggestion on how to route the data to 2 writers, 1 each for update & insert?
原文:https://stackoverflow.com/questions/43838257
最满意答案
根据插件文档 ,可以在plugins配置文件中更改fontsize:
~/.config/geany/plugins/multiterm/multiterm.conf
您还可以调整背景和字体颜色。
来自档案的样本:
[shell=default] # This will be the tabs default tab label and won't change unless # track_title is set to true. name=Default Shell # This is the command to fork in the VTE, leave blank for default shell command=sh # Make the tab's label track the VTE title track_title=true # Background color, foreground color and font for the VTE bg_color=#ffffff fg_color=#000000 font=Monospace 44
According to plugin documentation the fontsize can be changed in plugins config file:
~/.config/geany/plugins/multiterm/multiterm.conf
You can tweak also background and font color.
sample from file:
[shell=default] # This will be the tabs default tab label and won't change unless # track_title is set to true. name=Default Shell # This is the command to fork in the VTE, leave blank for default shell command=sh # Make the tab's label track the VTE title track_title=true # Background color, foreground color and font for the VTE bg_color=#ffffff fg_color=#000000 font=Monospace 44
相关问答
更多-
不,但请继续阅读! 这是很旧的功能请求 由erg在星期二,12/27/2011 - 16:05提交。 原则上,Gvedit可以支持任何字体,但目前没有用户可以设置的机制。 暗示有没有办法,但即便如此,我发现了一种有用的解决方法,我每天必须使用GraphViz编辑器进行交互。 如果我在一个较大的字体中仅粘贴一些来自Microsoft Word的文本(例如),GraphViz中的控件就可以实现这一点。 然后我可以继续输入该字体。 例: 我推测这是可行的,因为GraphViz中的“文本控件”支持RTF格式。 无论 ...
-
我不认为Geany能够做到这一点。 但是PyCharm是Python的一个更好的IDE,它知道你的代码的所有内容,并且具有智能代码完成,动态错误检查和快速修复,简单的项目导航等等。 还有一个免费版本可供下载 ,其中包含一个普通程序员可能需要的更多功能。 From what I have been able to find, this is beyond what Geany can do. I asked how to get Geany to do this and I am not looking fo ...
-
这是我们想出来的,这也是在这个答案中找到的,也是这个答案 (我会引用): 转到首选项 → 常规 → 外观 → 颜色和字体 ,展开“基本”文件夹,然后选择“文本字体”,并将其更改为任何您喜欢的尺寸。 很简单 This is what we figured out, and this is also found in this answer and also this answer (I'll quote): Go to Preferences → General → Appearance → Colors a ...
-
对于Xcode 4.1 还是一个巨大的痛苦。 糟糕的UI设计(但我的心态看起来并不符合软件工程师的心态,使100多个字符变量和方法名称,足够抱怨) 我将修改当前版本的上一篇文章。 关闭您在Xcode中打开的任何项目(否则,当项目打开时,Font窗口将无法访问。) 转到XCode>首选项>字体和颜色 从“主题”框中选择要修改的主题(或选择要修改的主题,然后单击主题列表底部的“+”按钮,首先将其克隆为备份,因为没有撤消选项) 在源代码编辑器框中,您可以设置字体类型的列表:纯文本注释文档注释。 。 。 从源编辑器 ...
-
Geany4Windows文本编辑(Geany4Windows text editing)[2023-05-31]
您可以创建一个名为filetypes.Text.conf并在其中放置: [settings] extension=txt 然后将其添加到filetype_extensions.conf [Extensions]部分,如: ... Text=*.txt;*.text; etc... ... 该手册包含有关自定义文件类型的更多详细信息。 You could create a file named like filetypes.Text.conf and inside of it put: [settings ... -
如何禁用geany中当前行的自动突出显示?(How to disable automatic highlighting of the current line in geany?)[2021-05-09]
转至Tools >> Configuration Files >> filetypes.common 找到这个词current_line ,然后将第三个参数的那一行改为false : current_line=0x000000;0xf0f0f0;false; Go to Tools >> Configuration Files >> filetypes.common Find this word current_line, then change that line on the third parame ... -
您可以通过调整添加更多 number_ft_menu_items=0 number_non_ft_menu_items=0 number_exec_menu_items=0 对于number_non_ft_menu_items,默认值为0 =默认设置= 4。 您可以通过配置文件设置这些(不要使用Geany打开它,因为它将在关闭期间被覆盖)或编辑 - >首选项 - >各种。 请查看手册了解详情。 You can add more by adjusting number_ft_menu_items=0 num ...
-
您缺少调试器编译所需的libvte。 来自汽车* AC_DEFUN([GP_CHECK_DEBUGGER], [ GP_ARG_DISABLE([Debugger], [auto]) GP_CHECK_PLUGIN_GTK2_ONLY([Debugger]) GP_CHECK_PLUGIN_DEPS([debugger], [VTE], [vte >= 0.24]) AC_CHECK_HEADERS([util.h pty.h ...
-
根据插件文档 ,可以在plugins配置文件中更改fontsize: ~/.config/geany/plugins/multiterm/multiterm.conf 您还可以调整背景和字体颜色。 来自档案的样本: [shell=default] # This will be the tabs default tab label and won't change unless # track_title is set to true. name=Default Shell # This is the c ...
-
Geany:如何找到并统计?(Geany: How to find and count?)[2023-08-02]
您可以检查消息输出。 搜索后,只需选中“消息”选项卡。 You can check message output. After searching just check "Messages" tab.