I see , I will try!

Tks.

Best Regards

Johnson
----- Original Message ----- 
From: "Antonio Gallardo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 21, 2004 8:51 PM
Subject: Re: Can not get Connection from DataSource named
//192.168.10.1:5432/test


> Johnson dijo:
> > I'm trying to bind the ojb-jdo example to postgresql
> > when open the page,it show me Cannot get Connection from DataSource
named
> > //192.168.10.1:5432/test
> > below is my repository.xml
> >
> > <descriptor-repository version="1.0" isolation-level="read-uncommitted">
> >  <jdbc-connection-descriptor jcd-alias="test" default-connection="true"
> > platform="PostgreSQL" jdbc-level="3.0" driver="org.postgresql.Driver"
> > protocol="jdbc" subprotocol="postgresql"
> > dbalias="//192.168.10.1:5432/test" username="postgres" password=""
> > eager-release="false" batch-mode="false" useAutoCommit="1"
> > ignoreAutoCommitExceptions="false">
> >   <connection-pool maxActive="21" validationQuery=""/>
> >   <sequence-manager
> >
className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
> >    <attribute attribute-name="autoNaming" attribute-value="true"/>
> >    <attribute attribute-name="grabSize" attribute-value="20"/>
> >    <attribute attribute-name="globalSequenceId"
attribute-value="false"/>
> >    <attribute attribute-name="globalSequenceStart"
> > attribute-value="10000"/>
> >   </sequence-manager>
> >  </jdbc-connection-descriptor>
> >  <class-descriptor class="com.goodwill.bean.Registration"
> > table="REGISTRATION">
> >   <field-descriptor name="id" primarykey="true" default-fetch="true"
> > autoincrement="true" sequence-name="user_seq'::text" column="ID"
>                                      ^^^^^^^^^^^^^^^^^
>                                      A valid name for a sequence?
>
> Can you change it? I don't like it and maybe this is the source of the
> problem
>
> Best Regards,
>
> Antonio Gallardo.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to