makeNewField + dump() to SQL

Jochen Peters j.peters at valentina-db.de
Mon Aug 18 17:02:41 CDT 2003


Hi Rodrigo!

>> So - if you don't use "makeNewField" then no error occurs?
> Exactly.
Ok.

>> Does all variants of makeNewField causes the problem?
> Didn't tested others.
>
>> (Maybe it doesn't work with one special field type?)
> Any type caused the exception. I tried string and short types.
>
>> On which platform are you running?
> Windows NT 4.0 SP6, Java 1.1.02
Ahh - well - i have only tested VJDK with Java version greater 1.2...
maybe there is a problem with 1.1.
You have reasons to use 1.1 i guess?

> I did, instead of this, creating the table by SQL "CREATE TABLE"
> statement.
> Then it runs perfectly!
So bug seems to be in makenewfield...

>> > By the way, the VJDK documentation in PDF has some syntax errors.
>> i.g.:
>> > VJDK.init() -> VJDK.Init()
>> > VDataBase.create() -> VDataBase.CreateDataBase()
>> > VDataBase.getBaseObject() -> VDataBase.GetBaseObject()
>> Well - i will check that. I think the docs are correct - we wanted to
>> have
>> all names starting with lowercase as this is standard in Java...
> Nope, I think the PDFs are not in Java standard, but the library VJDK.JAR.
In Java all methods starts with lowercase! And we also want this for VJDK.

> Does the dump() method only exports to XML file?
> In Java documentation it says that an SQL could also be generated by it,
> but
> it didn't work (second parameter).
I will check that.


-- 
Jochen Peters
PIIT GmbH

------------------------
http://www.valentina-db.de


More information about the Valentina mailing list