wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes hibernate best start sample Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate best start sample" Watch "hibernate best start sample" New topic
Author

hibernate best start sample

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, i'm new in hibernate, just wondering is there any expert here know the simplest sample code for hibernate that we can review, say for example, sample of get table's data (like select col1, col2 from mytable)

thank you very much for guiding
miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
in first place let me state i'm no pro at all;

hibernate query language (hql) is very similar to sql but queries objects instead

let's see an example:



anyway hibernate site and hibernate docs have valuable info and examples; you also might want to try Hibernate In Action book

hope this helps


java amateur
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: hibernate best start sample
 
Similar Threads
problem in hibernate code
Transparent Persistence
Hibernate example
Spring 3.0 And Hibernate annotations.
hibernate lucene integration sample projects