-->
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.  [ 2 posts ] 
Author Message
 Post subject: Interface Mapping
PostPosted: Thu Nov 25, 2004 11:50 am 
Newbie

Joined: Thu Nov 25, 2004 11:41 am
Posts: 9
my classes and interface are,

import java.lang.String;

public interface INames {
public String getName();
public setName(String name);
public String getSurname();
public setSurname(String surname);
public String getMiddlename();
public setMiddlename(String middlename);
}

this interface need for multiplying

public interface IMaincard {
public INames iNames;
public INames getBabynames();
public setBabynames(INames babyNames);
public void getBabynames();
}

this is my persisntece classs interface

public class Maincard implements IMaincard {
private INames babyname;
}


this is persistence class


i am totaly confused when i try generate hibernate mapping, i deleted other field my class for simply for this forum.

can u some one help me generate this hibernate mapping and usage Maincard class for get and set for babyname on this Interface.

thank a lots.


Top
 Profile  
 
 Post subject: is this hard
PostPosted: Fri Jan 28, 2005 4:44 am 
Newbie

Joined: Thu Nov 25, 2004 11:41 am
Posts: 9
is this hard or stupid question?

no answer..


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.