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

Support DSL [ Context ].hint(...). { select() | selectFrom() | insertInto() | ... } #2654

Open
lukaseder opened this issue Jul 29, 2013 · 0 comments

Comments

@lukaseder
Copy link
Member

lukaseder commented Jul 29, 2013

See an example application of such hints here:
http://stackoverflow.com/q/10421806/521799

Parallel processing for inserts.

The new suggested syntax will prepend the hint to the entire statement:

ctx.hint("/*+FIRST_ROWS*/")
   .select()
   .from(T)
   .fetch();

ctx.hint("/*+APPEND*/")
   .insertInto(T)
   .values(...)
   .execute();

This way, we can also support hints for selectFrom() statements, etc. (#5911), and the syntax is uniform.


See also:

@lukaseder lukaseder modified the milestones: Version 3.6.0, Version 3.5.0 Oct 7, 2014
@lukaseder lukaseder modified the milestones: Version 3.9.0, Version 3.8.0 Feb 5, 2016
@lukaseder lukaseder added P: High and removed P: Low labels Apr 26, 2017
@lukaseder lukaseder changed the title Add support for Oracle style hints in INSERT and other statements Support DSL [ Context ].hint(...). { select() | selectFrom() | insertInto() | ... } Apr 26, 2017
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

1 participant