dev@glassfish.java.net

Re: Java2DB in Prelude?

From: Mitesh Meswani <Mitesh.Meswani_at_Sun.COM>
Date: Thu, 28 Aug 2008 14:49:43 -0700

Section about Annotation :
This is valid for prelude.

Section about Supported Data Types:
This is valid for prelude. But, I think we should take it off the document.

Generation Option:
The first part is valid for prelude. Needs to be updated to point to
EclipseLink instead of Toplink
Functionality starting from Table 7-3 is not available in Prelude and
needs to be taken off.

A not also needs be added about the fact that schema generation would
happen whenever application is loaded. Specifically, if the application
server is restarted with such application deployed, schema generation
would run again.

Thanks,
Mitesh

June.Parks_at_Sun.COM wrote:
> So how much of this applies to Prelude?
>
> http://docsview.sfbay/app/docs/doc/819-3672/6n5sj2sji?a=view
>
> June
>
> On 08/28/08 13:57, Mitesh Meswani wrote:
>> The status is same as for TP2 for java2db. JPA providers perform
>> schema generation at application load time.
>>
>> -Mitesh
>> June.Parks_at_Sun.COM wrote:
>>> Oops, I meant Java2DB, which has to do with Java Persistence.
>>>
>>> June
>>>
>>> On 08/28/08 11:19, Jerome Dochez wrote:
>>>>
>>>> On Aug 28, 2008, at 11:16 AM, June.Parks_at_Sun.COM wrote:
>>>>
>>>>> So JavaDB will be in Prelude?
>>>> yes
>>>>> If so, I will need to uncomment some of the text I commented out
>>>>> for TP2.
>>>>>
>>>>> June
>>>>>
>>>>> On 08/27/08 19:46, Jerome Dochez wrote:
>>>>>> Jerome Dochez wrote:
>>>>>>> I am seeing the same thing. looks like we are suddenly missing
>>>>>>> javadb from the distribution, I need to spend more time looking
>>>>>>> at this. in the meantime, unziping
>>>>>>> ~/.m2/repository/org/glassfish/external/javadb/10.0-SNAPSHOT/javadb-10.0-SNAPSHOT.zip
>>>>>>>
>>>>>>> in your glassfish installation should work around it.
>>>>>> I think I was unclear, the zip file needs to be unzipped in the
>>>>>> parent directory containing glassfish installation.
>>>>>>>
>>>>>>> jerome
>>>>>>>
>>>>>>> Nandini Ektare wrote:
>>>>>>>> QL seems to require a javadb dir under glassfish home now...
>>>>>>>>
>>>>>>>> Has this changed recently? Or am I missing something?
>>>>>>>> Steps I did:
>>>>>>>> svn checkout
>>>>>>>> https://svn.dev.java.net/svn/glassfish-svn/trunk/v3/tests/quicklook
>>>>>>>>
>>>>>>>> cd quicklook
>>>>>>>> mvn
>>>>>>>> -Dglassfish.home=C:\scf\v3\distributions\web\target\glassfish
>>>>>>>> test | tee run.log
>>>>>>>>
>>>>>>>> And I get an error as below.
>>>>>>>>
>>>>>>>> Any idea?
>>>>>>>>
>>>>>>>> Nandini
>>>>>>>>
>>>>>>>>
>>>>>>>> C:\scf\quicklook>mvn
>>>>>>>> -Dglassfish.home=C:\scf\v3\distributions\web\target\glassfish
>>>>>>>> test | tee run.log
>>>>>>>> [INFO] Scanning for projects...
>>>>>>>> WAGON_VERSION: 1.0-beta-2
>>>>>>>> [INFO]
>>>>>>>> ----------------------------------------------------------------------------
>>>>>>>>
>>>>>>>> [INFO] Building Glassfish Quicklook Bundle
>>>>>>>> [INFO] task-segment: [test]
>>>>>>>> [INFO]
>>>>>>>> ----------------------------------------------------------------------------
>>>>>>>>
>>>>>>>> [INFO] [resources:resources]
>>>>>>>> [INFO] Using default encoding to copy filtered resources.
>>>>>>>> [INFO] [compiler:compile]
>>>>>>>> [INFO] No sources to compile
>>>>>>>> [INFO] [resources:testResources]
>>>>>>>> [INFO] Using default encoding to copy filtered resources.
>>>>>>>> [INFO] [compiler:testCompile]
>>>>>>>> [INFO] No sources to compile
>>>>>>>> [INFO] [surefire:test]
>>>>>>>> [INFO] No tests to run.
>>>>>>>> [INFO] [antrun-extended:run {execution: default}]
>>>>>>>> [INFO] Executing tasks
>>>>>>>> [echo] compile classpath: C:\scf\quicklook\target\classes
>>>>>>>> [echo] plugin classpath:
>>>>>>>> C:\software\Maven2.0.7\maven-2.0.7\repo\commons-logging\commons-logging\1.0.3\commons-log
>>>>>>>>
>>>>>>>> ging-1.0.3.jar;C:\software\Maven2.0.7\maven-2.0.7\repo\commons-codec\commons-codec\1.3\commons-codec-1.3.jar;C:\software
>>>>>>>>
>>>>>>>> \Maven2.0.7\maven-2.0.7\repo\junit\junit\3.8.1\junit-3.8.1.jar;C:\software\Maven2.0.7\maven-2.0.7\repo\ant\ant\1.6.5\ant
>>>>>>>>
>>>>>>>> -1.6.5.jar;C:\software\Maven2.0.7\maven-2.0.7\repo\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;C:\software
>>>>>>>>
>>>>>>>> \Maven2.0.7\maven-2.0.7\repo\org\apache\commons\commons-io\1.3.2\commons-io-1.3.2.jar;C:\software\Maven2.0.7\maven-2.0.7
>>>>>>>>
>>>>>>>> \repo\ant\ant-launcher\1.6.5\ant-launcher-1.6.5.jar;C:\software\Maven2.0.7\maven-2.0.7\repo\commons-httpclient\commons-h
>>>>>>>>
>>>>>>>> ttpclient\3.0.1\commons-httpclient-3.0.1.jar;C:\software\Maven2.0.7\maven-2.0.7\repo\org\testng\testng\5.6\testng-5.6-jd
>>>>>>>>
>>>>>>>> k15.jar;C:\software\Maven2.0.7\maven-2.0.7\lib\maven-core-2.0.7-uber.jar
>>>>>>>>
>>>>>>>>
>>>>>>>> clean:
>>>>>>>> [echo] Deleting all WAR/EAR in local testsuite directories!!!
>>>>>>>> [echo] There should not be any WAR file checked in.
>>>>>>>>
>>>>>>>> all:
>>>>>>>>
>>>>>>>> initprop:
>>>>>>>> [echo] JavaDB Database Location:
>>>>>>>> C:\scf\v3\distributions\web\target\glassfish/javadb
>>>>>>>>
>>>>>>>> startDerby:
>>>>>>>> [echo] Starting Derby DB servers in the Network Mode
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>> [ERROR] BUILD ERROR
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>> [INFO] An Ant BuildException has occured: The following error
>>>>>>>> occurred while executing this line:
>>>>>>>> C:\scf\quicklook\build.xml:48: The following error occurred
>>>>>>>> while executing this line:
>>>>>>>> C:\scf\quicklook\gfproject\db-targets.xml:42:
>>>>>>>> C:\scf\v3\distributions\web\target\glassfish\javadb\lib not found.
>>>>>>>>
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>> [INFO] Total time: 4 seconds
>>>>>>>> [INFO] Finished at: Wed Aug 27 18:49:00 PDT 2008
>>>>>>>> [INFO] Final Memory: 8M/14M
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>>
>>>>>>>> C:\scf\quicklook>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>