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: Problem with Primary Key and Rollback


Hello there,

I have created a table using following sql file.........

d org.enhydra.instantdb.jdbc.idbDriver;
o jdbc:idb:database.prp;

e DROP TABLE TEMP;
e CREATE TABLE TEMP (
	id		int PRIMARY KEY,
	parentid	int,
	type		varchar2(100),
	xmlData		longvarbinary 
   );
e CREATE INDEX parentidindex ON AFITABLE ( parentid );
e CREATE INDEX typeindex ON AFITABLE ( type );
c close;

First thing it is allowing inserts with same id field (i.e. no primary key
check ).......

Second thing when i insert a record and call rollback before closing a
connection it still saves changes........

Please help......

Tariq

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
-----------------------------------------------------------------------------
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.