From: Ben S. <sch...@pr...> - 2005-02-08 15:50:30
|
Doh! You're right. Changing the specification of url to varchar(100) resolves the error. Is there something about SqlObject that requires a size specification? I'd hate to have to go into all my databases and define column sizes for every element in the table structures. Most all of my data is specified as straight varchar. thanx & later, Ben Scherrey Oleg Broytmann wrote: >On Tue, Feb 08, 2005 at 10:14:05AM -0500, Ben Scherrey wrote: > > >>CREATE TABLE entity >>( >> entity_id serial NOT NULL, >> url varchar, >> CONSTRAINT entity_pkey PRIMARY KEY (entity_id) >>) >> >> ><snip> > It seems the problem is not in entity_id, but in guessing type for >the "url" column... > >Oleg. > > |