-->
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: Criteria metadata
PostPosted: Fri Jun 23, 2006 4:49 am 
Beginner
Beginner

Joined: Fri Apr 09, 2004 12:47 pm
Posts: 36
Hi,
I'm writing a support library for the geotools projects so that hibernate mapped beans with geometric properties can be drawed onto geographical maps if needed.

Now, the details are a bit long, so I won't explain everything, but in short the user will give me DetachedCriteria objects for each map layer he want to depict, and I have to turn the query results into geotools Features, that are described by FeatureType. FeatureType is metadata, basically a collection of attribute names and types (with restrictions and the like).

Problem is, I would need the list of properties and property types returned by the criteria query, assuming I'm using a PROJECT result transformer, and I can't find a way.
Am I overlooking anything? How can I get an hold to the info I do require?


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.