-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: problem with Message class in Java Persistance with hibernat
PostPosted: Thu Dec 14, 2006 6:21 am 
Newbie

Joined: Fri Nov 17, 2006 7:24 pm
Posts: 16
Hi
Thank you for reading my post
It looks like that the ebook has some problem in chapter 2.
-in page 81 : we can not import something like this:

import persistence.*;

I think it should be

import javax.persistence.*;



-where i should find HibernateUtil ?
I can not find it in Hibernate 3.2-GA, can you give me some help about this?


thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 14, 2006 6:41 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
First, the only time the string you quote appears in the book, it is correct. Read the example again.

Second, the preface of the book has a section "How to get the code?", please read that.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 15, 2006 5:00 am 
Newbie

Joined: Fri Dec 15, 2006 4:36 am
Posts: 1
HibernateUtil is a self-defined class,you'll find in page 56


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.