[infinispan-issues] [JBoss JIRA] (ISPN-12141) Docs: Updates from downstream review

Gustavo Lira Silva (Jira) issues at jboss.org
Wed Jul 22 11:24:46 EDT 2020


    [ https://issues.redhat.com/browse/ISPN-12141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14277557#comment-14277557 ] 

Gustavo Lira Silva commented on ISPN-12141:
-------------------------------------------

[~dnaro27] the following code:
{code:java}
<distributed-cache-configuration name="persistent-cache" xmlns:jdbc="urn:infinispan:config:store:jdbc:{schemaversion}">
    <persistence>
        <string-keyed-jdbc-store>
            <data-source jndi-url="jdbc/datasource"/> (1)
            <string-keyed-table drop-on-exit="true"
                          create-on-start="true"
                          prefix="TBL">
                <id-column name="ID" type="VARCHAR(255)"/>
                <data-column name="DATA" type="BINARY"/>
                <timestamp-column name="TS" type="BIGINT"/>
                <segment-column name="S" type="INT"/>
            </string-keyed-table>
        </string-keyed-jdbc-store>
    </persistence>
</distributed-cache-configuration>
{code}
Should be:
{code:java}
<distributed-cache-configuration name="persistent-cache" xmlns:jdbc="urn:infinispan:config:store:jdbc:{schemaversion}">
    <persistence>
        <jdbc:string-keyed-jdbc-store>
            <jdbc:data-source jndi-url="jdbc/postgres"/>
            <jdbc:string-keyed-table drop-on-exit="true"
                          create-on-start="true"
                          prefix="TBL">
                <jdbc:id-column name="ID" type="VARCHAR(255)"/>
                <jdbc:data-column name="DATA" type="BYTEA"/>
                <jdbc:timestamp-column name="TS" type="BIGINT"/>
                <jdbc:segment-column name="S" type="INT"/>
            </jdbc:string-keyed-table>
        </jdbc:string-keyed-jdbc-store>
    </persistence>
</distributed-cache-configuration>
{code}


> Docs: Updates from downstream review
> ------------------------------------
>
>                 Key: ISPN-12141
>                 URL: https://issues.redhat.com/browse/ISPN-12141
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Documentation
>            Reporter: Donald Naro
>            Assignee: Donald Naro
>            Priority: Major
>
> Need to incorporate several pieces of review feedback from downstream.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list