[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
ccee: DB Configuration - difference between "schema" and "explicitSchema"  XML
Forum Index -> Development
Author Message
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

(from mail conversation)

WhatÄs the difference between...

Code:
     public final static String CONFIG_db_schema = "db_schema";
     public final static String CONFIG_db_explicitSchema = "db_explicitSchema";
 


...in ccee_config.properties?

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

The "schema" parameter is applied to the connection internally:

The JDBC-connection API provides a corresponding method:
Code:
     Connection c = ....;
     c.setSchema("...");
 

In this case the DB-statements do not have to include a schema prefix.

Some of the JDBC drivers do not support this. So there is an alternative way of configuring by "eplicitSchema": now the schema is written as prefix to the table name of the queries.

...at the end you can choose between one of the options - according to your preference.

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

...added corresponding docu:

https://www.captaincasa.com/docu/eclnt_ccee/all.html#managingdatabaseschemes

Kind regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team