Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Object Relational Mapping
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Object Relational Mapping
Getting slow to load the data
mallikarjun dontamsetti
Ranch Hand
Posts: 246
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i have written a hibernate query to get the data from MySql like this
Calendar cal = Calendar.getInstance(); cal.add(Calendar.DAY_OF_YEAR, -1); Date maxModDate = cal.getTime(); Query q = session.createQuery("from CompSubscription sub where sub.companyInfo.companyId='"+comp_id+"' and sub.subscEndDate >:maxModDate "); q.setParameter("maxModDate",maxModDate); List<CompSubscription> listCompSubscription = q.list();
from that list i am displaying data in
jsp
through
servlet
. It is tacking 2 to 4 minutes to execute query and data is displayed in JSP.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to use jsp array in javascript?
Please help with pagination in JSP?
display all items from a list
a question on data submitting
code to retrieve result from databse which are selected in the list box
More...