-->
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: can reuse the mapping class for the other table same struct
PostPosted: Mon Apr 11, 2005 10:56 pm 
Regular
Regular

Joined: Sat Apr 10, 2004 8:39 pm
Posts: 84
can reuse the mapping class for the other table with same struct.

I have two tables they have same struct. one is as a backup.

I know that it can't use a same class mapping for more than one tables .

but if it can output as a same object, that 's fine.

I wantn't to use expression "select new ClassName(field1,field2....."

because the field is too many.

is there expression simple to implement that?

_________________
I am the creatxr of world.


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.