Re: Id Generator

"Michael Nash JGlobal.com" <[email protected]>
Newsgroups gmane.comp.java.keel.user
Organization JGlobal
Message-ID <20040310092619.78bc5da6@jglobal>
Wifredo:

I'm not sure why it's trying to use "name" for a type here. Mine shows a "varchar(16)" in this position. What version of the postgres JDBC driver are you using? A few days ago I checked an updated one into the DB, but my database was created OK with both the old one and the new one....

Mike

On Wed, 10 Mar 2004 11:20:37 +0800
"Wilfredo Sellado" <wsellado-Lo/[email protected]> wrote:

> When I create the Table for Id, this error appears. I
> thing the error is in the "name" type which is not
> applicable in Postgres.
> 
> org.keel.services.persist.PersistenceException: Unable to build/execute
> create s
> tatement 'CREATE TABLE ids (next_id int4 not null, table_name name(16) not
> null,
> PRIMARY KEY (table_name))' for table 'ids', ERROR:  syntax error at or near
> "("
> at character 57
> 
> 
> _______________________________________________
> User mailing list
> [email protected]
> http://lists.keelframework.org/listinfo.cgi/user-keelframework.org


-- 
Michael Nash

JGlobal Ltd 
Next-Generation Web Application Development and Open Source Support
http://www.jglobal.com

Bahamas Commerce and Trade
Offshore eCommerce Hosting and Business Services
http://www.bahamascommerce.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.