JBoss List Archives
Sign In
Sign Up
Sign In
Sign Up
Manage this list
2026
July
June
May
April
March
February
January
2025
December
November
October
September
August
July
June
May
April
March
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
List overview
Download
thread
[jboss-user] [JBoss Tools] - Hibernate Annotations in JPA Project
Dmitry Geraskov
Thursday, 2 September 2010
Thu, 2 Sep '10
6:19 a.m.
Dmitry Geraskov [
http://community.jboss.org/people/dgeraskov
] created the document: "Hibernate Annotations in JPA Project" To view the document, visit:
http://community.jboss.org/docs/DOC-15772
-------------------------------------------------------------- Hibernate extends Dail JPA functionality. There are some hibernate annotations which have support in jpa projects. All the annotations are from “org.hibernate.annotations” package. The support of annotation is a ui representation, validation or both. See the list of supported hibernate annotations:
http://docs.jboss.org/hibernate/stable/annotations/api/org/hibernate/anno...
@DiscriminatorFormula (
https://jira.jboss.org/browse/JBIDE-4663
JBIDE-4663) There is a ui representation for the annotation:
http://community.jboss.org/servlet/JiveServlet/showImage/5579/discr_formu...
http://community.jboss.org/servlet/JiveServlet/downloadImage/5579/450-251...
http://docs.jboss.org/hibernate/stable/annotations/api/org/hibernate/anno...
@ForeignKey (
https://jira.jboss.org/browse/JBIDE-4664
JBIDE-4664) There is no ui representation. Plugins validates foreign key name for OneToOne, ManToOne, ManyToMany and Entity mappings.
http://docs.jboss.org/hibernate/stable/annotations/api/org/hibernate/anno...
@Generated (
https://jira.jboss.org/browse/JBIDE-4665
JBIDE-4665) There is a ui representation for the annotation:
http://community.jboss.org/servlet/JiveServlet/showImage/5580/generated.PNG
http://community.jboss.org/servlet/JiveServlet/downloadImage/5580/450-171...
The ui representation is implemented only for default mapping. See …
http://docs.jboss.org/hibernate/stable/annotations/api/org/hibernate/anno...
@GenericGenerator (
https://jira.jboss.org/browse/JBIDE-4527
JBIDE-4527) The annotation is not supported for package-level as Dali plug-ins doesn’t support package-level annotations. See this
https://bugs.eclipse.org/bugs/show_bug.cgi?id=265087
bug Except ui representation for this annotation also validation of generation strategy is supported. It either should be one of predefined strategy or the valid class name which implements
http://docs.jboss.org/hibernate/core/3.5/api/org/hibernate/id/class-use/I...
org.hibernate.id.IdentifierGenerator interface. Also all generators checked for preventing name duplicates (with @TableGenerator and @SequenceGenerator too). There is a ui representation for the annotation:
http://community.jboss.org/servlet/JiveServlet/showImage/5581/generic_gen...
http://community.jboss.org/servlet/JiveServlet/downloadImage/5581/450-358...
http://docs.jboss.org/hibernate/stable/annotations/api/org/hibernate/anno...
@Index (
https://jira.jboss.org/browse/JBIDE-4666
JBIDE-4666) There is only ui representation for the name of the index. There is a ui representation for the annotation:
http://community.jboss.org/servlet/JiveServlet/showImage/5582/index.PNG
http://community.jboss.org/servlet/JiveServlet/downloadImage/5582/450-87/...
http://docs.jboss.org/hibernate/stable/annotations/api/org/hibernate/anno...
@NamedQuery and
http://docs.jboss.org/hibernate/stable/annotations/api/org/hibernate/anno...
@NamedNativeQuery (
https://jira.jboss.org/browse/JBIDE-4521
JBIDE-4521) There is a ui representation for the annotations:
http://community.jboss.org/servlet/JiveServlet/showImage/5583/hibernate_q...
http://community.jboss.org/servlet/JiveServlet/downloadImage/5583/450-398...
All the hibernate annotations you could find
http://docs.jboss.org/hibernate/stable/annotations/api/org/hibernate/anno...
here. -------------------------------------------------------------- Comment by going to Community [
http://community.jboss.org/docs/DOC-15772
] Create a new document in JBoss Tools at Community [
http://community.jboss.org/choose-container!input.jspa?contentType=102&am...
]
Attachments:
attachment.html
(text/html — 8.0 KB)
0
/
0
Reply
Back to the thread
Back to the list