-->
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.  [ 3 posts ] 
Author Message
 Post subject: Mapping property zu column
PostPosted: Fri Feb 17, 2006 8:45 am 
Newbie

Joined: Fri Feb 17, 2006 8:21 am
Posts: 2
[b]Hibernate version:[/b]
3.1

Hallo,

ich möchte den Spaltennamen zu meiner Property herausbekommen. Erfolgreich bekomme ich schon den Tabellennamen:

PersistentClass pc = config.getClassMapping(pojoName);
String tablename = pc.getTable().getName();

Allerdings schaffe ich es auf Teufel komm raus nicht, das Spaltenmapping zu entschlüssen. Wäre für jede Hilfe sehr dankbar!

Gruss,
Julian


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 22, 2006 5:11 am 
Beginner
Beginner

Joined: Wed Aug 04, 2004 4:33 am
Posts: 45
Location: Switzerland
pc.getProperty(propertyName).getName(); möglicherweise


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 22, 2006 8:47 am 
Newbie

Joined: Fri Feb 17, 2006 8:21 am
Posts: 2
[quote="szehnder"]pc.getProperty(propertyName).getName(); möglicherweise[/quote]

Leider nein, hier kommt nur wieder propertyName raus.... und den kennt man ja schon.


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