-->
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: HibernateProxy
PostPosted: Wed Oct 15, 2003 9:55 am 
Beginner
Beginner

Joined: Tue Oct 07, 2003 12:11 pm
Posts: 32
Location: US
If I pass an object of type HibernateProxy to the Session for saving. Will it be able to save the object to database.

Will HibernateProxy be helpful for me. If so please let me know, how I need to use it. Is there a demo project using this?

[color=blue]I am using proxy objects, dynamic proxy objects, maps in my project. Does hibernate provide any API to persist these in the DB tables

Say for example

The proxy object has two fields, userID and userName. I need to persist these two in the User table which has exactly 2 columns userID and userName.

Or instead I have a map that has these two values. Can I persist the map directly to the user table in database using Hibernate API.

I don


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.