-->
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: Property "type "in .hbm.xml ignored?
PostPosted: Tue Dec 01, 2009 10:35 am 
Newbie

Joined: Tue Dec 01, 2009 6:02 am
Posts: 2
In the jBPM hibernate mapping the following file describes the mapping of string variables to 'text' columns:

Code:
<hibernate-mapping auto-import="false" default-access="field">
  <subclass name="org.jbpm.context.exe.variableinstance.StringInstance"
            extends="org.jbpm.context.exe.VariableInstance"
            discriminator-value="S">
    <property name="value" type="text" column="STRINGVALUE_"/>
  </subclass>
</hibernate-mapping>

But in the database the column stringvalue_ is created as a varchar(255).
Looking into org.hibernate.cfg.HbmBinder (versions 3.2.6 and 3.3.0) I saw, that most occurences of 'type' are commented out or marked with TODOs.
So, is it impossible to create a string-column as sql-type 'text'?


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.