-->
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.  [ 1 post ] 
Author Message
 Post subject: Some troubles implementing my model
PostPosted: Sat Sep 23, 2006 1:06 pm 
Regular
Regular

Joined: Sat May 20, 2006 3:49 am
Posts: 78
Hello,

I have some challanges which I have to solve. Perhaps someone can help me, I am not sure how to do it:

- Timestamp: I need a field in my tables with a created-timestamp and a modified-timestamp. It would be fine if this field is managed by hibernate.

- User-Created, User-Updated: I need to log the user which has modified or created a record with my application. I have a global Session class which holds the user, is it possible to implement a default value in my POJO?

- I would like to make criteria queries with my Hibernate 3.2 CR2 installation, is that possible or are critera queries a relict from Hibernate 3.1?

- I would like to have a generic DAO class, which can make inserts, updates, deletes with all my POJO's. Is that possible, are there any patterns available for DAO classes?

Regards,

Christoph


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

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.