Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.orm20 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
NamedNativeQuery<OrmDescriptor> |
OrmDescriptor.createNamedNativeQuery()
Creates a new
named-native-query element |
NamedNativeQuery<Entity<T>> |
Entity.createNamedNativeQuery()
Creates a new
named-native-query element |
NamedNativeQuery<T> |
NamedNativeQuery.description(String description)
Sets the
description element |
NamedNativeQuery<OrmDescriptor> |
OrmDescriptor.getOrCreateNamedNativeQuery()
If not already created, a new
named-native-query element will be created and returned. |
NamedNativeQuery<Entity<T>> |
Entity.getOrCreateNamedNativeQuery()
If not already created, a new
named-native-query element will be created and returned. |
NamedNativeQuery<T> |
NamedNativeQuery.name(String name)
Sets the
name attribute |
NamedNativeQuery<T> |
NamedNativeQuery.query(String query)
Sets the
query element |
NamedNativeQuery<T> |
NamedNativeQuery.removeAllHint()
Removes all
hint elements |
NamedNativeQuery<T> |
NamedNativeQuery.removeDescription()
Removes the
description element |
NamedNativeQuery<T> |
NamedNativeQuery.removeName()
Removes the
name attribute |
NamedNativeQuery<T> |
NamedNativeQuery.removeQuery()
Removes the
query element |
NamedNativeQuery<T> |
NamedNativeQuery.removeResultClass()
Removes the
result-class attribute |
NamedNativeQuery<T> |
NamedNativeQuery.removeResultSetMapping()
Removes the
result-set-mapping attribute |
NamedNativeQuery<T> |
NamedNativeQuery.resultClass(String resultClass)
Sets the
result-class attribute |
NamedNativeQuery<T> |
NamedNativeQuery.resultSetMapping(String resultSetMapping)
Sets the
result-set-mapping attribute |
Modifier and Type | Method and Description |
---|---|
QueryHint<NamedNativeQuery<T>> |
NamedNativeQuery.createHint()
Creates a new
hint element |
List<QueryHint<NamedNativeQuery<T>>> |
NamedNativeQuery.getAllHint()
Returns all
hint elements |
List<NamedNativeQuery<OrmDescriptor>> |
OrmDescriptor.getAllNamedNativeQuery()
Returns all
named-native-query elements |
List<NamedNativeQuery<Entity<T>>> |
Entity.getAllNamedNativeQuery()
Returns all
named-native-query elements |
QueryHint<NamedNativeQuery<T>> |
NamedNativeQuery.getOrCreateHint()
If not already created, a new
hint element will be created and returned. |
Copyright © 2018 JBoss by Red Hat. All rights reserved.