logo       

Problems migrating Enhydra 3.1 to 5.1: msg#00041

java.enhydra.general

Subject: Problems migrating Enhydra 3.1 to 5.1

Hi!

I tried to migrate my application from 3.1 to 5.1,
but I failed. I was facing to many problems.
Maybe you can help me.

1. DODS
- The appname.doml file seems to have a completely new syntax compared
with DODS 4.0. So I rewrote it.
When I use the attributes "isConstand" or "isUnique" the generator
gives an error message, that these attributes are not defined.
Why?
- In DODS 4.0 some classes were put from the package com.lutris.dods to
org.enhydra.dods. In Enhydra 5.1 the classes are put back to
com.lutris.dods?
- There are two jars for DODS: dods.jar and dods-runtime.jar
What is dods.jar good for? It seems that dods-runtime consists of the
same classes
plus some additionals.
- And the problem where I stuck completely is the following:
I use MySql as database. I tried to customize the types.conf file,
because
we are using the types "blob" and "text".
So I appended the type "Text" to Standard_JDBC.TYPE_NAMES[] and
inserted the following
section:
Standard_JDBC.Text.SQL_TYPE=TEXT
Standard_JDBC.Text.JDBC_TYPE=Clob
Standard_JDBC.Text.JAVA_TYPE=byte[]
Standard_JDBC.Text.JAVA_TYPE_CLONE="<JAVA_VAR>.clone()"

The column in my appname.doml file looks like this:
<column isPrimaryKey="false" id="text" usedForQuery="true"
>
<type canBeNull="true" dbType="TEXT" javaType="byte[]"/>
</column>

Now the generator throws an EjenException. What's wrong?

2. KELP with JBuilder 7
- Kelp 5 is not working with toolbox 5.1 from Enhydra 5.1.
So I changed the toolbox to version 5.0.
Will there be a Kelp for Enhydra 5.1?
- The Deployment Wizard freezes the whole Jbuilder when I
click on the "archive" or "run" - tab.
Does anybody else have this problem?
- (BTW: I've to add the path to the log4j.jar lib manually to
jbuilder.conf, because Kelp needs the logger)

3. ANT
- After compiling Enhydra 5.1 I found the following line in
enhydra5.1/bin/ant:
CLASSPATH=$CLASSPATH:$(setclass):$(setbuildclass)

What does setclass and setbuildclass mean?
I guessed, that I've to replace it with
"enhydra5.1/build/ant.jar" and "enhydra5.1/build/antcontrib.jar"
Is this correct?
Since I made the replacement my "configure" - scripts are running.

Many Questions here.
Maybe somebody can help.

Thanks in advance!
Thorsten


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise