where schema name is set?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > where schema name is set?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    where schema name is set?  
erik@jpox.org


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-27-06 10:45 PM

Hi,

Where in the TCK the schema name is set (At runtime, not at the time the sch
ema
is created) ?

Thanks,








[ Post a follow-up to this message ]



    Re: where schema name is set?  
Michelle Caisse


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-27-06 10:45 PM

Hi Erik,

maven.xml generates a pmf properties file with the schema name in it.
Here's the code snippet:

<goal name="doRuntck.jdori">
<path id="this.jdori.classpath">
<pathelement
location="${jdo.tck.enhanced.dir}/${jdo.tck.identitytype}.jar"/>
<path refid="jdori.classpath"/>
</path>
<u:loadText file="${basedir}/src/conf/${jdori.pmf.properties}"
var="PMFProps"/>
<j:file name="${jdo.tck.testclasses.dir}/${jdori.pmf.properties}"
omitXmlDeclaration="true">
${PMFProps}
### Properties below added by maven goal doRuntck.jdori
<!--
javax.jdo.option.Mapping=${jdo.tck.database}${jdo.tck.mapping} -->
javax.jdo.option.Mapping=standard${jdo.tck.mapping}
javax.jdo.mapping.Schema=${schemaname}
</j:file>

The same code is in the doRuntck.iut.

-- Michelle

erik@jpox.org wrote:

>Hi,
>
>Where in the TCK the schema name is set (At runtime, not at the time the sc
hema
>is created) ?
>
>Thanks,
>
>
>
>







[ Post a follow-up to this message ]



    Re: where schema name is set?  
erik@jpox.org


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-27-06 10:45 PM

Nevermind. I found it, it is automatically generated by maven adding the
property to the jdori-pmf.properties

javax.jdo.mapping.Schema

Quoting erik@jpox.org:

> Hi,
>
> Where in the TCK the schema name is set (At runtime, not at the time the
> schema
> is created) ?
>
> Thanks,
>
>
>









[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:05 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register