deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r921954 [2/5] - in /websites/staging/deltaspike/trunk/content: ./ documentation/
Date Fri, 12 Sep 2014 12:20:07 GMT
Modified: websites/staging/deltaspike/trunk/content/documentation/data.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/data.html (original)
+++ websites/staging/deltaspike/trunk/content/documentation/data.html Fri Sep 12 12:20:07 2014
@@ -17,92 +17,95 @@
 <link href="http://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
 
 <style type="text/css">
-/* Foundation stylesheet for CodeRay (to match GitHub theme) | MIT License | http://foundation.zurb.com */
-table.CodeRay { border-collapse: collapse; padding: 2px; margin-bottom: 0; border: 0; background: transparent; }
-table.CodeRay td { padding: 0 .5em; vertical-align: top; }
-table.CodeRay td.line-numbers { text-align: right; color: #999; border-right: 1px solid #e5e5e5; padding-left: 0; }
-span.line-numbers { border-right: 1px solid #E5E5E5; color: #999; display: inline-block; margin-right: 0.5em; padding-right: 0.5em; }
-.CodeRay td.line-numbers strong, .CodeRay span.line-numbers strong { font-weight: normal; }
-.CodeRay .debug { color: white !important; background: blue !important; }
-.CodeRay .annotation { color: #007; }
-.CodeRay .attribute-name { color: #f08; }
-.CodeRay .attribute-value { color: #700; }
-.CodeRay .binary { color: #509; }
-.CodeRay .comment  { color: #999; font-style: italic; }
-.CodeRay .char { color: #04D; }
-.CodeRay .char .content { color: #04D; }
-.CodeRay .char .delimiter { color: #039; }
-.CodeRay .class { color: #458; }
-.CodeRay .complex { color: #A08; }
-.CodeRay .constant { color: teal; }
-.CodeRay .color { color: #0A0; }
-.CodeRay .class-variable { color: #369; }
-.CodeRay .decorator { color: #B0B; }
-.CodeRay .definition { color: #099; }
-.CodeRay .directive { color: #088; }
-.CodeRay .delimiter { color: black; }
-.CodeRay .doc { color: #970; }
-.CodeRay .doctype { color: #34b; }
-.CodeRay .doc-string { color: #D42; }
-.CodeRay .escape  { color: #666; }
-.CodeRay .entity { color: #800; }
-.CodeRay .error { color: #808; }
-.CodeRay .exception { color: #C00; }
-.CodeRay .filename { color: #099; }
-.CodeRay .function { color: #900; }
-.CodeRay .global-variable { color: teal; }
-.CodeRay .hex { color: #058; }
-.CodeRay .integer  { color: #099; }
-.CodeRay .include { color: #B44; }
-.CodeRay .inline { color: black; }
-.CodeRay .inline .inline { background: #ccc; }
-.CodeRay .inline .inline .inline { background: #bbb; }
-.CodeRay .inline .inline-delimiter { color: #D14; }
-.CodeRay .inline-delimiter { color: #D14; }
-.CodeRay .important { color: #f00; }
-.CodeRay .interpreted { color: #B2B; }
-.CodeRay .instance-variable { color: teal; }
-.CodeRay .label { color: #970; }
-.CodeRay .local-variable { color: #963; }
-.CodeRay .octal { color: #40E; }
-.CodeRay .predefined { color: #369; }
-.CodeRay .preprocessor { color: #579; }
-.CodeRay .pseudo-class { color: #00C; }
-.CodeRay .predefined-type { color: #074; }
-.CodeRay .reserved, .keyword  { color: #000; }
-.CodeRay .key { color: #808; }
-.CodeRay .key .delimiter { color: #606; }
-.CodeRay .key .char { color: #80f; }
-.CodeRay .value { color: #088; }
-.CodeRay .regexp { background-color: #fff0ff; }
-.CodeRay .regexp .content { color: #808; }
-.CodeRay .regexp .delimiter { color: #404; }
-.CodeRay .regexp .modifier { color: #C2C; }
-.CodeRay .regexp .function  { color: #404; font-weight: bold; }
-.CodeRay .string { color: #D20; }
-.CodeRay .string .string { }
-.CodeRay .string .string .string { background-color: #ffd0d0; }
-.CodeRay .string .content { color: #D14; }
-.CodeRay .string .char { color: #D14; }
-.CodeRay .string .delimiter { color: #D14; }
-.CodeRay .shell { color: #D14; }
-.CodeRay .shell .content { }
-.CodeRay .shell .delimiter { color: #D14; }
-.CodeRay .symbol { color: #990073; }
-.CodeRay .symbol .content { color: #A60; }
-.CodeRay .symbol .delimiter { color: #630; }
-.CodeRay .tag, .CodeRay .attribute-name { color: #070; }
-.CodeRay .tag-special { color: #D70; }
-.CodeRay .type { color: #339; }
-.CodeRay .variable  { color: #036; }
-.CodeRay .insert { background: #afa; }
-.CodeRay .delete { background: #faa; }
-.CodeRay .change { color: #aaf; background: #007; }
-.CodeRay .head { color: #f8f; background: #505; }
-.CodeRay .insert .insert { color: #080; }
-.CodeRay .delete .delete { color: #800; }
-.CodeRay .change .change { color: #66f; }
-.CodeRay .head .head { color: #f4f; }
+/* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
+/*pre.CodeRay {background-color:#f7f7f8;}*/
+.CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
+.CodeRay span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
+.CodeRay .line-numbers strong{font-weight: normal}
+table.CodeRay{border-collapse:separate;border-spacing:0;margin-bottom:0;border:0;background:none}
+table.CodeRay td{vertical-align: top}
+table.CodeRay td.line-numbers{text-align:right}
+table.CodeRay td.line-numbers>pre{padding:0;color:rgba(0,0,0,.3)}
+table.CodeRay td.code{padding:0 0 0 .5em}
+table.CodeRay td.code>pre{padding:0}
+.CodeRay .debug{color:#fff !important;background:#000080 !important}
+.CodeRay .annotation{color:#007}
+.CodeRay .attribute-name{color:#000080}
+.CodeRay .attribute-value{color:#700}
+.CodeRay .binary{color:#509}
+.CodeRay .comment{color:#998;font-style:italic}
+.CodeRay .char{color:#04d}
+.CodeRay .char .content{color:#04d}
+.CodeRay .char .delimiter{color:#039}
+.CodeRay .class{color:#458;font-weight:bold}
+.CodeRay .complex{color:#a08}
+.CodeRay .constant,.CodeRay .predefined-constant{color:#008080}
+.CodeRay .color{color:#099}
+.CodeRay .class-variable{color:#369}
+.CodeRay .decorator{color:#b0b}
+.CodeRay .definition{color:#099}
+.CodeRay .delimiter{color:#000}
+.CodeRay .doc{color:#970}
+.CodeRay .doctype{color:#34b}
+.CodeRay .doc-string{color:#d42}
+.CodeRay .escape{color:#666}
+.CodeRay .entity{color:#800}
+.CodeRay .error{color:#808}
+.CodeRay .exception{color:inherit}
+.CodeRay .filename{color:#099}
+.CodeRay .function{color:#900;font-weight:bold}
+.CodeRay .global-variable{color:#008080}
+.CodeRay .hex{color:#058}
+.CodeRay .integer,.CodeRay .float{color:#099}
+.CodeRay .include{color:#555}
+.CodeRay .inline{color:#00}
+.CodeRay .inline .inline{background:#ccc}
+.CodeRay .inline .inline .inline{background:#bbb}
+.CodeRay .inline .inline-delimiter{color:#d14}
+.CodeRay .inline-delimiter{color:#d14}
+.CodeRay .important{color:#555;font-weight:bold}
+.CodeRay .interpreted{color:#b2b}
+.CodeRay .instance-variable{color:#008080}
+.CodeRay .label{color:#970}
+.CodeRay .local-variable{color:#963}
+.CodeRay .octal{color:#40e}
+.CodeRay .predefined{color:#369}
+.CodeRay .preprocessor{color:#579}
+.CodeRay .pseudo-class{color:#555}
+.CodeRay .directive{font-weight:bold}
+.CodeRay .type{font-weight:bold}
+.CodeRay .predefined-type{color:inherit}
+.CodeRay .reserved,.CodeRay .keyword {color:#000;font-weight:bold}
+.CodeRay .key{color:#808}
+.CodeRay .key .delimiter{color:#606}
+.CodeRay .key .char{color:#80f}
+.CodeRay .value{color:#088}
+.CodeRay .regexp .delimiter{color:#808}
+.CodeRay .regexp .content{color:#808}
+.CodeRay .regexp .modifier{color:#808}
+.CodeRay .regexp .char{color:#d14}
+.CodeRay .regexp .function{color:#404;font-weight:bold}
+.CodeRay .string{color:#d20}
+.CodeRay .string .string .string{background:#ffd0d0}
+.CodeRay .string .content{color:#d14}
+.CodeRay .string .char{color:#d14}
+.CodeRay .string .delimiter{color:#d14}
+.CodeRay .shell{color:#d14}
+.CodeRay .shell .delimiter{color:#d14}
+.CodeRay .symbol{color:#990073}
+.CodeRay .symbol .content{color:#a60}
+.CodeRay .symbol .delimiter{color:#630}
+.CodeRay .tag{color:#008080}
+.CodeRay .tag-special{color:#d70}
+.CodeRay .variable{color:#036}
+.CodeRay .insert{background:#afa}
+.CodeRay .delete{background:#faa}
+.CodeRay .change{color:#aaf;background:#007}
+.CodeRay .head{color:#f8f;background:#505}
+.CodeRay .insert .insert{color:#080}
+.CodeRay .delete .delete{color:#800}
+.CodeRay .change .change{color:#66f}
+.CodeRay .head .head{color:#f4f}
 body {
 	padding-top: 60px;
 	padding-bottom: 40px;
@@ -166,22 +169,19 @@ body {
 			    <h1>Data Module</h1>
                 </div>
 
-				<div id="toc" class="toc2">
+				<div id="toc" class="toc">
        	 		<ul class="sectlevel1">
 <li><a href="#_introduction">Introduction</a></li>
-<li><a href="#_installation">Installation</a></li>
-<li>
+<li><a href="#_installation">Installation</a>
 <ul class="sectlevel2">
 <li><a href="#_prerequisites">Prerequisites</a></li>
 <li><a href="#_maven_dependency_configuration">Maven Dependency Configuration</a></li>
 <li><a href="#_setup_your_application">Setup your application</a></li>
 </ul>
 </li>
-<li><a href="#_core_concepts">Core Concepts</a></li>
-<li>
+<li><a href="#_core_concepts">Core Concepts</a>
 <ul class="sectlevel2">
-<li><a href="#_repositories">Repositories</a></li>
-<li>
+<li><a href="#_repositories">Repositories</a>
 <ul class="sectlevel3">
 <li><a href="#_the_code_entityrepository_code_interface">The <code>EntityRepository</code> interface</a></li>
 <li><a href="#_the_code_abstractentityrepository_code_class">The <code>AbstractEntityRepository</code> class</a></li>
@@ -191,8 +191,7 @@ body {
 <li><a href="#_other_code_entitymanager_code_methods">Other <code>EntityManager</code> methods</a></li>
 </ul>
 </li>
-<li><a href="#_query_method_expressions">Query Method Expressions</a></li>
-<li>
+<li><a href="#_query_method_expressions">Query Method Expressions</a>
 <ul class="sectlevel2">
 <li><a href="#_using_method_expressions">Using method expressions</a></li>
 <li><a href="#_query_ordering">Query Ordering</a></li>
@@ -201,8 +200,7 @@ body {
 <li><a href="#_method_prefix">Method Prefix</a></li>
 </ul>
 </li>
-<li><a href="#_query_annotations">Query Annotations</a></li>
-<li>
+<li><a href="#_query_annotations">Query Annotations</a>
 <ul class="sectlevel2">
 <li><a href="#_using_query_annotations">Using Query Annotations</a></li>
 <li><a href="#_annotation_options">Annotation Options</a></li>
@@ -215,21 +213,18 @@ body {
 </ul>
 </li>
 <li><a href="#_transactions">Transactions</a></li>
-<li><a href="#_extensions">Extensions</a></li>
-<li>
+<li><a href="#_extensions">Extensions</a>
 <ul class="sectlevel2">
 <li><a href="#_query_delegates">Query Delegates</a></li>
 <li><a href="#_implementing_the_query_delegate">Implementing the Query Delegate</a></li>
 </ul>
 </li>
-<li><a href="#_mapping">Mapping</a></li>
-<li>
+<li><a href="#_mapping">Mapping</a>
 <ul class="sectlevel2">
 <li><a href="#_simple_mappings">Simple Mappings</a></li>
 </ul>
 </li>
-<li><a href="#_jpa_criteria_api_support">JPA Criteria API Support</a></li>
-<li>
+<li><a href="#_jpa_criteria_api_support">JPA Criteria API Support</a>
 <ul class="sectlevel2">
 <li><a href="#_api_usage">API Usage</a></li>
 <li><a href="#_joins">Joins</a></li>
@@ -237,12 +232,10 @@ body {
 <li><a href="#_selections">Selections</a></li>
 </ul>
 </li>
-<li><a href="#_auditing">Auditing</a></li>
-<li>
+<li><a href="#_auditing">Auditing</a>
 <ul class="sectlevel2">
 <li><a href="#_activating_auditing">Activating Auditing</a></li>
-<li><a href="#_using_auditing_annotations">Using Auditing Annotations</a></li>
-<li>
+<li><a href="#_using_auditing_annotations">Using Auditing Annotations</a>
 <ul class="sectlevel3">
 <li><a href="#_updating_timestamps">Updating Timestamps</a></li>
 <li><a href="#_who_s_changing_my_entities">Who&#8217;s Changing My Entities?</a></li>
@@ -278,7 +271,7 @@ scenarios of the data module:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
@@ -359,7 +352,7 @@ module:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="xml language-xml"><span class="tag">&lt;dependency&gt;</span>
+<pre class="CodeRay highlight"><code data-lang="xml"><span class="tag">&lt;dependency&gt;</span>
     <span class="tag">&lt;groupId&gt;</span>org.apache.deltaspike.modules<span class="tag">&lt;/groupId&gt;</span>
     <span class="tag">&lt;artifactId&gt;</span>deltaspike-data-module-api<span class="tag">&lt;/artifactId&gt;</span>
     <span class="tag">&lt;version&gt;</span>${deltaspike.version}<span class="tag">&lt;/version&gt;</span>
@@ -400,7 +393,7 @@ which is common practice in Java EE 6 ap
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="directive">public</span> <span class="type">class</span> <span class="class">EntityManagerProducer</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="type">class</span> <span class="class">EntityManagerProducer</span>
 {
 
     <span class="annotation">@PersistenceUnit</span>
@@ -435,7 +428,7 @@ configure the <code>TransactionStrategy<
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="xml language-xml"><span class="tag">&lt;beans&gt;</span>
+<pre class="CodeRay highlight"><code data-lang="xml"><span class="tag">&lt;beans&gt;</span>
     <span class="tag">&lt;alternatives&gt;</span>
         <span class="tag">&lt;class&gt;</span>org.apache.deltaspike.jpa.impl.transaction.BeanManagedUserTransactionStrategy<span class="tag">&lt;/class&gt;</span>
     <span class="tag">&lt;/alternatives&gt;</span>
@@ -462,7 +455,7 @@ simple annotation:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>(forEntity = Person.class)
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>(forEntity = Person.class)
 <span class="directive">public</span> <span class="directive">abstract</span> <span class="type">class</span> <span class="class">PersonRepository</span> {
     ...
 }
@@ -498,7 +491,7 @@ important methods of the interface:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="directive">public</span> <span class="type">interface</span> <span class="class">EntityRepository</span>&lt;E, PK <span class="directive">extends</span> <span class="predefined-type">Serializable</span>&gt;
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="type">interface</span> <span class="class">EntityRepository</span>&lt;E, PK <span class="directive">extends</span> <span class="predefined-type">Serializable</span>&gt;
 {
 
     E save(E entity);
@@ -532,7 +525,7 @@ Person repository, this might look like 
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
@@ -565,7 +558,7 @@ be implemented in the repository.</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="directive">public</span> <span class="directive">abstract</span> <span class="type">class</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> AbstractEntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="directive">abstract</span> <span class="type">class</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> AbstractEntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
     <span class="directive">public</span> Person findBySSN(<span class="predefined-type">String</span> ssn)
@@ -589,7 +582,7 @@ used. This can be configured with the <c
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>
 <span class="annotation">@EntityManagerConfig</span>(entityManagerResolver = CrmEntityManagerResolver.class, flushMode = FlushModeType.COMMIT)
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
@@ -628,7 +621,7 @@ a JPA 2.0 <code>EntityManager</code>:</p
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;, EntityManagerDelegate&lt;Person&gt;
 {
     ...
@@ -654,7 +647,7 @@ actually the implementation!</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Entity</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Entity</span>
 <span class="directive">public</span> <span class="type">class</span> <span class="class">Person</span>
 {
 
@@ -721,11 +714,11 @@ generate the query implementation out of
 <p>Following comparators are currently supported to be used in method
 expressions:</p>
 </div>
-<table class="tableblock frame-all grid-all" style="">
+<table class="tableblock frame-all grid-all">
 <colgroup>
 <col>
 <col>
-<col> 
+<col>
 </colgroup>
 <thead>
 <tr>
@@ -787,7 +780,6 @@ expressions:</p>
 </tr>
 </tbody>
 </table>
-
 <div class="paragraph">
 <p>Note that DeltaSpike will validate those expressions during startup, so
 you will notice early in case you have a typo in those expressions.</p>
@@ -802,7 +794,7 @@ you will notice early in case you have a
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
@@ -820,7 +812,7 @@ separated by a <code>_</code>:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
@@ -839,7 +831,7 @@ number of results returned:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
@@ -857,7 +849,7 @@ this can be adapted:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>(methodPrefix = <span class="string"><span class="delimiter">&quot;</span><span class="content">fetchWith</span><span class="delimiter">&quot;</span></span>)
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>(methodPrefix = <span class="string"><span class="delimiter">&quot;</span><span class="content">fetchWith</span><span class="delimiter">&quot;</span></span>)
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
@@ -889,7 +881,7 @@ looks like the following sample:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
     <span class="annotation">@Query</span>(<span class="string"><span class="delimiter">&quot;</span><span class="content">select count(p) from Person p where p.age &gt; ?1</span><span class="delimiter">&quot;</span></span>)
@@ -909,7 +901,7 @@ corresponds to the query name:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Entity</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Entity</span>
 <span class="annotation">@NamedQueries</span>({
     <span class="annotation">@NamedQuery</span>(name = Person.BY_MIN_AGE,
                 query = <span class="string"><span class="delimiter">&quot;</span><span class="content">select count(p) from Person p where p.age &gt; ?1 order by p.age asc</span><span class="delimiter">&quot;</span></span>)
@@ -951,7 +943,7 @@ annotation is needed.</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@NamedQuery</span>(name = Person.BY_MIN_AGE,
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@NamedQuery</span>(name = Person.BY_MIN_AGE,
             query = <span class="string"><span class="delimiter">&quot;</span><span class="content">select count(p) from Person p where p.age &gt; :minAge order by p.age asc</span><span class="delimiter">&quot;</span></span>)
 
 ...
@@ -973,7 +965,7 @@ not JPQL but plain SQL:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Entity</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Entity</span>
 <span class="annotation">@Table</span>(name = <span class="string"><span class="delimiter">&quot;</span><span class="content">PERSON_TABLE</span><span class="delimiter">&quot;</span></span>)
 <span class="directive">public</span> <span class="type">class</span> <span class="class">Person</span>
 {
@@ -999,7 +991,7 @@ provides also two more attributes:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
@@ -1009,10 +1001,10 @@ provides also two more attributes:</p>
 }</code></pre>
 </div>
 </div>
-<table class="tableblock frame-all grid-all" style="">
+<table class="tableblock frame-all grid-all">
 <colgroup>
 <col>
-<col> 
+<col>
 </colgroup>
 <thead>
 <tr>
@@ -1031,7 +1023,6 @@ provides also two more attributes:</p>
 </tr>
 </tbody>
 </table>
-
 <div class="paragraph">
 <p>Note that these options can also be applied to method expressions.</p>
 </div>
@@ -1047,7 +1038,7 @@ at runtime by using the <code>QueryResul
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
@@ -1063,7 +1054,7 @@ the query:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="predefined-type">List</span>&lt;Person&gt; result = personRepository.findAllByAge(<span class="integer">18</span>, <span class="integer">65</span>)
+<pre class="CodeRay highlight"><code data-lang="java"><span class="predefined-type">List</span>&lt;Person&gt; result = personRepository.findAllByAge(<span class="integer">18</span>, <span class="integer">65</span>)
     .sortAsc(Person_.lastName)
     .sortDesc(Person_.age)
     .lockMode(LockModeType.WRITE)
@@ -1096,7 +1087,7 @@ be used for pagination:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="comment">// Query API style</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="comment">// Query API style</span>
 QueryResult&lt;Person&gt; paged = personRepository.findByAge(age)
     .maxResults(<span class="integer">10</span>)
     .firstResult(<span class="integer">50</span>);
@@ -1120,7 +1111,7 @@ marking annotation <code>@Modifying</cod
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
@@ -1160,7 +1151,7 @@ method expressions, <code>Query</code> a
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>(forEntity = Person.class)
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>(forEntity = Person.class)
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span>
 {
 
@@ -1193,7 +1184,7 @@ first result out of the result list.</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>(forEntity = Person.class)
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>(forEntity = Person.class)
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span>
 {
 
@@ -1258,7 +1249,7 @@ currently recommend creating an extensio
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="directive">public</span> <span class="type">class</span> <span class="class">TxExtension</span>&lt;E&gt; <span class="directive">implements</span> TxRepository <span class="comment">// this is your extension interface</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="type">class</span> <span class="class">TxExtension</span>&lt;E&gt; <span class="directive">implements</span> TxRepository <span class="comment">// this is your extension interface</span>
 {
     <span class="annotation">@Inject</span>
     <span class="directive">private</span> EntityManager em;
@@ -1296,7 +1287,7 @@ repositories:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="keyword">import</span> <span class="include">com.mysema.query.jpa.impl.JPAQuery</span>;
+<pre class="CodeRay highlight"><code data-lang="java"><span class="keyword">import</span> <span class="include">com.mysema.query.jpa.impl.JPAQuery</span>;
 
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">QueryDslSupport</span>
 {
@@ -1319,7 +1310,7 @@ methods for your repositories (as shown 
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="directive">public</span> <span class="type">interface</span> <span class="class">QueryDslSupport</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="type">interface</span> <span class="class">QueryDslSupport</span>
 {
     JPAQuery jpaQuery();
 }</code></pre>
@@ -1333,7 +1324,7 @@ marker interface):</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="directive">public</span> <span class="type">class</span> <span class="class">QueryDslRepositoryExtension</span>&lt;E&gt; <span class="directive">implements</span> QueryDslSupport, DelegateQueryHandler
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="type">class</span> <span class="class">QueryDslRepositoryExtension</span>&lt;E&gt; <span class="directive">implements</span> QueryDslSupport, DelegateQueryHandler
 {
 
     <span class="annotation">@Inject</span>
@@ -1378,7 +1369,7 @@ without the need to specify additional m
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>(forEntity = Person.class)
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>(forEntity = Person.class)
 <span class="annotation">@MappingConfig</span>(PersonDtoMapper.class)
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span>
 {
@@ -1396,7 +1387,7 @@ interface:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="directive">public</span> <span class="type">class</span> <span class="class">PersonDtoMapper</span> <span class="directive">implements</span> QueryInOutMapper&lt;Person&gt;
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="type">class</span> <span class="class">PersonDtoMapper</span> <span class="directive">implements</span> QueryInOutMapper&lt;Person&gt;
 {
 
     <span class="annotation">@Override</span>
@@ -1445,7 +1436,7 @@ class.</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>(forEntity = Person.class)
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>(forEntity = Person.class)
 <span class="annotation">@MappingConfig</span>(PersonDtoMapper.class)
 <span class="directive">public</span> <span class="type">interface</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> EntityRepository&lt;PersonDto, PersonId&gt;
 {
@@ -1468,7 +1459,7 @@ which only requires to override two meth
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="directive">public</span> <span class="type">class</span> <span class="class">PersonMapper</span> <span class="directive">extends</span> SimpleQueryInOutMapperBase&lt;Person, PersonDto&gt;
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="type">class</span> <span class="class">PersonMapper</span> <span class="directive">extends</span> SimpleQueryInOutMapperBase&lt;Person, PersonDto&gt;
 {
 
     <span class="annotation">@Override</span>
@@ -1541,7 +1532,7 @@ a fluent interface to write criteria que
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>(forEntity = Person.class)
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>(forEntity = Person.class)
 <span class="directive">public</span> <span class="directive">abstract</span> <span class="type">class</span> <span class="class">PersonRepository</span> <span class="directive">implements</span> CriteriaSupport&lt;Person&gt;
 {
 
@@ -1561,10 +1552,10 @@ a fluent interface to write criteria que
 <div class="paragraph">
 <p>Following comparators are supported by the API:</p>
 </div>
-<table class="tableblock frame-all grid-all" style="">
+<table class="tableblock frame-all grid-all">
 <colgroup>
 <col>
-<col> 
+<col>
 </colgroup>
 <thead>
 <tr>
@@ -1574,71 +1565,70 @@ a fluent interface to write criteria que
 </thead>
 <tbody>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.eq(&#8230;, &#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.eq(&#8230;&#8203;, &#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Property value must be equal to the given value</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.in(&#8230;, &#8230;, &#8230;, &#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.in(&#8230;&#8203;, &#8230;&#8203;, &#8230;&#8203;, &#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Property value must be in one of the given values.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.notEq(&#8230;, &#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.notEq(&#8230;&#8203;, &#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Negates equality</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.like(&#8230;, &#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.like(&#8230;&#8203;, &#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">A SQL <code>like</code> equivalent comparator. Use % on the value.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.notLike(&#8230;, &#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.notLike(&#8230;&#8203;, &#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Negates the like value</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.lt(&#8230;, &#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.lt(&#8230;&#8203;, &#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Property value must be less than the given value.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.ltOrEq(&#8230;, &#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.ltOrEq(&#8230;&#8203;, &#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Property value must be less than or equal to the given value.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.gt(&#8230;, &#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.gt(&#8230;&#8203;, &#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Property value must be greater than the given value.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.ltOrEq(&#8230;, &#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.ltOrEq(&#8230;&#8203;, &#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Property value must be greater than or equal to the given value.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.between(&#8230;, &#8230;, &#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.between(&#8230;&#8203;, &#8230;&#8203;, &#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Property value must be between the two given values.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.isNull(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.isNull(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Property must be <code>null</code></p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.isNotNull(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.isNotNull(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Property must be non-<code>null</code></p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.isEmpty(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.isEmpty(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Collection property must be empty</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.isNotEmpty(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.isNotEmpty(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Collection property must be non-empty</p></td>
 </tr>
 </tbody>
 </table>
-
 <div class="paragraph">
 <p>The query result can be modified with the following settings:</p>
 </div>
-<table class="tableblock frame-all grid-all" style="">
+<table class="tableblock frame-all grid-all">
 <colgroup>
 <col>
-<col> 
+<col>
 </colgroup>
 <thead>
 <tr>
@@ -1648,11 +1638,11 @@ a fluent interface to write criteria que
 </thead>
 <tbody>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.orderAsc(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.orderAsc(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Sorts the result ascending by the given property. Note that this can be applied to several properties</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">.orderDesc(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">.orderDesc(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Sorts the result descending by the given property. Note that this can be applied to several properties</p></td>
 </tr>
 <tr>
@@ -1661,7 +1651,6 @@ a fluent interface to write criteria que
 </tr>
 </tbody>
 </table>
-
 <div class="paragraph">
 <p>Once all comparators and query options are applied, the <code>createQuery()</code>
 method is called. This creates a JPA TypedQuery object for the
@@ -1678,7 +1667,7 @@ therefore supports joins as shown in the
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Repository</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Repository</span>
 <span class="directive">public</span> <span class="directive">abstract</span> <span class="type">class</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> AbstractEntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
@@ -1702,7 +1691,7 @@ are slighly simpler as seen in the next 
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="directive">public</span> <span class="directive">abstract</span> <span class="type">class</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> AbstractEntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="directive">abstract</span> <span class="type">class</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> AbstractEntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
     <span class="directive">public</span> Person findBySSN(<span class="predefined-type">String</span> ssn)
@@ -1727,7 +1716,7 @@ disjunctions.</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="directive">public</span> <span class="directive">abstract</span> <span class="type">class</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> AbstractEntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="directive">abstract</span> <span class="type">class</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> AbstractEntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
     <span class="directive">public</span> <span class="predefined-type">List</span>&lt;Person&gt; findAdults()
@@ -1757,7 +1746,7 @@ The Criteria interface allows this with 
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="directive">public</span> <span class="directive">abstract</span> <span class="type">class</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> AbstractEntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="directive">abstract</span> <span class="type">class</span> <span class="class">PersonRepository</span> <span class="directive">extends</span> AbstractEntityRepository&lt;Person, <span class="predefined-type">Long</span>&gt;
 {
 
     <span class="directive">public</span> Statistics ageStatsFor(<span class="predefined-type">Segment</span> segment)
@@ -1783,10 +1772,10 @@ The Criteria interface allows this with 
 <p>There are also several functions supported which can be used in the
 selection clause:</p>
 </div>
-<table class="tableblock frame-all grid-all" style="">
+<table class="tableblock frame-all grid-all">
 <colgroup>
 <col>
-<col> 
+<col>
 </colgroup>
 <thead>
 <tr>
@@ -1796,51 +1785,51 @@ selection clause:</p>
 </thead>
 <tbody>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">abs(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">abs(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Absolute value. Applicable to Number attributes.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">avg(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">avg(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Average value. Applicable to Number attributes.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">count(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">count(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Count function. Applicable to Number attributes.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">max(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">max(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Max value. Applicable to Number attributes.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">min(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">min(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Min value. Applicable to Number attributes.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">modulo(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">modulo(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Modulo function. Applicable to Integer attributes.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">neg(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">neg(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Negative value. Applicable to Number attributes.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">sum(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">sum(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Sum function. Applicable to Number attributes.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">lower(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">lower(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">String to lowercase. Applicable to String attributes.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">substring(int from, &#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">substring(int from, &#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Substring starting from. Applicable to String attributes.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">substring(int from, int to, &#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">substring(int from, int to, &#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Substring starting from ending to. Applicable to String attributes.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">upper(&#8230;)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">upper(&#8230;&#8203;)</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">String to uppercase. Applicable to String attributes.</p></td>
 </tr>
 <tr>
@@ -1857,7 +1846,6 @@ selection clause:</p>
 </tr>
 </tbody>
 </table>
-
 </div>
 </div>
 </div>
@@ -1892,7 +1880,7 @@ of a persistent unit or per entity.</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="xml language-xml"><span class="tag">&lt;entity-mappings</span> <span class="attribute-name">xmlns</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">http://java.sun.com/xml/ns/persistence/orm</span><span class="delimiter">&quot;</span></span>
+<pre class="CodeRay highlight"><code data-lang="xml"><span class="tag">&lt;entity-mappings</span> <span class="attribute-name">xmlns</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">http://java.sun.com/xml/ns/persistence/orm</span><span class="delimiter">&quot;</span></span>
         <span class="attribute-name">xmlns:xsi</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">http://www.w3.org/2001/XMLSchema-instance</span><span class="delimiter">&quot;</span></span>
         <span class="attribute-name">xsi:schemaLocation</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd</span><span class="delimiter">&quot;</span></span> <span class="attribute-name">version</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">2.0</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
     <span class="tag">&lt;persistence-unit-metadata&gt;</span>
@@ -1910,7 +1898,7 @@ of a persistent unit or per entity.</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Entity</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Entity</span>
 <span class="annotation">@EntityListeners</span>(AuditEntityListener.class)
 <span class="directive">public</span> <span class="type">class</span> <span class="class">AuditedEntity</span>
 {
@@ -1940,7 +1928,7 @@ can be used:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Entity</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Entity</span>
 <span class="directive">public</span> <span class="type">class</span> <span class="class">AuditedEntity</span>
 {
 
@@ -1978,7 +1966,7 @@ tracking field with the following annota
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="annotation">@Entity</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Entity</span>
 <span class="directive">public</span> <span class="type">class</span> <span class="class">AuditedEntity</span>
 {
 
@@ -2000,7 +1988,7 @@ qualifier:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay"><code class="java language-java"><span class="directive">public</span> <span class="type">class</span> <span class="class">UserProvider</span>
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="type">class</span> <span class="class">UserProvider</span>
 {
 
     <span class="annotation">@Inject</span>
@@ -2040,10 +2028,8 @@ provider when persisting / updating the 
 			<hr>
 
 			<footer>
-				<p>Copyright © 2011-2014 The Apache Software Foundation,
-					Licensed under the Apache License, Version 2.0.</p>
-				<p>Apache and the Apache feather logo are trademarks of The
-					Apache Software Foundation.</p>
+				<p>Copyright © 2011-2014 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.</p>
+				<p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
 			</footer>
 
 		</div>

Modified: websites/staging/deltaspike/trunk/content/documentation/deltaspike_1.0.2.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/deltaspike_1.0.2.html (original)
+++ websites/staging/deltaspike/trunk/content/documentation/deltaspike_1.0.2.html Fri Sep 12 12:20:07 2014
@@ -17,92 +17,95 @@
 <link href="http://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
 
 <style type="text/css">
-/* Foundation stylesheet for CodeRay (to match GitHub theme) | MIT License | http://foundation.zurb.com */
-table.CodeRay { border-collapse: collapse; padding: 2px; margin-bottom: 0; border: 0; background: transparent; }
-table.CodeRay td { padding: 0 .5em; vertical-align: top; }
-table.CodeRay td.line-numbers { text-align: right; color: #999; border-right: 1px solid #e5e5e5; padding-left: 0; }
-span.line-numbers { border-right: 1px solid #E5E5E5; color: #999; display: inline-block; margin-right: 0.5em; padding-right: 0.5em; }
-.CodeRay td.line-numbers strong, .CodeRay span.line-numbers strong { font-weight: normal; }
-.CodeRay .debug { color: white !important; background: blue !important; }
-.CodeRay .annotation { color: #007; }
-.CodeRay .attribute-name { color: #f08; }
-.CodeRay .attribute-value { color: #700; }
-.CodeRay .binary { color: #509; }
-.CodeRay .comment  { color: #999; font-style: italic; }
-.CodeRay .char { color: #04D; }
-.CodeRay .char .content { color: #04D; }
-.CodeRay .char .delimiter { color: #039; }
-.CodeRay .class { color: #458; }
-.CodeRay .complex { color: #A08; }
-.CodeRay .constant { color: teal; }
-.CodeRay .color { color: #0A0; }
-.CodeRay .class-variable { color: #369; }
-.CodeRay .decorator { color: #B0B; }
-.CodeRay .definition { color: #099; }
-.CodeRay .directive { color: #088; }
-.CodeRay .delimiter { color: black; }
-.CodeRay .doc { color: #970; }
-.CodeRay .doctype { color: #34b; }
-.CodeRay .doc-string { color: #D42; }
-.CodeRay .escape  { color: #666; }
-.CodeRay .entity { color: #800; }
-.CodeRay .error { color: #808; }
-.CodeRay .exception { color: #C00; }
-.CodeRay .filename { color: #099; }
-.CodeRay .function { color: #900; }
-.CodeRay .global-variable { color: teal; }
-.CodeRay .hex { color: #058; }
-.CodeRay .integer  { color: #099; }
-.CodeRay .include { color: #B44; }
-.CodeRay .inline { color: black; }
-.CodeRay .inline .inline { background: #ccc; }
-.CodeRay .inline .inline .inline { background: #bbb; }
-.CodeRay .inline .inline-delimiter { color: #D14; }
-.CodeRay .inline-delimiter { color: #D14; }
-.CodeRay .important { color: #f00; }
-.CodeRay .interpreted { color: #B2B; }
-.CodeRay .instance-variable { color: teal; }
-.CodeRay .label { color: #970; }
-.CodeRay .local-variable { color: #963; }
-.CodeRay .octal { color: #40E; }
-.CodeRay .predefined { color: #369; }
-.CodeRay .preprocessor { color: #579; }
-.CodeRay .pseudo-class { color: #00C; }
-.CodeRay .predefined-type { color: #074; }
-.CodeRay .reserved, .keyword  { color: #000; }
-.CodeRay .key { color: #808; }
-.CodeRay .key .delimiter { color: #606; }
-.CodeRay .key .char { color: #80f; }
-.CodeRay .value { color: #088; }
-.CodeRay .regexp { background-color: #fff0ff; }
-.CodeRay .regexp .content { color: #808; }
-.CodeRay .regexp .delimiter { color: #404; }
-.CodeRay .regexp .modifier { color: #C2C; }
-.CodeRay .regexp .function  { color: #404; font-weight: bold; }
-.CodeRay .string { color: #D20; }
-.CodeRay .string .string { }
-.CodeRay .string .string .string { background-color: #ffd0d0; }
-.CodeRay .string .content { color: #D14; }
-.CodeRay .string .char { color: #D14; }
-.CodeRay .string .delimiter { color: #D14; }
-.CodeRay .shell { color: #D14; }
-.CodeRay .shell .content { }
-.CodeRay .shell .delimiter { color: #D14; }
-.CodeRay .symbol { color: #990073; }
-.CodeRay .symbol .content { color: #A60; }
-.CodeRay .symbol .delimiter { color: #630; }
-.CodeRay .tag, .CodeRay .attribute-name { color: #070; }
-.CodeRay .tag-special { color: #D70; }
-.CodeRay .type { color: #339; }
-.CodeRay .variable  { color: #036; }
-.CodeRay .insert { background: #afa; }
-.CodeRay .delete { background: #faa; }
-.CodeRay .change { color: #aaf; background: #007; }
-.CodeRay .head { color: #f8f; background: #505; }
-.CodeRay .insert .insert { color: #080; }
-.CodeRay .delete .delete { color: #800; }
-.CodeRay .change .change { color: #66f; }
-.CodeRay .head .head { color: #f4f; }
+/* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
+/*pre.CodeRay {background-color:#f7f7f8;}*/
+.CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
+.CodeRay span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
+.CodeRay .line-numbers strong{font-weight: normal}
+table.CodeRay{border-collapse:separate;border-spacing:0;margin-bottom:0;border:0;background:none}
+table.CodeRay td{vertical-align: top}
+table.CodeRay td.line-numbers{text-align:right}
+table.CodeRay td.line-numbers>pre{padding:0;color:rgba(0,0,0,.3)}
+table.CodeRay td.code{padding:0 0 0 .5em}
+table.CodeRay td.code>pre{padding:0}
+.CodeRay .debug{color:#fff !important;background:#000080 !important}
+.CodeRay .annotation{color:#007}
+.CodeRay .attribute-name{color:#000080}
+.CodeRay .attribute-value{color:#700}
+.CodeRay .binary{color:#509}
+.CodeRay .comment{color:#998;font-style:italic}
+.CodeRay .char{color:#04d}
+.CodeRay .char .content{color:#04d}
+.CodeRay .char .delimiter{color:#039}
+.CodeRay .class{color:#458;font-weight:bold}
+.CodeRay .complex{color:#a08}
+.CodeRay .constant,.CodeRay .predefined-constant{color:#008080}
+.CodeRay .color{color:#099}
+.CodeRay .class-variable{color:#369}
+.CodeRay .decorator{color:#b0b}
+.CodeRay .definition{color:#099}
+.CodeRay .delimiter{color:#000}
+.CodeRay .doc{color:#970}
+.CodeRay .doctype{color:#34b}
+.CodeRay .doc-string{color:#d42}
+.CodeRay .escape{color:#666}
+.CodeRay .entity{color:#800}
+.CodeRay .error{color:#808}
+.CodeRay .exception{color:inherit}
+.CodeRay .filename{color:#099}
+.CodeRay .function{color:#900;font-weight:bold}
+.CodeRay .global-variable{color:#008080}
+.CodeRay .hex{color:#058}
+.CodeRay .integer,.CodeRay .float{color:#099}
+.CodeRay .include{color:#555}
+.CodeRay .inline{color:#00}
+.CodeRay .inline .inline{background:#ccc}
+.CodeRay .inline .inline .inline{background:#bbb}
+.CodeRay .inline .inline-delimiter{color:#d14}
+.CodeRay .inline-delimiter{color:#d14}
+.CodeRay .important{color:#555;font-weight:bold}
+.CodeRay .interpreted{color:#b2b}
+.CodeRay .instance-variable{color:#008080}
+.CodeRay .label{color:#970}
+.CodeRay .local-variable{color:#963}
+.CodeRay .octal{color:#40e}
+.CodeRay .predefined{color:#369}
+.CodeRay .preprocessor{color:#579}
+.CodeRay .pseudo-class{color:#555}
+.CodeRay .directive{font-weight:bold}
+.CodeRay .type{font-weight:bold}
+.CodeRay .predefined-type{color:inherit}
+.CodeRay .reserved,.CodeRay .keyword {color:#000;font-weight:bold}
+.CodeRay .key{color:#808}
+.CodeRay .key .delimiter{color:#606}
+.CodeRay .key .char{color:#80f}
+.CodeRay .value{color:#088}
+.CodeRay .regexp .delimiter{color:#808}
+.CodeRay .regexp .content{color:#808}
+.CodeRay .regexp .modifier{color:#808}
+.CodeRay .regexp .char{color:#d14}
+.CodeRay .regexp .function{color:#404;font-weight:bold}
+.CodeRay .string{color:#d20}
+.CodeRay .string .string .string{background:#ffd0d0}
+.CodeRay .string .content{color:#d14}
+.CodeRay .string .char{color:#d14}
+.CodeRay .string .delimiter{color:#d14}
+.CodeRay .shell{color:#d14}
+.CodeRay .shell .delimiter{color:#d14}
+.CodeRay .symbol{color:#990073}
+.CodeRay .symbol .content{color:#a60}
+.CodeRay .symbol .delimiter{color:#630}
+.CodeRay .tag{color:#008080}
+.CodeRay .tag-special{color:#d70}
+.CodeRay .variable{color:#036}
+.CodeRay .insert{background:#afa}
+.CodeRay .delete{background:#faa}
+.CodeRay .change{color:#aaf;background:#007}
+.CodeRay .head{color:#f8f;background:#505}
+.CodeRay .insert .insert{color:#080}
+.CodeRay .delete .delete{color:#800}
+.CodeRay .change .change{color:#66f}
+.CodeRay .head .head{color:#f4f}
 body {
 	padding-top: 60px;
 	padding-bottom: 40px;
@@ -166,11 +169,10 @@ body {
 			    <h1>DeltaSpike Release Notes v1.0.2</h1>
                 </div>
 
-				<div id="toc" class="toc2">
+				<div id="toc" class="toc">
        	 		<ul class="sectlevel1">
 <li><a href="#_announcement">Announcement</a></li>
-<li><a href="#_highlights">Highlights</a></li>
-<li>
+<li><a href="#_highlights">Highlights</a>
 <ul class="sectlevel2">
 <li><a href="#_code_changes">Code Changes</a></li>
 <li><a href="#_documentation_changes">Documentation Changes</a></li>
@@ -319,10 +321,8 @@ body {
 			<hr>
 
 			<footer>
-				<p>Copyright © 2011-2014 The Apache Software Foundation,
-					Licensed under the Apache License, Version 2.0.</p>
-				<p>Apache and the Apache feather logo are trademarks of The
-					Apache Software Foundation.</p>
+				<p>Copyright © 2011-2014 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.</p>
+				<p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
 			</footer>
 
 		</div>



Mime
View raw message