CREATE TABLE big_strings (
	big_string_id int NOT NULL ,
	string LONG VARCHAR ,
	CONSTRAINT PK_big_strings PRIMARY KEY
	(
		big_string_id
	),
	CONSTRAINT FK_big_string_to_objects FOREIGN KEY
	(
		big_string_id
	) REFERENCES objects (
		id
	)
)
GO


INSERT INTO classes (type, db_name, table_name, java_class)
	VALUES(12,	'building2', 'big_strings', 'org.bodington.text.BigString')
GO

INSERT INTO fields (type, sequence, field, set_method_name, get_method_name, set_java_class, get_java_class, flags, foreign_type, set_method_name_foreign, get_method_name_foreign )
	VALUES(12, 1, 'big_string_id', 'setBigStringId', 'getBigStringId', 'org.bodington.database.PrimaryKey', 'org.bodington.database.PrimaryKey', 1, null, null, null )
GO

INSERT INTO fields (type, sequence, field, set_method_name, get_method_name, set_java_class, get_java_class, flags, foreign_type, set_method_name_foreign, get_method_name_foreign )
	VALUES(12, 2, 'string', 'setString', 'getString', 'java.lang.String', 'java.lang.String', 0, null, null, null )
GO


