Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

persistence problem: ordinal parameters are 1-based

Hi

Using 6.5.1 xapcommunity-edition, I'm trying to switch from this pu.xml (this config works fine):

<os-core:space id="space" url="/./mySpace" schema="mirror"
    external-data-source="hibernateDataSource">
</os-core:space>

to this one:

<os-core:space id="space" url="/./mySpace" schema="persistent"
    external-data-source="hibernateDataSource">
    <os-core:properties>
        <props>
            <prop key="cluster-config.cache-loader.external-data-source">true</prop>
            <prop key="cluster-config.cache-loader.central-data-source">true</prop>
        </props>
    </os-core:properties>
</os-core:space>

getting the following error:

SEVERE [com.gigaspaces.core.common]: internal error java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based! at org.hibernate.engine.query.ParameterMetadata.getOrdinalParameterDescriptor(ParameterMetadata.java:55) at org.hibernate.engine.query.ParameterMetadata.getOrdinalParameterExpectedType(ParameterMetadata.java:61) at org.hibernate.impl.AbstractQueryImpl.determineType(AbstractQueryImpl.java:397) at org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:369) at org.openspaces.persistency.hibernate.iterator.HibernateIteratorUtils.createQueryFromSQLQuery(HibernateIteratorUtils.java:47) at org.openspaces.persistency.hibernate.iterator.DefaultListQueryDataIterator.createIterator(DefaultListQueryDataIterator.java:95) at org.openspaces.persistency.hibernate.iterator.DefaultListQueryDataIterator.hasNext(DefaultListQueryDataIterator.java:62) at org.openspaces.persistency.hibernate.iterator.HibernateProxyRemoverIterator.hasNext(HibernateProxyRemoverIterator.java:54) at com.j_spaces.obf.cy.hasNext(SourceFile:53) at com.j_spaces.obf.av.ae(SourceFile:90)

Googleing around I've found this explination? [ http://forum.springframework.org/show... ]. Any patch available? Workaround?

Thanks

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2568]{quote}

asked 2008-09-05 06:54:01 -0500

ph's avatar

updated 2013-08-08 09:52:00 -0500

jaissefsfex's avatar
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

The community edition does not support clustering.
You should use the XAP edition.
Shay

answered 2008-09-05 07:01:19 -0500

shay hassidim's avatar
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2008-09-05 06:54:01 -0500

Seen: 216 times

Last updated: Sep 05 '08