mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-03 21:07:49 +08:00
added Nullable annotations
This commit is contained in:
parent
a3bc91dc8a
commit
6a08f3d912
@ -161,7 +161,16 @@
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<configuration>
|
||||
<descriptorRefs>
|
||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||
</descriptorRefs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>com.mysema.maven</groupId>
|
||||
|
||||
31
querydsl-jpa/src/main/assembly.xml
Normal file
31
querydsl-jpa/src/main/assembly.xml
Normal file
@ -0,0 +1,31 @@
|
||||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
|
||||
<id>full-deps</id>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
<files>
|
||||
<file>
|
||||
<source>../querydsl-root/LICENSE.txt</source>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
</file>
|
||||
</files>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>target</directory>
|
||||
<includes>
|
||||
<include>*.jar</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>*-sources.jar</exclude>
|
||||
</excludes>
|
||||
<outputDirectory>/lib</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
<dependencySets>
|
||||
<dependencySet>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
</assembly>
|
||||
@ -8,6 +8,8 @@ package com.mysema.query.jpa.hibernate.sql;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import org.hibernate.Query;
|
||||
import org.hibernate.Session;
|
||||
import org.hibernate.StatelessSession;
|
||||
@ -49,8 +51,10 @@ public final class HibernateSQLQuery extends AbstractSQLQuery<HibernateSQLQuery>
|
||||
|
||||
private String cacheRegion;
|
||||
|
||||
@Nullable
|
||||
private Map<Object,String> constants;
|
||||
|
||||
@Nullable
|
||||
private List<Path<?>> entityPaths;
|
||||
|
||||
private int fetchSize = 0;
|
||||
|
||||
@ -8,6 +8,7 @@ package com.mysema.query.jpa.sql;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.NoResultException;
|
||||
import javax.persistence.Query;
|
||||
@ -43,6 +44,7 @@ public final class JPASQLQuery extends AbstractSQLQuery<JPASQLQuery> implements
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(JPASQLQuery.class);
|
||||
|
||||
@Nullable
|
||||
private Map<Object,String> constants;
|
||||
|
||||
// private List<Path<?>> entityPaths;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user