What does the following ElementType annotation mean?
@Entity @Table(table="application") @ElementType(type=1L) class application extends Element
Please check: ElementType . Listing and all fields are listed here. You should not rely on numeric values ββin your code.
This is a type literal longand a value of 1. What this means depends on the definition of the annotation, but most likely there are constants defined in the annotation class ElementTypethat you should use instead of long literals.
long
ElementType
, , . ElementType - JDK, , . , . , , , , , , . .
- , , Java Persistence. JPA Hibernate ElementType, , .
The full name for ElementType will provide a few more clues, but this is most likely a custom annotation; the definition of which is in your code base.
Source: https://habr.com/ru/post/1706391/More articles:Where can I find the double dollar syntax link? - syntaxSending a fax using .NET. - c #How to set host name on G1 phone - androidHow to make a mobile application stay on top? - .netIs the GROUP BY UNIQUE command computes all groups before applying the LIMIT clause? - sqlHow can I just return objects to PDO? - object"50289 The operation cannot be completed because the project is protected," but why? - securityNaming: pricelist and price list - .netAccess to members with case-sensitive names in different languages ββin .NET. - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1706396/list-subversion-repositories&usg=ALkJrhhlq8BeMiHDJEt75mnylWywZrht2gAll Articles