can some one explain why jpa annotations are mainly used in appian and tell me some scenerios where it is most useful
Discussion posts and replies are publicly visible
Java Persistence API (JPA) is the Java standard for mapping Java objects to relational databases. Since Appian BPM built on the Java platform we can use JPA annotations. Please find the following URL for supported JPA annotations.
https://docs.appian.com/suite/help/21.2/Supported_XSD_Elements_and_JPA_Annotations.html#supported-jpa-annotations
can u please give a scnerio where it is useful
Assume there is a DB table created with the primary key as 'id', now you have to create a field in XSD as shown in the screenshot.
XSD:
any useful answers !
Hi Avinash,
Pls try to go through the below link which contains video tutorial. so that you will get idea about jpa usages in CDT.
https://academy.appian.com/#/online-courses/ce361d9a-79ba-42d0-bc10-a4279d46e874
Below are the few use cases or examples
1)Using XSD we can create table. But some scenarios need to follow different naming conventions as per the organisation standards . in that case ,we download the xsd and using annotations we can change the field names,size,property etc.
ex: usage in editing the columns in XSD's(mentioned the attributes like nullable = true, allows user to mention/editing the size of the db field-varchar(10),@column for adding new column),Nested CDT's configuration (one:many, many:many, jointable).
Hope this helps.
thanks,Barat
thanks baratc
thank you, baratc geometry dash