Ahmed
Ahmed

Reputation: 25

temporary Table in hql

my query is like : with bigQuery as ( ) select * from bigQuery ;

how to write it with HQL ??

Upvotes: 1

Views: 1890

Answers (1)

Mike
Mike

Reputation: 1278

You can't. HQL can be used with mapped tables only; you can't use it to create tables on the fly. Use native SQL if you need to do this. further info HERE

Upvotes: 1

Related Questions