Log of /trunk/schmitzm-db/src/main/java/postgres
Directory Listing
Revision
1819 -
Directory Listing
Modified
Sat Jan 14 20:45:15 2012 UTC
(13 years, 1 month ago)
by
alfonx
neues modul schmitzm-db
Revision
1752 -
Directory Listing
Modified
Tue Oct 11 11:51:38 2011 UTC
(13 years, 4 months ago)
by
mojays
Original Path:
trunk/schmitzm-core/src/main/java/de/schmitzm/postgres
LangUtil: handle null-time in combineDate(.)
DateInputOption.DateTime: handle null-time
PGUtil: BugFix in addIndex(.) in FillFactor-Condition; optional Parameters for createRole(.) to grand other roles to new role
Revision
1729 -
Directory Listing
Modified
Sat Sep 24 14:14:32 2011 UTC
(13 years, 5 months ago)
by
alfonx
Original Path:
trunk/schmitzm-core/src/main/java/de/schmitzm/postgres
/**
* Liefert die Anzahl der offenen Sessions zur Datenbank.
*
* @param c
* DB-Verbindung
* @param dbName
* Name der Datenbank fuer die die Sessions gezaehlt werden (kann {@code null} sein)
* @param userName
* Name des Users fuer den die Sessions gezaehlt werden (kann {@code null} sein)
* @param queryLike
* like-Beindung auf die Query die in der Session ausgeführt wird, oder <code>null</code>
*/
public static int getOpenSessionCount(Connection c, String dbName, String userName, String queryLike)
throws SQLException {
Revision
1712 -
Directory Listing
Modified
Tue Sep 6 10:38:45 2011 UTC
(13 years, 5 months ago)
by
alfonx
Original Path:
trunk/schmitzm-core/src/main/java/de/schmitzm/postgres
/**
* Der : (Doppelpunkt) hat in PSQL eine besondere Bedeutung. Er wind mit
* dieser methode escaped. Diese Methode sollte mit <code>like E'"+PGUtil.escape(...)+"'</code>
* verwendet werden.
*/
public static String escape(String key) {
key = key.replaceAll(":", "\\:");
return key;
}