continuum.mdo is used for classes and package.jdo generation
If you modify only the field length, classes will be the same. I'm not sure our package.jdo
generator support column jdbc-type defintion.
Emmanuel
Mattias Andersson a écrit :
Hi Emmanuel,
Took a quick look at the package.jdo and
Hi,
Will it really help to change the length field in package.jdo? I don't
think so since I changed datatyp from a varchar to a CLOB. And when
starting continuum it complained that the datatype changed. Anyway I don't
have time to do more about this right now. I'll wait for 1.1
Regards,
Hi Emmanuel,
Took a quick look at the package.jdo and it only contains the length
property for the column not the actual datatyp. Isn't the SCMResult.class
(found in continuum-model.jar) generated from
http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo
Hi Emmanuel,
Is blob really appropriate for varchar type of information? You can't copy
varchar into a blob! Shouldn't it be a clob?
Below are the SQL statments that I executed. (unfortunatly you can't alter
the data type of the column directly). But when I started continumm it
complained that
oh yes, you need to change package.jdo in continuum-model.jar
I don't think you need to change something else.
Emmanuel
Mattias Andersson a écrit :
Hi Emmanuel,
Is blob really appropriate for varchar type of information? You can't copy
varchar into a blob! Shouldn't it be a clob?
Below are
ok, I'll try changing that when I find some spare time. And the create
table stmt should look like this and nothing else.
CREATE TABLE SCMRESULT2
(
SCMRESULT_ID BIGINT PRIMARY KEY not null,
COMMAND_LINE VARCHAR(255),
COMMAND_OUTPUT CLOB(16M),
EXCEPTION VARCHAR(8192),
It's a known problem thazt we'll fix in 1.1. The length of a field (COMMAND_OUTPUT) isn't enought in
database, you can change it to a blob with a sql client like squirrel.
Emmanuel
Mattias Andersson a écrit :
Hi,
I got some errors today in the continuum log fil that I do know how to
solve?
If you change it, can you send us the procedure? we'll add an entry in faqs.
Emmanuel
Mattias Andersson a écrit :
Hi Emmanuel,
ok, I'll try to change the column. Thanks for the quick response!
Regards,
Mattias
It's a known problem thazt we'll fix in 1.1. The length of a field