Hi Davor, Marcus,
finally working, thanks for both of you for taking patience to help a newbie
like me. two more questions:
1. should we _seesion.close() after using? I got an exception when doing
that.
2. to retrieve the rows, I did following:
Transaction tx = _session.getTransaction();
tx.begin();
List fruits = _session.createQuery("from fruit").list();
tx.commit();
but got error:
[ERROR] RequestExceptionHandler Processing of request failed with uncaught
exception: fruit is not mapped [from fruit]
org.hibernate.hql.ast.QuerySyntaxException: fruit is not mapped [from fruit]
any idea?
Davor Hrg wrote:
>
> that is: jta
>
>
> I
--
View this message in context:
http://www.nabble.com/T5%3A-Hibernate-tf4409684.html#a12589728
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]