1. Best way to fetch one readonly fields from joined table? stackoverflow.comMany times we need only one readonly field from a joined table. e.g, in following case I need only (customer)name from Customers table.For this I am creating entire Customer object, that ... |
2. "New to Hibernate" Question - How to fetch only a few fields coderanch.com |
3. weird HQL problem:select query doesn't retrieve the Id field forum.hibernate.orghi all, I'm using Hibernate 3.2 along with Spring 2.5 and MySql 5.In my DAOs I use Spring's HibernateTemplate.find() method with query string "from Messages where lang="+"'"+lang+"'" and I've noticed that in all Messages POJOs returned from the query the id field is set with its default value (zero,that is).But when I use the query "select id from Messages" the ids ... |
4. Newbie Q : howto fetch different db fields per situation ? forum.hibernate.orgNewbie Joined: Wed Sep 07, 2011 3:16 am Posts: 2 Hello, I'm new to Hibernate, having currently completed the basics tutorial and currently converting a classic JDBC project to Hibernate. There is something that I'm trying to do but unfortunately I can't make it work. I hope that anyone can point me to the right direction - here is my issue ... |
5. Problem fetching all fields from an entity object forum.hibernate.orgPage 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message dhirwinjr Post subject: Problem fetching all fields from an entity object Posted: Wed Apr 18, 2007 10:15 am Newbie Joined: Tue Oct 18, 2005 10:28 am Posts: 3 I'm having some trouble fetching all the fields ... |
6. programmatically set lazy fetch for a field in an object forum.hibernate.orgIs this possible? I have a log table with a text column, the content of the text often exceeds 200 characters. Many of my webpages list and filter on the logs without needing the text column. I know I can set the text field to "lazy" in my hbm.xml, but sometimes I do need to get the text field in the ... |
7. How to retrieve selected fields from data base forum.hibernate.org |