Download query Free Java Code
Description
CDI Extension for JPA query utilities.
Icons
Source Files
The download file query-master.zip has the following entries.
.gitignore//from w ww. ja va 2s . c o m
README.md
api/pom.xml
api/src/main/java/com/ctp/cdi/query/AbstractEntityDao.java
api/src/main/java/com/ctp/cdi/query/Dao.java
api/src/main/java/com/ctp/cdi/query/EntityDao.java
api/src/main/java/com/ctp/cdi/query/FirstResult.java
api/src/main/java/com/ctp/cdi/query/MaxResults.java
api/src/main/java/com/ctp/cdi/query/Modifying.java
api/src/main/java/com/ctp/cdi/query/NonEntity.java
api/src/main/java/com/ctp/cdi/query/Query.java
api/src/main/java/com/ctp/cdi/query/QueryParam.java
api/src/main/java/com/ctp/cdi/query/QueryResult.java
api/src/main/java/com/ctp/cdi/query/WithEntityManager.java
api/src/main/java/com/ctp/cdi/query/audit/CreatedOn.java
api/src/main/java/com/ctp/cdi/query/audit/CurrentUser.java
api/src/main/java/com/ctp/cdi/query/audit/ModifiedBy.java
api/src/main/java/com/ctp/cdi/query/audit/ModifiedOn.java
api/src/main/java/com/ctp/cdi/query/criteria/Criteria.java
api/src/main/java/com/ctp/cdi/query/criteria/CriteriaSupport.java
api/src/main/java/com/ctp/cdi/query/criteria/QueryDslSupport.java
api/src/main/java/com/ctp/cdi/query/criteria/QuerySelection.java
api/src/main/java/com/ctp/cdi/query/home/ConversationProvider.java
api/src/main/java/com/ctp/cdi/query/home/EntityHome.java
api/src/main/java/com/ctp/cdi/query/home/EntityMessage.java
api/src/main/java/com/ctp/cdi/query/home/NavigationProvider.java
api/src/main/java/com/ctp/cdi/query/home/PersistenceUtils.java
api/src/main/java/com/ctp/cdi/query/spi/DelegateQueryHandler.java
api/src/main/java/com/ctp/cdi/query/spi/QueryInvocationContext.java
dist/pom.xml
dist/src/main/assembly/assembly.xml
dist/src/main/assembly/license.txt
dist/src/main/assembly/notice.txt
dist/src/main/assembly/readme.txt
docs/pom.xml
docs/src/main/assembly/assembly.xml
docs/src/main/docbook/en-US/master.xml
docs/src/main/docbook/en-US/query-annotations.xml
docs/src/main/docbook/en-US/query-auditing.xml
docs/src/main/docbook/en-US/query-concepts.xml
docs/src/main/docbook/en-US/query-extension.xml
docs/src/main/docbook/en-US/query-general.xml
docs/src/main/docbook/en-US/query-home.xml
docs/src/main/docbook/en-US/query-installation.xml
docs/src/main/docbook/en-US/query-jpacriteria.xml
docs/src/main/docbook/en-US/query-methodexpressions.xml
docs/src/main/docbook/en-US/query-preface.xml
docs/src/main/style/css/cambridge.css
docs/src/main/style/images/CBbadge_builton_125.png
docs/src/main/style/images/bkg_gradient.png
docs/src/main/style/images/communitydoc.png
docs/src/main/style/images/ctplogo.png
docs/src/main/xslt/common.xsl
docs/src/main/xslt/xhtml.xsl
faces/pom.xml
faces/src/main/java/com/ctp/cdi/query/home/FacesConversationProvider.java
faces/src/main/java/com/ctp/cdi/query/home/FacesHome.java
faces/src/main/java/com/ctp/cdi/query/home/FacesMessageObserver.java
faces/src/main/java/com/ctp/cdi/query/home/FacesNavigationProvider.java
faces/src/main/resources/META-INF/beans.xml
faces/src/main/resources/META-INF/forge.xml
impl/pom.xml
impl/src/analysis/resources/checkstyle-light.xml
impl/src/analysis/resources/findbugs-exclusion.xml
impl/src/analysis/resources/pmd-ruleset.xml
impl/src/analysis/resources/suppressions.xml
impl/src/main/java/com/ctp/cdi/query/QueryExtension.java
impl/src/main/java/com/ctp/cdi/query/audit/AuditEntityListener.java
impl/src/main/java/com/ctp/cdi/query/audit/AuditPropertyException.java
impl/src/main/java/com/ctp/cdi/query/audit/AuditProvider.java
impl/src/main/java/com/ctp/cdi/query/audit/PrePersistAuditListener.java
impl/src/main/java/com/ctp/cdi/query/audit/PreUpdateAuditListener.java
impl/src/main/java/com/ctp/cdi/query/audit/PrincipalProvider.java
impl/src/main/java/com/ctp/cdi/query/audit/TimestampsProvider.java
impl/src/main/java/com/ctp/cdi/query/builder/AnnotatedQueryBuilder.java
impl/src/main/java/com/ctp/cdi/query/builder/DelegateQueryBuilder.java
impl/src/main/java/com/ctp/cdi/query/builder/MethodExpressionException.java
impl/src/main/java/com/ctp/cdi/query/builder/MethodQueryBuilder.java
impl/src/main/java/com/ctp/cdi/query/builder/OrderDirection.java
impl/src/main/java/com/ctp/cdi/query/builder/QueryBuilder.java
impl/src/main/java/com/ctp/cdi/query/builder/QueryBuilderContext.java
impl/src/main/java/com/ctp/cdi/query/builder/QueryBuilderFactory.java
impl/src/main/java/com/ctp/cdi/query/builder/QueryOperator.java
impl/src/main/java/com/ctp/cdi/query/builder/WrappedQueryBuilder.java
impl/src/main/java/com/ctp/cdi/query/builder/part/AndQueryPart.java
impl/src/main/java/com/ctp/cdi/query/builder/part/BasePropertyQueryPart.java
impl/src/main/java/com/ctp/cdi/query/builder/part/ConnectingQueryPart.java
impl/src/main/java/com/ctp/cdi/query/builder/part/OrQueryPart.java
impl/src/main/java/com/ctp/cdi/query/builder/part/OrderByQueryPart.java
impl/src/main/java/com/ctp/cdi/query/builder/part/PropertyQueryPart.java
impl/src/main/java/com/ctp/cdi/query/builder/part/QueryPart.java
impl/src/main/java/com/ctp/cdi/query/builder/part/QueryRoot.java
impl/src/main/java/com/ctp/cdi/query/builder/postprocessor/CountQueryPostProcessor.java
impl/src/main/java/com/ctp/cdi/query/builder/postprocessor/FirstResultPostProcessor.java
impl/src/main/java/com/ctp/cdi/query/builder/postprocessor/FlushModePostProcessor.java
impl/src/main/java/com/ctp/cdi/query/builder/postprocessor/HintPostProcessor.java
impl/src/main/java/com/ctp/cdi/query/builder/postprocessor/LockModePostProcessor.java
impl/src/main/java/com/ctp/cdi/query/builder/postprocessor/MaxResultPostProcessor.java
impl/src/main/java/com/ctp/cdi/query/builder/postprocessor/OrderByQueryStringPostProcessor.java
impl/src/main/java/com/ctp/cdi/query/builder/result/DefaultQueryResult.java
impl/src/main/java/com/ctp/cdi/query/builder/result/QueryProcessor.java
impl/src/main/java/com/ctp/cdi/query/builder/result/QueryProcessorFactory.java
impl/src/main/java/com/ctp/cdi/query/criteria/QueryCriteria.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/Between.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/Eq.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/FetchBuilder.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/GreaterThan.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/GreaterThanOrEqual.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/In.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/IsEmpty.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/IsNotEmpty.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/IsNotNull.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/IsNull.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/JoinBuilder.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/LessThan.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/LessThanOrEqual.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/Like.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/NoValueBuilder.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/NotEq.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/NotLike.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/OrBuilder.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/PredicateBuilder.java
impl/src/main/java/com/ctp/cdi/query/criteria/predicate/SingleValueBuilder.java
impl/src/main/java/com/ctp/cdi/query/criteria/processor/OrderBy.java
impl/src/main/java/com/ctp/cdi/query/criteria/processor/QueryProcessor.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/AttributeQuerySelection.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/SingularAttributeSelection.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/numeric/Abs.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/numeric/Avg.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/numeric/Count.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/numeric/Max.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/numeric/Min.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/numeric/Modulo.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/numeric/Neg.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/numeric/Sum.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/strings/Lower.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/strings/SubstringFrom.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/strings/SubstringFromTo.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/strings/Upper.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/temporal/CurrentDate.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/temporal/CurrentTime.java
impl/src/main/java/com/ctp/cdi/query/criteria/selection/temporal/CurrentTimestamp.java
impl/src/main/java/com/ctp/cdi/query/handler/AbstractDelegateQueryHandler.java
impl/src/main/java/com/ctp/cdi/query/handler/CdiQueryContextFactory.java
impl/src/main/java/com/ctp/cdi/query/handler/CdiQueryInvocationContext.java
impl/src/main/java/com/ctp/cdi/query/handler/CriteriaSupportHandler.java
impl/src/main/java/com/ctp/cdi/query/handler/EntityDaoHandler.java
impl/src/main/java/com/ctp/cdi/query/handler/EntityManagerDelegateQueryHandler.java
impl/src/main/java/com/ctp/cdi/query/handler/JpaQueryPostProcessor.java
impl/src/main/java/com/ctp/cdi/query/handler/QueryDslSupportHandler.java
impl/src/main/java/com/ctp/cdi/query/handler/QueryHandler.java
impl/src/main/java/com/ctp/cdi/query/handler/QueryInvocationException.java
impl/src/main/java/com/ctp/cdi/query/handler/QueryStringPostProcessor.java
impl/src/main/java/com/ctp/cdi/query/home/DefaultConversationProvider.java
impl/src/main/java/com/ctp/cdi/query/home/DefaultNavigationProvider.java
impl/src/main/java/com/ctp/cdi/query/home/QueryPersistenceUtils.java
impl/src/main/java/com/ctp/cdi/query/meta/DaoComponent.java
impl/src/main/java/com/ctp/cdi/query/meta/DaoComponents.java
impl/src/main/java/com/ctp/cdi/query/meta/DaoComponentsFactory.java
impl/src/main/java/com/ctp/cdi/query/meta/DaoEntity.java
impl/src/main/java/com/ctp/cdi/query/meta/DaoMethod.java
impl/src/main/java/com/ctp/cdi/query/meta/Initialized.java
impl/src/main/java/com/ctp/cdi/query/meta/MethodType.java
impl/src/main/java/com/ctp/cdi/query/meta/NonEntityException.java
impl/src/main/java/com/ctp/cdi/query/meta/QueryInvocation.java
impl/src/main/java/com/ctp/cdi/query/meta/QueryInvocationLiteral.java
impl/src/main/java/com/ctp/cdi/query/meta/extractor/AnnotationMetadataExtractor.java
impl/src/main/java/com/ctp/cdi/query/meta/extractor/MetadataExtractor.java
impl/src/main/java/com/ctp/cdi/query/meta/extractor/TypeMetadataExtractor.java
impl/src/main/java/com/ctp/cdi/query/meta/unit/Descriptor.java
impl/src/main/java/com/ctp/cdi/query/meta/unit/DescriptorHierarchyBuilder.java
impl/src/main/java/com/ctp/cdi/query/meta/unit/DescriptorReader.java
impl/src/main/java/com/ctp/cdi/query/meta/unit/EntityDescriptor.java
impl/src/main/java/com/ctp/cdi/query/meta/unit/EntityDescriptorReader.java
impl/src/main/java/com/ctp/cdi/query/meta/unit/MappedSuperclassDescriptor.java
impl/src/main/java/com/ctp/cdi/query/meta/unit/PersistenceUnit.java
impl/src/main/java/com/ctp/cdi/query/meta/unit/PersistenceUnitReader.java
impl/src/main/java/com/ctp/cdi/query/meta/unit/PersistenceUnits.java
impl/src/main/java/com/ctp/cdi/query/meta/unit/PersistentClassDescriptor.java
impl/src/main/java/com/ctp/cdi/query/meta/verifier/EntityVerifier.java
impl/src/main/java/com/ctp/cdi/query/meta/verifier/Verifier.java
impl/src/main/java/com/ctp/cdi/query/param/IndexedParameter.java
impl/src/main/java/com/ctp/cdi/query/param/NamedParameter.java
impl/src/main/java/com/ctp/cdi/query/param/Parameter.java
impl/src/main/java/com/ctp/cdi/query/param/Parameters.java
impl/src/main/java/com/ctp/cdi/query/util/EntityUtils.java
impl/src/main/java/com/ctp/cdi/query/util/QueryUtils.java
impl/src/main/java/com/ctp/cdi/query/util/jpa/BaseQueryStringExtractor.java
impl/src/main/java/com/ctp/cdi/query/util/jpa/EclipseLinkEjbQueryStringExtractor.java
impl/src/main/java/com/ctp/cdi/query/util/jpa/HibernateQueryStringExtractor.java
impl/src/main/java/com/ctp/cdi/query/util/jpa/OpenJpaQueryStringExtractor.java
impl/src/main/java/com/ctp/cdi/query/util/jpa/ProviderSpecific.java
impl/src/main/java/com/ctp/cdi/query/util/jpa/QueryStringExtractor.java
impl/src/main/java/com/ctp/cdi/query/util/jpa/QueryStringExtractorFactory.java
impl/src/main/resources/META-INF/beans.xml
impl/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension
impl/src/test/java/com/ctp/cdi/query/QueryExtensionTest.java
impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
impl/src/test/java/com/ctp/cdi/query/audit/AuditEntityListenerTest.java
impl/src/test/java/com/ctp/cdi/query/audit/TimestampsProviderTest.java
impl/src/test/java/com/ctp/cdi/query/builder/part/QueryRootTest.java
impl/src/test/java/com/ctp/cdi/query/criteria/CriteriaTest.java
impl/src/test/java/com/ctp/cdi/query/criteria/QueryDslTest.java
impl/src/test/java/com/ctp/cdi/query/handler/EntityDaoHandlerTest.java
impl/src/test/java/com/ctp/cdi/query/handler/EntityManagerDaoHandlerTest.java
impl/src/test/java/com/ctp/cdi/query/handler/EntityManagerTest.java
impl/src/test/java/com/ctp/cdi/query/handler/EntityManagerTestProducer.java
impl/src/test/java/com/ctp/cdi/query/handler/QueryHandlerTest.java
impl/src/test/java/com/ctp/cdi/query/home/EntityHomeTest.java
impl/src/test/java/com/ctp/cdi/query/meta/extractor/AnnotationMetadataExtractorTest.java
impl/src/test/java/com/ctp/cdi/query/meta/extractor/TypeMetadataExtractorTest.java
impl/src/test/java/com/ctp/cdi/query/meta/unit/DescriptorHierarchyBuilderTest.java
impl/src/test/java/com/ctp/cdi/query/meta/unit/OrmXmlBasedDaoTest.java
impl/src/test/java/com/ctp/cdi/query/meta/unit/PersistenceUnitsTest.java
impl/src/test/java/com/ctp/cdi/query/meta/verifier/EntityVerifierTest.java
impl/src/test/java/com/ctp/cdi/query/spi/CdiQuerySpiTest.java
impl/src/test/java/com/ctp/cdi/query/test/TransactionalTestCase.java
impl/src/test/java/com/ctp/cdi/query/test/domain/AuditedEntity.java
impl/src/test/java/com/ctp/cdi/query/test/domain/EmbeddedSimple.java
impl/src/test/java/com/ctp/cdi/query/test/domain/Home.java
impl/src/test/java/com/ctp/cdi/query/test/domain/NamedEntity.java
impl/src/test/java/com/ctp/cdi/query/test/domain/OneToMany.java
impl/src/test/java/com/ctp/cdi/query/test/domain/OneToOne.java
impl/src/test/java/com/ctp/cdi/query/test/domain/Parent.java
impl/src/test/java/com/ctp/cdi/query/test/domain/Principal.java
impl/src/test/java/com/ctp/cdi/query/test/domain/Simple.java
impl/src/test/java/com/ctp/cdi/query/test/domain/Simple2.java
impl/src/test/java/com/ctp/cdi/query/test/domain/Simple3.java
impl/src/test/java/com/ctp/cdi/query/test/domain/SimpleBuilder.java
impl/src/test/java/com/ctp/cdi/query/test/domain/Tee.java
impl/src/test/java/com/ctp/cdi/query/test/domain/Tee2.java
impl/src/test/java/com/ctp/cdi/query/test/domain/TeeId.java
impl/src/test/java/com/ctp/cdi/query/test/domain/mapped/MappedId.java
impl/src/test/java/com/ctp/cdi/query/test/domain/mapped/MappedOne.java
impl/src/test/java/com/ctp/cdi/query/test/domain/mapped/MappedSuperclass.java
impl/src/test/java/com/ctp/cdi/query/test/domain/mapped/MappedThree.java
impl/src/test/java/com/ctp/cdi/query/test/domain/mapped/MappedTwo.java
impl/src/test/java/com/ctp/cdi/query/test/service/DaoInterface.java
impl/src/test/java/com/ctp/cdi/query/test/service/ExtendedDaoInterface.java
impl/src/test/java/com/ctp/cdi/query/test/service/HomeDao.java
impl/src/test/java/com/ctp/cdi/query/test/service/HomeEntityHome.java
impl/src/test/java/com/ctp/cdi/query/test/service/MappedOneDao.java
impl/src/test/java/com/ctp/cdi/query/test/service/MyEntityDao.java
impl/src/test/java/com/ctp/cdi/query/test/service/MyEntityDaoDelegate.java
impl/src/test/java/com/ctp/cdi/query/test/service/MySimpleDao.java
impl/src/test/java/com/ctp/cdi/query/test/service/ParentDao.java
impl/src/test/java/com/ctp/cdi/query/test/service/Simple2Dao.java
impl/src/test/java/com/ctp/cdi/query/test/service/SimpleCriteriaDao.java
impl/src/test/java/com/ctp/cdi/query/test/service/SimpleDao.java
impl/src/test/java/com/ctp/cdi/query/test/service/SimpleDaoWithEntityManager.java
impl/src/test/java/com/ctp/cdi/query/test/service/SimpleDaoWithOverriddenEntityManager.java
impl/src/test/java/com/ctp/cdi/query/test/service/SimpleEntityManagerDao.java
impl/src/test/java/com/ctp/cdi/query/test/service/SimpleQueryDslDao.java
impl/src/test/java/com/ctp/cdi/query/test/service/Simplistic.java
impl/src/test/java/com/ctp/cdi/query/test/service/Statistics.java
impl/src/test/java/com/ctp/cdi/query/test/util/Logging.java
impl/src/test/java/com/ctp/cdi/query/test/util/TestDeployments.java
impl/src/test/java/com/ctp/cdi/query/util/EntityUtilsTest.java
impl/src/test/resources-glassfish/arquillian.xml
impl/src/test/resources-glassfish/glassfish-resources.xml
impl/src/test/resources-glassfish/test-mapped-persistence.xml
impl/src/test/resources-glassfish/test-persistence.xml
impl/src/test/resources-jbossas7/arquillian.xml
impl/src/test/resources-jbossas7/test-mapped-persistence.xml
impl/src/test/resources-jbossas7/test-persistence.xml
impl/src/test/resources-openejb/META-INF/custom-orm.xml
impl/src/test/resources-openejb/META-INF/orm.xml
impl/src/test/resources-openejb/META-INF/persistence.xml
impl/src/test/resources-openejb/arquillian.xml
impl/src/test/resources-openejb/jndi.properties
impl/src/test/resources-openejb/test-mapped-persistence.xml
impl/src/test/resources-openejb/test-persistence.xml
impl/src/test/resources/log4j.xml
impl/src/test/resources/logging.properties
impl/src/test/resources/test-custom-orm.xml
impl/src/test/resources/test-default-orm.xml
impl/src/test/resources/test-orm.xml
impl/src/test/resources/test-settings.properties
pom.xml
Download
Click the following link to download query-master.zip.
query-master.zip