com.agimatec.dbtransform.ejb3
Class Ejb3Schema
java.lang.Object
com.agimatec.dbtransform.ejb3.Ejb3Prototype
com.agimatec.dbtransform.ejb3.Ejb3Schema
- All Implemented Interfaces:
- Serializable
public class Ejb3Schema
- extends Ejb3Prototype
Features:
* Generate EJB3 classes from a database CatalogDescription
* generate multiple .java files
* generate class per table
* generate attribute per column (except fk-columns)
* generate ManyToOne-relationship per foreignkey
* mappedBy OneToMany relationship,
* ManyToMany relationship autodetect and generated,
* add, remove methods
* autodetect caching strategies tableName.startsWith(cv) : READ_ONLY [HEURISTIC]
* autodetect Enum types (?) [HEURISTIC]
* Hibernate annotations (DELETE_CASCADE)
* unique attribute for @Column and @JoinColumn,
* multicolumn-uniqueconstraint annotations
Not supported:
* external configuration
Description:
User: roman.stumm
Date: 03.07.2007
Time: 16:20:04
Copyright: Agimatec GmbH
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ejb3Schema
public Ejb3Schema(CatalogDescription catalog)
getCatalog
public CatalogDescription getCatalog()
generate
public void generate()
getEjb3classes
public Map<String,Ejb3Class> getEjb3classes()
getEjb3classesCollection
public Collection<Ejb3Class> getEjb3classesCollection()
Copyright © 2008-2012. All Rights Reserved.