Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insert 的时候 Special 无效 #596

Closed
hiscaler opened this issue Feb 8, 2014 · 2 comments
Closed

insert 的时候 Special 无效 #596

hiscaler opened this issue Feb 8, 2014 · 2 comments
Assignees
Milestone

Comments

@hiscaler
Copy link

hiscaler commented Feb 8, 2014

在 Oracle 中
Chain ch = Chain.makeSpecial("CREATEDATE", "to_date("" + lastJoinTime + "", "yyyy-M-d hh:mm:ss")");
ch.addSpecial("UPDATEDATE", "to_date("" + lastJoinTime + "", "yyyy-M-d hh:mm:ss")");

生成的 SQL 依旧使用单引号包含,SQL 生成有误。

wendal added a commit that referenced this issue Feb 9, 2014
Signed-off-by: wendal <wendal1985@gmail.com>
@wendal
Copy link
Member

wendal commented Feb 9, 2014

搞定

@wendal wendal closed this as completed Feb 9, 2014
@wendal wendal added Dao labels Feb 9, 2014
@wendal wendal added this to the 1.b.50 milestone Feb 9, 2014
@wendal wendal self-assigned this Feb 9, 2014
@hiscaler
Copy link
Author

嗯。现在 OK 了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants