Skip to content

Commit

Permalink
ISPN-14278 fix erros in the SQL store examples
Browse files Browse the repository at this point in the history
  • Loading branch information
domiborges committed Nov 4, 2022
1 parent a34e7bc commit 6a4158b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ include::dependencies_maven/persistence_sql_store.xml[]
.Declarative
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
query-jdbc-store xmlns="urn:infinispan:config:store:jdbc:{schemaversion}"
query-jdbc-store xmlns="urn:infinispan:config:store:sql:{schemaversion}"
----
+
.Programmatic
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example
package com.example;

enum Sex {
FEMALE = 1;
Expand Down
2 changes: 1 addition & 1 deletion documentation/src/main/asciidoc/topics/sql/person.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CREATE TABLE Person (
name VARCHAR(255) NOT NULL,
picture VARBINARY(255),
picture BYTEA,
sex VARCHAR(255),
birthdate TIMESTAMP,
accepted_tos BOOLEAN,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<distributed-cache>
<persistence>
<query-jdbc-store xmlns="urn:infinispan:config:store:jdbc:{schemaversion}"
<connection-pool connection-url=""/>
<query-jdbc-store xmlns="urn:infinispan:config:store:sql:{schemaversion}"
dialect="POSTGRES"
shared="true">
<queries key-columns="name">
Expand Down

0 comments on commit 6a4158b

Please sign in to comment.