logo       

Re: [enhydra] Problem alocating objectid: msg#00007

java.enhydra.general

Subject: Re: [enhydra] Problem alocating objectid

Hi,

You should check DatabaseManager.DB.xxx.ObjectId.NextWithPrefix parameter.
For PostgreSQL you don't need this parameter or just use default value -
false.

Also please check following parameters and their settings:

DatabaseManager.DB.xxxDB.ClassType = PostgreSQL
DatabaseManager.ObjectIdColumnName=ObjectId
DatabaseManager.VersionColumnName=ObjectVersion


I hope it helps.

Regards,
Sinisa

----- Original Message -----
From: "Rafael Torres" <rtorres@xxxxxxxxxxxx>
To: <enhydra@xxxxxxxxxxxxx>
Sent: Tuesday, July 12, 2005 5:00 PM
Subject: [enhydra] Problem alocating objectid


> 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.updateCac
he(Unknown Source)
> at
com.lutris.appserver.server.sql.standard.StandardObjectIdAllocator.allocate(
Unknown Source)
> at
com.lutris.appserver.server.sql.standard.StandardLogicalDatabase.allocateObj
ectId(Unknown Source)
> at
com.lutris.appserver.server.sql.StandardDatabaseManager.allocateObjectId(Unk
nown 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 enhydra@xxxxxxxxxxxxx
mailing list.
> To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>



--
You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing
list.
To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise