Make your own free website on Tripod.com

InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InstantDB: Row Size limit?


Hi!
Just tried to create the following table:

create table spice
(
    sciName VARCHAR(1024) DEFAULT "" NOT NULL   ,
    history VARCHAR(1024) DEFAULT "" NULL   ,
    healthBenefits VARCHAR(1024) DEFAULT "" NULL   ,
    botany VARCHAR(65535) DEFAULT "" NULL   ,
    culinaryUse VARCHAR(65535) DEFAULT "" NULL   ,
    name VARCHAR(1024) DEFAULT "" NOT NULL   ,
    availability VARCHAR(65535) DEFAULT "" NULL   ,
    aliases VARCHAR(1024) DEFAULT ""  NULL  ,
    oid DECIMAL(19,0) NOT NULL PRIMARY KEY,
    version INTEGER NOT NULL

);

using ScriptTool and InstantDB 3.14 and 3.20b1 on Win2K.
I get the following error:

java.sql.SQLException:
        at org.enhydra.instantdb.db.SQLProg.execute(SQLProg.java:276)
        at
org.enhydra.instantdb.jdbc.idbStatement.execute(idbStatement.java, Co
mpiled Code)
        at
org.enhydra.instantdb.jdbc.idbStatement.executeUpdate(idbStatement.ja
va:103)
        at org.enhydra.instantdb.SampleThread.run(ScriptTool.java, Compiled
Code
)
        at java.lang.Thread.run(Thread.java:479)

If I reduce the size of one of the 65535 bytes large varchar fields the
table get built.

Is there a limit to the maximum size of a table row? If so, is there a
config paramter to rise this limit?

Reagrds,
-markus

-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.