Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Multiple DB hibernate configuration

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Multiple DB hibernate configuration


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: "Gettes, Michael" <>, "" <>
  • Subject: [grouper-users] RE: Multiple DB hibernate configuration
  • Date: Thu, 5 Apr 2018 13:13:24 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:mGF27RFu+Vj2iN08ftxEX51GYnF86YWxBRYc798ds5kLTJ76p867bnLW6fgltlLVR4KTs6sC17KN9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCazbL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjm58axlVAHnhzsGNz4h8WHYlMpwjL5AoBm8oxBz2pPYbJ2JOPZ7eK7WYNEUSndbXstJVyJPHJ6yb5cBAeQCM+ZXrYj9qEcBoxSxHgSsGPjgxiNUinPqwaE30eIsGhzG0gw6GNIOtWzZoNv3OqYSUOG60rPIwS3eZP5I2Tf98onIcgsvrfqRWr9wdNbeyUkvFgLEkFqQs5foPzKO1usRqWSb8vJgWvypi24hsQ1+vCWgxto1h4TPm4kbxFfE9SBjz4Y0I921UE97Ydi4EJROrSGaMZV5Qt88T21ypik116AGtJimdyYJ0JQq3wDTZ+CFfoSS7R/uVfydLSp5iX9rYr6yhxa//VC9xuDySsW4ylJHojdfntXSq3wA0wbf5tWFR/Z85kuh1yiA2gPP5uxBJE05la7WJIQ/zbM1lZccrVrMEyvzlUrqkaCZbFgo9+2n5unjfLnrqZmRPJJuhA7kKKQhgMm/DPw4MgcQW2ib/vyx2qX/8EP+XLlGkOQ6n7fbv5zHPMgbobW2DBFP3oYk9ha/Eyyp0NMFnXkBMV1JYgqHj5LuO1HSPv/3Eeu/g1WrkDdt3fzGOaDhAonJLnjEl7fhfqxx5FJbyAo21dxf5pRUBa8dIP/rREP9qN7VAgU2PgG12errFdRw240EVW+PAqKVKKbSvkWJ5uIrLemMfogVuDPlJvgg+/HujX84mF4DcqmzxpYXaWu4Eeh8L0WEeXrjnNEBEWEQsgUgUePqlUWOUSRPaHaqQ6I8+jY7BZqpDYfZQYCtnaSB0zmhHpFPe2BGEU6DEW3zd4ifX/cMaTmSItN6kjAaT7ShSokh1Q2wuw/gzbpoMPbU9jMCuZ39ydd1+r6bqRZnvxN5E9iQyCXFamB/nmoFQ3V+iK9yvVBw0X+e36w+jvBFQ5gbrfxTVRoiOISZ0vd3EcvaWwTdc82PRUr8BNiqHHt5Gt0rxMIWblw4Bs6vlAvr3iy2DqUTmqDRQpE47/SP8WL2IpM362fU2bNlx3ImWMpUfyXyg6V/5hreHabIiE7fir6nc6Ja0SLQojTQhVGStV1VBVYjGZ7OWmoSMw6P9Yz0
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

The grouper db is grouper.hibernate.properties

Are you doing sources.xml or subject.properties? Either way, put the
connection information there for the source:

https://spaces.internet2.edu/display/Grouper/Grouper+book+-+Connecting+to+a+subject+source

<!--
e.g. mysql: com.mysql.jdbc.Driver
e.g. p6spy (log sql): com.p6spy.engine.spy.P6SpyDriver
for p6spy, put the underlying driver in spy.properties
e.g. oracle: oracle.jdbc.driver.OracleDriver
e.g. hsqldb: org.hsqldb.jdbcDriver
e.g. postgres: org.postgresql.Driver -->

<!-- init-param>
<param-name>dbDriver</param-name>
<param-value>org.hsqldb.jdbcDriver</param-value>
</init-param -->

<!--
e.g. mysql: jdbc:mysql://localhost:3306/grouper
e.g. p6spy (log sql): [use the URL that your DB requires]
e.g. oracle: jdbc:oracle:thin:@server.school.edu:1521:sid
e.g. hsqldb (a): jdbc:hsqldb:dist/run/grouper;create=true
e.g. hsqldb (b): jdbc:hsqldb:hsql://localhost:9001
e.g. postgres: jdbc:postgresql:grouper -->

<!-- init-param>
<param-name>dbUrl</param-name>

<param-value>jdbc:hsqldb:C:/projects/GrouperI2MI_1-2/grouper/dist/run/grouper</param-value>
</init-param>
<init-param>
<param-name>dbUser</param-name>
<param-value>sa</param-value>
</init-param>
<init-param>
<param-name>dbPwd</param-name>
<param-value></param-value>
</init-param -->


-----Original Message-----
From:


[mailto:]
On Behalf Of Gettes, Michael
Sent: Wednesday, April 04, 2018 10:09 PM
To:

Subject: [grouper-users] Multiple DB hibernate configuration

I would like to configure mysql for the grouper DB repository and Oracle as a
subject source DB.

I’ve been searching for an hour and it is just not obvious how to configure
multiple DBs.

It appears there is one hibernate config per file and if that is true, how
does one specify multiple hibernate configs to grouper?

Many thanks to anyone with a pointer in the right direction. Sometimes I
just feel stupid. (No comments please). :-)

/mrg




Archive powered by MHonArc 2.6.19.

Top of Page