Default values for use of TABLE generator type
----------------------------------------------
Key: EJB-114
URL: http://jira.andromda.org/browse/EJB-114
Project: EJB Cartridge
Type: Improvement
Reporter: Olivier THIERRY
Assigned to: Vance Karimi
Priority: Trivial
When you create an identifier property in an entity and you choose use TABLE
generator type with @andromda.persistence.generator.type tagged value, you have
to set other tagged values. I think there could be default values for these
tagged values, so that you don't have to set them.
So I changed attribute metafacade in EJB3 cartridge so that :
- If you don't set a generator name with @andromda.persistence.generator.name,
it will be the name of the entity + "IdGenerator" string
- If you don't set generator source name with
@andromda.persistence.generator.source.name, it will be the value of a new
namespace property called defaultEntityGeneratorSourceName.
These are very little changes but I think they save you a lot of time if you
want to use TABLE generator type to simulate sequences for databases that don't
support it (SQL Server, MySQL, HSQLDB, ...)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/