Re: [enhydra] Problem alocating objectid

Gilles Serasset <[email protected]> Tue, 12 Jul 2005 17:01:42 +0200
Newsgroups gmane.comp.java.enhydra.general
Message-ID <[email protected]>
Hi,

Just a guess: did you tell enhydra not to use "oid" as the name of  
the objectid column ? It is a reserved word in postgresal. I don't  
have time to get it, but I think you can finde the necessary setting  
in the archives of the mailing list.

Gilles,
On 12 juil. 05, at 17:00, Rafael Torres wrote:

> Hi,
>
> I have a problem when trying to alocate a new objectid.
> I'm using enhydra 6.4 and PostgreSQL 7.3.9-RH.
>
> The error I'm getting is:
>
> com.lutris.appserver.server.sql.ObjectIdAllocationError:  
> ObjectIdAllocator:  Failed to allocate object id.  Caused by  
> SQLException:
>    SQLState = null
>    SQLError = 0
>    SQLMsg   = ERROR:  parser: parse error at or near "." at  
> character 29
>
>     at  
> com.lutris.appserver.server.sql.standard.StandardObjectIdAllocator.upd 
> ateCache(Unknown Source)
>     at  
> com.lutris.appserver.server.sql.standard.StandardObjectIdAllocator.all 
> ocate(Unknown Source)
>     at  
> com.lutris.appserver.server.sql.standard.StandardLogicalDatabase.alloc 
> ateObjectId(Unknown Source)
>     at  
> com.lutris.appserver.server.sql.StandardDatabaseManager.allocateObject 
> Id(Unknown Source)
>     at com.lutris.dods.builder.generator.dataobject.GenericDO. 
> (Unknown Source)
>
> Does anyone know what is the reason for this error?
>
> Thanks
> Rafael Torres
>
>
>
>
> --
> You receive this message as a subscriber of the  
> [email protected] mailing list.
> To unsubscribe: mailto:[email protected]
> For general help: mailto:[email protected]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws
>

--
Gilles Sérasset
GETA-CLIPS-IMAG (UJF, INPG & CNRS)
BP 53 - F-38041 Grenoble Cedex 9
Phone: +33 4 76 51 43 80
Fax:   +33 4 76 44 66 75
smime.p7s (application/pkcs7-signature, 2.7 KB) - not displayed
message-footer.txt (text/plain, 275 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws