Type of persistence should also be specified via an annotation on the persisted 
field
-------------------------------------------------------------------------------------

                 Key: TAPESTRY-2328
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2328
             Project: Tapestry
          Issue Type: New Feature
          Components: tapestry-core
    Affects Versions: 5.0.11
            Reporter: Howard M. Lewis Ship
             Fix For: 5.1


Currently you must use a name (or constant) to define the persistence strategy. 
 Using a name will always be less refactoring safe than an annotation.

With just @Persist (the empty string value) a search based on meta data is 
started.

It would be nice if there was a way to inject some logic that could check for 
an auxillary annotation or other bit of logic to decide the persistence 
strategy.

Ideally, when using tapestry-hibernate and a field is an entity type defined in 
Hibernate, the "entity" persistence strategy should be the default, before 
checking meta data.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to