You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Austin Dorenkamp (JIRA)" <ji...@apache.org> on 2013/08/12 22:43:47 UTC
[jira] [Comment Edited] (OPENJPA-2366) provide option to exclude
schema name from generated @Table annotation for generated entities
[ https://issues.apache.org/jira/browse/OPENJPA-2366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13737317#comment-13737317 ]
Austin Dorenkamp edited comment on OPENJPA-2366 at 8/12/13 8:42 PM:
--------------------------------------------------------------------
The updated patches have just been attached. In this comment I will briefly walk through the changes:
~TestUseSchemaElement (TUSE) is a new class that test my changes
~ReverseMappingTool (RMT) contains the majority of the changes - including initially setting the UseSchemaElement (USE) flag. From the RMT class, the USE flag is stored in the ClassMetaData object where it is eventually retrieved from Annotation/XMLPersistenceMetaDataSerializer (where it is stored) by the Annotation/XMLPersistenceMappingSerializer (where the information for the .java and .xml files are being created).
~FieldMetaData is a class that the comments in CMD said to update with any changes to CMD
~ReverseMappingToolTask was updated to mirror changes to RMT
~persistence.xml was updated to enable the use of a local derby database in TUSE
was (Author: ajdorenk):
The updated patches have just been attached. In this comment I will briefly walk through the changes:
~TestUseSchemaElement (TUSE) is a new class that test my changes
~ReverseMappingTool (RMT) contains the majority of the changes - including initially setting the UseSchemaElement (USE) flag. From the RMT class, the USE flag is stored in the ClassMetaData object where it is eventually retrieved from Annotation/XMLPersistenceMetaDataSerializer (where it is stored) by the Annotation/XMLPersistenceMappingSerializer.
~FieldMetaData is a class that the comments in CMD said to update with any changes to CMD
~ReverseMappingToolTask was updated to mirror changes to RMT
~persistence.xml was updated to enable the use of a local derby database in TUSE
> provide option to exclude schema name from generated @Table annotation for generated entities
> ---------------------------------------------------------------------------------------------
>
> Key: OPENJPA-2366
> URL: https://issues.apache.org/jira/browse/OPENJPA-2366
> Project: OpenJPA
> Issue Type: New Feature
> Components: jpa
> Affects Versions: 2.2.0, 2.2.1
> Reporter: John Mysak
> Assignee: Austin Dorenkamp
> Priority: Minor
> Attachments: OPENJPA-2366-3.patch, OPENJPA-2366doc-3.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Feature request:
> Provide an option for org.apache.openjpa.jdbc.meta.ReverseMappingTool that will exclude the schema name for the @Table annotation on generated entities. For example, if the schema name is not required and needs to be dynamically specified at deployment time via openjpa.jdbc.Schema.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira