2 more little problems in DODS 5.1
"Thorsten Hilker" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Message-ID | <001901c313e0$28f4f4d0$6500a8c0@kronos> |
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: [email protected]
> [mailto:[email protected]] 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
> [email protected]
> http://www.enhydra.org/mailman/listinfo.cgi/en> hydra
>