-->
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: 31rc2- PersistentMap get()- Postgresql works- Derby fails!!!
PostPosted: Wed Oct 26, 2005 5:45 pm 
Newbie

Joined: Wed Sep 14, 2005 6:29 pm
Posts: 4
Location: USA
In version 3.1rc2, I'm loading a Map with:

<map name="properties" table="Configmap">
<key column="configsetoid"/>
<map-key column="propertyname" type="string" />
<element type="java.lang.String">
<column name="propertyvalue" />
</element>
</map>

and, in Postgresql, everything works, when I do:

Map props = currentConfigset.getProperties();
String test = (String)props.get(Context.CERT_AND_KEY);

But, in Derby- the String comes back as null.

In Derby,

Set maps = currentConfigset.getConfigmaps();

Does work... it is only the <map> collection that seems broken.

Also, the SQL generated from show_sql *does* work when I cut and paste it into a manual SQL command... but the DEBUG logging still says that the resultset is empty!!?!!

Maybe a bug?

-Tom


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 26, 2005 6:16 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Maybe a bug in Derby.


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.