[jboss-jira] [JBoss JIRA] Closed: (JBPM-1025) When running HBM2DDL on StringInstnace.hbm.xml on oracle DB, the length of the column length is 255 even that it defined 4000 in hbm
Tom Baeyens (JIRA)
jira-events at lists.jboss.org
Mon Sep 3 10:26:18 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPM-1025?page=all ]
Tom Baeyens closed JBPM-1025.
-----------------------------
Resolution: Deferred
you can still tweak the generated DDL before you load it into your database.
> When running HBM2DDL on StringInstnace.hbm.xml on oracle DB, the length of the column length is 255 even that it defined 4000 in hbm
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBPM-1025
> URL: http://jira.jboss.com/jira/browse/JBPM-1025
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Core Engine
> Affects Versions: jBPM jPDL 3.2
> Environment: Oracle on Unix Solaris
> Reporter: Lior Ban
> Assigned To: Tom Baeyens
>
> We create the Oracle JBPM DB tables by running Hbm2Ddl,
> In the StringInstance.hbm.xml file it is writen:
> <property name="value" type="string" length="4000">
> However still when creating the DB in the DB explorer we see that it is VARCHAR2(255) length 255
> Maybe it is veacuse setValue and getValue return object in VarilableInstance object from which StringInstance inherits?
> When we have string with length 269 it can't be put in the DB and we get exception.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list