Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Run phase of the project and tables creation
[CDO] Run phase of the project and tables creation [message #1719638] Sun, 10 January 2016 21:04 Go to next message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 460
Registered: July 2009
Senior Member
Hello some questions about CDO application deployment

I did not found info on the wiki or on the newsgroup please forgive me if this subject is already answered somewhere

for some infrastructure concerns we don't have the possibility to let the cdo based application initialize the tables in the database (different rights, IT policy ...).

Does it exist some eclipse application or CDO scripts that can be releases to IT guys for database initialization ? What is the right way to do this ?

An example would be for instance :
my.eclipse.cdo.application -installDB -user myDBAdmin -pass myDBAdminpassword -uris http://myEPackageUriToRegister,http://mySecondEpackageToRegister




Re: [CDO] Run phase of the project and tables creation [message #1719655 is a reply to message #1719638] Mon, 11 January 2016 07:41 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 10.01.2016 um 22:04 schrieb Tristan Faure:
> Hello some questions about CDO application deployment
>
> I did not found info on the wiki or on the newsgroup please forgive me if this subject is already answered somewhere
>
> for some infrastructure concerns we don't have the possibility to let the cdo based application initialize the tables
> in the database (different rights, IT policy ...).
>
> Does it exist some eclipse application or CDO scripts that can be releases to IT guys for database initialization ?
> What is the right way to do this ?
>
> An example would be for instance :
> my.eclipse.cdo.application -installDB -user myDBAdmin -pass myDBAdminpassword -uris
> http://myEPackageUriToRegister,http://mySecondEpackageToRegister
Well, that isn't a script, either. It's an application. How would this application differ from the CDOServerApplication
w.r.t. what your IT guys want to do?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: [CDO] Run phase of the project and tables creation [message #1719658 is a reply to message #1719655] Mon, 11 January 2016 08:06 Go to previous messageGo to next message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 460
Registered: July 2009
Senior Member
Actually I did not see this topic : https://bugs.eclipse.org/bugs/show_bug.cgi?id=345431

My IT want to prepare the infrastructure so if the solution is : launch the cdo server application once with the cdo-server.xml :
- with the new declared epackage : <initialPackage nsURI="http://www.eclipse.org/emf/CDO/examples/company/1.0.0"/>
<initialPackage nsURI="http://xyz"/>
- their credentials

I think it is OK.
Just to be sure, does it exist other case where the database structure is modified ? (other than epackage registration)




Re: [CDO] Run phase of the project and tables creation [message #1719659 is a reply to message #1719658] Mon, 11 January 2016 08:17 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 11.01.2016 um 09:06 schrieb Tristan Faure:
> Actually I did not see this topic : https://bugs.eclipse.org/bugs/show_bug.cgi?id=345431
Yes, with <initialPackage nsURI="..."/> you should end up with a fully mapped repo/db. And then you could dump the
schema or the db with your db's dump utils.

>
> My IT want to prepare the infrastructure so if the solution is : launch the cdo server application once with the
> cdo-server.xml :
> - with the new declared epackage : <initialPackage nsURI="http://www.eclipse.org/emf/CDO/examples/company/1.0.0"/>
> <initialPackage nsURI="http://xyz"/>
> - their credentials
Sounds okay, too.

>
> I think it is OK. Just to be sure, does it exist other case where the database structure is modified ? (other than
> epackage registration)
Not that I remember of anything other than that.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: [CDO] Run phase of the project and tables creation [message #1719662 is a reply to message #1719659] Mon, 11 January 2016 08:36 Go to previous message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 460
Registered: July 2009
Senior Member
OK perfect thank you for the answer



Previous Topic:CDO server with Microsoft sql server
Next Topic:generating JUnit 4 tests
Goto Forum:
  


Current Time: Tue Apr 16 11:26:24 GMT 2024

Powered by FUDForum. Page generated in 0.13510 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top