db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig L Russell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JDO-712) Require using the PMF schema definition with sequence names
Date Fri, 24 Jan 2014 16:55:40 GMT

    [ https://issues.apache.org/jira/browse/JDO-712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881144#comment-13881144

Craig L Russell commented on JDO-712:

To test that the annotation is properly defined, we just need to add a test class with the
annotations including the extension elements in the jdo-api test/java/javax/jdo/annotations

When compiling the jdo-api project if the class compiles the annotation is correct.

Obviously, there cannot be a test for semantics.

> Require using the PMF schema definition with sequence names
> -----------------------------------------------------------
>                 Key: JDO-712
>                 URL: https://issues.apache.org/jira/browse/JDO-712
>             Project: JDO
>          Issue Type: Task
>          Components: specification, tck
>    Affects Versions: JDO 3 (3.0)
>            Reporter: Michael Bouschen
>             Fix For: JDO 3 maintenance release 2 (3.2)
> Chapter 18 XML Metadata of the spec defines that a schema declared at the jdo, orm, package,
class or interface level, specifies the schema to be used as the default for tables contained
therein. And if not specified the schema defaults to the PMF schema property (see end of page
221 and beginning of page 222 of the JDO 3.0 spec).
> The spec should define the same default for sequences. Then JDO implementation would
take the PMF schema definition to prefix the sequence name the same way it currently does
for all the table names. 

This message was sent by Atlassian JIRA

View raw message