Class DatabaseConfigProperties
- java.lang.Object
-
- com.devonfw.module.jpa.dataaccess.api.DatabaseConfigProperties
-
class DatabaseConfigProperties extends Object
Workaround if forced to allow more IN-clause values than supported by your database if really required. Please use this feature with extreme caution. Databases do have their reasons for such limitations. Using to many values might also kill your statement cache in the database.- Since:
- 3.0.0
-
-
Field Summary
Fields Modifier and Type Field Description private static DatabaseConfigPropertiesinstanceprivate static org.slf4j.LoggerLOGstatic intMAX_SIZE_OF_IN_CLAUSE_IN_ORACLEDie maximale Anzahl von Werten, welche Oracle in einer IN-Klausel verarbeiten kann.private intmaxSizeOfInClause
-
Constructor Summary
Constructors Constructor Description DatabaseConfigProperties()The constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseConfigPropertiesgetInstance()intgetMaxSizeOfInClause()protected voidinitialize()StringtoString()
-
-
-
Field Detail
-
LOG
private static final org.slf4j.Logger LOG
-
instance
private static DatabaseConfigProperties instance
-
maxSizeOfInClause
@Value("${database.query.in-clause.max-values:2147483647}") private int maxSizeOfInClause
-
MAX_SIZE_OF_IN_CLAUSE_IN_ORACLE
public static final int MAX_SIZE_OF_IN_CLAUSE_IN_ORACLE
Die maximale Anzahl von Werten, welche Oracle in einer IN-Klausel verarbeiten kann.- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
@PostConstruct protected void initialize()
-
getMaxSizeOfInClause
public int getMaxSizeOfInClause()
-
getInstance
public static DatabaseConfigProperties getInstance()
- Returns:
- instance
-
-