logo       

2 more little problems in DODS 5.1: msg#00004

java.enhydra.general

Subject: 2 more little problems in DODS 5.1

Hi!

1. The generated SQLcreate.sql - file creates the following
table for the oid:

create table ObjectId
(
next DECIMAL (19,0) NOT NULL PRIMARY KEY
);

But the generated DOs and Querys are trying to access a table
with the name "objectid" instead of "ObjectId".

I don't know if this bug is MySQL - specific.

I changed the tablename manually.
After that the application worked.

2. If I access the database via the generated DOs,
everytime a message is printed out to the console.
The message looks like this:
"UserDO Read from Database"

I switched off the "Debug" and "Logging" options.
Nothing happens. The messages are still there.

I have the impression this console - output
slows down the performance.

Is it possible to switch it off?

Thanx!
Thorsten


> -----Original Message-----
> From: enhydra-admin@xxxxxxxxxxx
> [mailto:enhydra-admin@xxxxxxxxxxx] On Behalf Of Thorsten Hilker
> Sent: Monday, May 05, 2003 6:53 PM
> To: Enhydra; Dods
> Subject: Enhydra: 2 bugs in Dods 5.1
>
>
> Hi!
>
> I created a DOML-file for MySQL and found two bugs.
>
> 1. If I define a table in lower cases for example
> 'dbTableName="projekt"' the generator creates a .sql-file
> with a upper case table name (Projekt).
>
> 2. In some cases the last field defintion of a table ends
> with a ",". For example:
>
> create table System
> (
> /* class System*/
> oid DECIMAL (19,0) NOT NULL PRIMARY KEY ,
> version INTEGER NOT NULL ,
> updt BIT NOT NULL ,
> timestamp TIMESTAMP NOT NULL ,
> );
>
> This is not correct.
>
> Thanx!
> Thorsten
>
> _______________________________________________
> Enhydra mailing list
> Enhydra@xxxxxxxxxxx
> http://www.enhydra.org/mailman/listinfo.cgi/en> hydra
>


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

News | FAQ | advertise