All Downloads are FREE. Search and download functionalities are using the official Maven repository.

appfusepojo.Ejb3TypeDeclaration.ftl Maven / Gradle / Ivy

Go to download

This plugin is used with Maven to generate source or resource artifacts for extending the functionality of your AppFuse application.

There is a newer version: 2.0-m4
Show newest version
<#if ejb3?if_exists>
<#if pojo.isComponent()>
@${pojo.importType("javax.persistence.Embeddable")}
<#else>
@${pojo.importType("javax.persistence.Entity")}
@${pojo.importType("javax.persistence.Table")}(name="${clazz.table.name}"
<#if clazz.table.schema?exists>
    ,schema="${clazz.table.schema}"
<#if clazz.table.catalog?exists>
    ,catalog="${clazz.table.catalog}"

<#if pojo.needsAnnTableUniqueConstraints()>
    , uniqueConstraints = { ${pojo.generateAnnTableUniqueConstraint()} }
)





© 2015 - 2024 Weber Informatics LLC | Privacy Policy