• Post Reply Bookmark Topic Watch Topic
  • New Topic

Writing Queries in separate file

 
priya aggrawal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can we write our native sql queries in a separate file and access the same from mapping file. usually we use Named queries in mapping file where the query will be specified in the mapping file itself instead of writing it in the mapping file can we write in separate file and access the same from mapping file.


please help.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!