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: Bug in InstantDB 3.26 (that wasn't there in 3.25)


I've run into a problem with 3.26.

I want to use InstantDB as the database for Jive (als extremely cool
open-source project). They provide a ScriptTool script to create all the
tables. This works flawlessly with v3.25. With 3.26 I get this error:


=====================
C:\Devel\java\tomcat\webapps\jive\WEB-INF\database>java
org.enhydra.instantdb.ScriptTool Jive_instant_db.sql
Enhydra InstantDB - Version 3.26
The Initial Developer of the Original Code is Lutris Technologies Inc.
Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologies,
Inc.
All Rights Reserved.

Connected to
jdbc:idb:c:\\devel\\java\\tomcat\\webapps\\jive\\WEB-INF\\database\\Jive_ins
tant_db.properties
Driver   InstantDB JDBC Driver
Version  Version 3.26

Jive_instant_db.sql CREATE TABLE jiveFilter ( filterObject   BINARY, forumID
INT  NOT NULL, filterIndex    INT  NOT NULL, PRIMARY KEY
(forumID,filterIndex) )
Jive_instant_db.sql CREATE INDEX filterIndexIdx ON jiveFilter ( filterIndex
ASC )
Jive_instant_db.sql CREATE TABLE jiveForum ( forumID        INT  NOT NULL,
name           VARCHAR(255), description    VARCHAR(2000), modifiedDate
VARCHAR(15), creationDate   VARCHAR(15), moderated      INT  NOT NULL,
PRIMARY KEY (forumID
) )
Jive_instant_db.sql CREATE TABLE jiveForumProp ( forumID     INT  NOT NULL,
name        VARCHAR(30) NOT NULL, propValue   VARCHAR(255) NOT NULL, PRIMARY
KEY (forumID,name) )
Jive_instant_db.sql CREATE TABLE jiveGroup ( groupID       INT  NOT NULL,
name          VARCHAR(50) NOT NULL, description   VARCHAR(255), PRIMARY KEY
(groupID) )
Jive_instant_db.sql CREATE TABLE jiveGroupPerm ( forumID       INT  NOT
NULL, groupID       INT  NOT NULL, permission    INT  NOT NULL, PRIMARY KEY
(forumID,groupID,permission) )
Jive_instant_db.sql CREATE INDEX groupGroupIdx ON jiveGroupPerm ( groupID
ASC )
Jive_instant_db.sql CREATE TABLE jiveGroupUser ( groupID          INT  NOT
NULL, userID           INT  NOT NULL, administrator    INT  NOT NULL,
PRIMARY KEY (groupID,userID) )
Jive_instant_db.sql CREATE INDEX groupIdx ON jiveGroupUser ( userID
    ASC )
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
        at java.lang.String.charAt(Unknown Source)
        at org.enhydra.instantdb.SampleThread.getSQL(ScriptTool.java:189)
        at org.enhydra.instantdb.SampleThread.run(ScriptTool.java:265)
        at java.lang.Thread.run(Unknown Source)


========================

Any ideas someone?

TIA

Marcel

-----------------------------------------------------------------------------
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.