-->
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: composite-element class string mapped as integer
PostPosted: Fri Mar 23, 2007 5:31 am 
Newbie

Joined: Fri Mar 23, 2007 4:47 am
Posts: 16
Hi All

In my mapping file I have a list with a key, index and composite-element

<list
name="allowedFileExtensions"
table="AllowedFileExtensions"
>

<key
column="UUID"
>

</key>

<index
column="extension"
>

</index>

<composite-element
class="string"
>
</composite-element>

</list>

When I create the database using ant and the org.hibernate.tool.ant.HibernateToolTask ant task, a column extension is made but it's of type integer. I want to create a list of String's. I have tried eveything. All kind of class types: String, string java.lang.string etc. I also tried different types for index but nothing works.

I tried the search but came up empty.

Has anybody got an idea?

Can anybody help me


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.