Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ist-unix
CAS-server
Commits
30f6efa3
Commit
30f6efa3
authored
Sep 23, 2015
by
Misagh Moayyed
Browse files
Update JPA-Ticket-Registry.md
parent
0aa46788
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
cas-server-documentation/installation/JPA-Ticket-Registry.md
cas-server-documentation/installation/JPA-Ticket-Registry.md
+9
-10
No files found.
cas-server-documentation/installation/JPA-Ticket-Registry.md
View file @
30f6efa3
...
...
@@ -117,21 +117,20 @@ registries for higher availability.</p></div>
{% endhighlight %}
-
Configure other JPA dependencies:
##Cleaner Locking Strategy
The above shows a JPA 2.0 implementation of an exclusive, non-reentrant lock,
`JpaLockingStrategy`
, to be used with the JPA-backed ticket registry.
This will configure the cleaner with the following defaults:
*
tableName = "LOCKS"
*
uniqueIdColumnName = "UNIQUE_ID"
*
applicationIdColumnName = "APPLICATION_ID"
*
expirationDataColumnName = "EXPIRATION_DATE"
*
platform = SQL92
*
lockTimeout = 3600 (1 hour)
| Field | Default
|-----------------------------------+---------------------------------------+
|
`tableName`
|
`LOCKS`
|
`uniqueIdColumnName`
|
`UNIQUE_ID`
|
`applicationIdColumnName`
|
`APPLICATION_ID`
|
`expirationDataColumnName`
|
`EXPIRATION_DATE`
|
`platform`
| SQL92
|
`lockTimeout`
| 3600 (1 hour)
# Database Configuration
...
...
@@ -218,7 +217,7 @@ for information only and may serve as a reasonable starting point for configurin
<div
class=
"alert alert-info"
><strong>
Usage Tip
</strong><p>
Note the health check query is specific to PostgreSQL.
</p></div>
{% highlight
bash
%}
{% highlight
properties
%}
# == Basic database connection pool configuration ==
database.dialect=org.hibernate.dialect.PostgreSQLDialect
database.driverClass=org.postgresql.Driver
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment