]> git.mxchange.org Git - jcore.git/log
jcore.git
9 years agoupdated translation keys
Roland Haeder [Thu, 10 Sep 2015 20:10:42 +0000 (22:10 +0200)]
updated translation keys
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoUpdated author (email address)
Roland Haeder [Thu, 10 Sep 2015 13:39:05 +0000 (15:39 +0200)]
Updated author (email address)
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSome improvements
Roland Haeder [Wed, 9 Sep 2015 17:46:23 +0000 (19:46 +0200)]
Some improvements

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRemoved all no longer thrown exceptions
Roland Haeder [Wed, 9 Sep 2015 08:35:51 +0000 (10:35 +0200)]
Removed all no longer thrown exceptions
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoContinued:
Roland Haeder [Tue, 8 Sep 2015 20:42:47 +0000 (22:42 +0200)]
Continued:
- removed more JSP-stuff
- don't extend BaseFrameworkSystem in POJOs or FrameworkInterface in POJIs ... :-(
- Gender is now serializable
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoMore cleanup
Roland Haeder [Tue, 8 Sep 2015 13:38:08 +0000 (15:38 +0200)]
More cleanup
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoGetting rid of some things that don't work in EJB container ... :-(
Roland Haeder [Mon, 7 Sep 2015 18:47:05 +0000 (20:47 +0200)]
Getting rid of some things that don't work in EJB container ... :-(
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoRemoved final as this interfers with EJB's proxy classes
Roland Haeder [Mon, 7 Sep 2015 14:30:58 +0000 (16:30 +0200)]
Removed final as this interfers with EJB's proxy classes
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoWell, if that is EJB, it sucks somehow: Logging not allowed and a complexer class...
Roland Haeder [Mon, 7 Sep 2015 13:29:44 +0000 (15:29 +0200)]
Well, if that is EJB, it sucks somehow: Logging not allowed and a complexer class structure leaves strange errors behind:
----------------------------------------
Caused by: java.lang.NoClassDefFoundError: [Lorg/mxchange/jcore/model/contact/gender/Gender;
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
at java.lang.Class.privateGetPublicMethods(Class.java:2690)
at java.lang.Class.getMethods(Class.java:1467)
at org.glassfish.ejb.deployment.descriptor.EjbDescriptor.addAllInterfaceMethodsIn(EjbDescriptor.java:2577)
at org.glassfish.ejb.deployment.descriptor.EjbDescriptor.getLocalRemoteBusinessMethodDescriptors(EjbDescriptor.java:2530)
... 53 more
Caused by: java.lang.ClassNotFoundException: org.mxchange.jcore.model.contact.gender.Gender
----------------------------------------

Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoRemoved commons packages (not the jars, maybe it will come back)
Roland Haeder [Sat, 5 Sep 2015 14:28:28 +0000 (16:28 +0200)]
Removed commons packages (not the jars, maybe it will come back)
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIt is part of the model.
Roland Haeder [Fri, 4 Sep 2015 19:50:46 +0000 (21:50 +0200)]
It is part of the model.
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoCleanup from unused methods (TDGP -> EJB)
Roland Haeder [Fri, 4 Sep 2015 18:44:19 +0000 (20:44 +0200)]
Cleanup from unused methods (TDGP -> EJB)
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAlso this came from old TDGP times
Roland Haeder [Fri, 4 Sep 2015 14:53:20 +0000 (16:53 +0200)]
Also this came from old TDGP times
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoRemoved all TDGP-related classes as Persistence is coming
Roland Haeder [Fri, 4 Sep 2015 13:26:49 +0000 (15:26 +0200)]
Removed all TDGP-related classes as Persistence is coming
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoPreprared jcore for EJB applications:
Roland Haeder [Fri, 4 Sep 2015 12:51:33 +0000 (14:51 +0200)]
Preprared jcore for EJB applications:
- moved Gender into own sub package
- added utility class GenderUtils
- removed session-related stuff as this was a bad idea anyway
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAlso copy it to any EJB lib folders obsolete/jsp-table-data-gateway
Roland Haeder [Fri, 4 Sep 2015 08:26:32 +0000 (10:26 +0200)]
Also copy it to any EJB lib folders
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoBetter this way.
Roland Haeder [Thu, 3 Sep 2015 13:52:57 +0000 (15:52 +0200)]
Better this way.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRemoved toString()
Roland Haeder [Thu, 3 Sep 2015 13:32:13 +0000 (15:32 +0200)]
Removed toString()
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoTpyo fixed ... ;-)
Roland Haeder [Thu, 3 Sep 2015 08:38:51 +0000 (10:38 +0200)]
Tpyo fixed ... ;-)
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSorted members + removed setSelfInstance()
Roland Haeder [Thu, 3 Sep 2015 06:47:03 +0000 (08:47 +0200)]
Sorted members + removed setSelfInstance()
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoDefault gender is UNKNOWN
Roland Haeder [Thu, 3 Sep 2015 06:31:53 +0000 (08:31 +0200)]
Default gender is UNKNOWN
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoMoved Swing stuff to jswingcore
Roland Haeder [Wed, 2 Sep 2015 12:31:47 +0000 (14:31 +0200)]
Moved Swing stuff to jswingcore
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoA warning was to harsh here
Roland Haeder [Wed, 2 Sep 2015 08:38:09 +0000 (10:38 +0200)]
A warning was to harsh here
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoChanged to SortedSet to keep ordering
Roland Haeder [Tue, 1 Sep 2015 09:30:12 +0000 (11:30 +0200)]
Changed to SortedSet to keep ordering
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSome changes for internationalization
Roland Haeder [Tue, 1 Sep 2015 06:28:21 +0000 (08:28 +0200)]
Some changes for internationalization
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agodon't make all lower-case
Roland Haeder [Mon, 31 Aug 2015 09:29:17 +0000 (11:29 +0200)]
don't make all lower-case
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAlso allow upper-case characters
Roland Haeder [Mon, 31 Aug 2015 09:24:59 +0000 (11:24 +0200)]
Also allow upper-case characters
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoClosed internal TODO, got rid of 'size' as countTokens() can be used instead
Roland Haeder [Mon, 31 Aug 2015 07:46:21 +0000 (09:46 +0200)]
Closed internal TODO, got rid of 'size' as countTokens() can be used instead
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years ago@TODO is not valid, only use TODO
Roland Haeder [Mon, 31 Aug 2015 07:41:19 +0000 (09:41 +0200)]
@TODO is not valid, only use TODO
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoFixed NetBeans properties
Roland Haeder [Fri, 28 Aug 2015 14:20:39 +0000 (16:20 +0200)]
Fixed NetBeans properties
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoMore tpyos fixed ... ;-)
Roland Haeder [Fri, 28 Aug 2015 10:11:34 +0000 (12:11 +0200)]
More tpyos fixed ... ;-)
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoContinued:
Roland Haeder [Fri, 28 Aug 2015 10:09:19 +0000 (12:09 +0200)]
Continued:
- contacts are now fully comparable
- this project has double libraries and source packages, please try to fix it
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded field lastNumRows() with a public getter
Roland Haeder [Thu, 27 Aug 2015 21:38:54 +0000 (23:38 +0200)]
Added field lastNumRows() with a public getter
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoContinued:
Roland Haeder [Thu, 27 Aug 2015 21:26:47 +0000 (23:26 +0200)]
Continued:
- Added method numRows() (and implemented it generically)
- made doSelectByCrirtia() in BaseDatabaseBackend abstract
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded method resultSet() to Result
Roland Haeder [Thu, 27 Aug 2015 20:20:53 +0000 (22:20 +0200)]
Added method resultSet() to Result
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoExclude field names starting with a dollar character + added dist.sh which helps...
Roland Haeder [Thu, 27 Aug 2015 19:02:17 +0000 (21:02 +0200)]
Exclude field names starting with a dollar character + added dist.sh which helps me distributing the jcore.jar
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoNew jar for merging arrays added
Roland Haeder [Thu, 27 Aug 2015 13:33:54 +0000 (15:33 +0200)]
New jar for merging arrays added
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agouse getFields(), not getDeclaredFields()
Roland Haeder [Thu, 27 Aug 2015 12:26:23 +0000 (14:26 +0200)]
use getFields(), not getDeclaredFields()
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSome changes:
Roland Haeder [Thu, 27 Aug 2015 12:14:31 +0000 (14:14 +0200)]
Some changes:
- Moved sessionId + setter/getter to super class BaseFrameworkSystem
- added method isBundledInitialized()
- the data source identifier is now hard-coded
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoadded debug message
Roland Haeder [Thu, 27 Aug 2015 07:20:52 +0000 (09:20 +0200)]
added debug message
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoBetter compare this way:
Roland Haeder [Thu, 27 Aug 2015 06:51:19 +0000 (08:51 +0200)]
Better compare this way:

if (null == foo)

Otherwise could lead to a bug if you miss only one equal sign
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoThis should be an AND boolean comparison.
Roland Haeder [Thu, 27 Aug 2015 06:16:21 +0000 (08:16 +0200)]
This should be an AND boolean comparison.
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded more logging + support for logical AND matcher, readObject() currently causes...
Roland Haeder [Wed, 26 Aug 2015 13:33:01 +0000 (15:33 +0200)]
Added more logging + support for logical AND matcher, readObject() currently causes a NPE
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded supported (alpha quality) for null references + added more debug log
Roland Haeder [Wed, 26 Aug 2015 12:37:54 +0000 (14:37 +0200)]
Added supported (alpha quality) for null references + added more debug log
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoThe name 'wrapper' was not proper, better use 'frontend'.
Roland Haeder [Wed, 26 Aug 2015 11:54:36 +0000 (13:54 +0200)]
The name 'wrapper' was not proper, better use 'frontend'.
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoRenamed method + converted colum_name to fieldName ;-)
Roland Haeder [Wed, 26 Aug 2015 11:34:05 +0000 (13:34 +0200)]
Renamed method + converted colum_name to fieldName ;-)
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoLog also column name as an NPE came from here
Roland Haeder [Wed, 26 Aug 2015 11:23:50 +0000 (13:23 +0200)]
Log also column name as an NPE came from here
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoTpyo fixed ...
Roland Haeder [Wed, 26 Aug 2015 07:47:06 +0000 (09:47 +0200)]
Tpyo fixed ...
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoUse own getter-wrapper
Roland Haeder [Tue, 25 Aug 2015 13:03:05 +0000 (15:03 +0200)]
Use own getter-wrapper
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded setter for bundle
Roland Haeder [Tue, 25 Aug 2015 13:00:23 +0000 (15:00 +0200)]
Added setter for bundle
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoUse logException()
Roland Haeder [Mon, 24 Aug 2015 12:41:54 +0000 (14:41 +0200)]
Use logException()
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded getStoreableAtRow() which is a more generalized approach than e.g. readSingleCo...
Roland Haeder [Mon, 24 Aug 2015 11:55:21 +0000 (13:55 +0200)]
Added getStoreableAtRow() which is a more generalized approach than e.g. readSingleContact()
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoHandle thrown exception here
Roland Haeder [Mon, 24 Aug 2015 11:27:44 +0000 (13:27 +0200)]
Handle thrown exception here
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded thrown exception (from some method)
Roland Haeder [Mon, 24 Aug 2015 11:25:56 +0000 (13:25 +0200)]
Added thrown exception (from some method)
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoUse int, not Long to make it compatible with TableModel's method
Roland Haeder [Mon, 24 Aug 2015 11:23:22 +0000 (13:23 +0200)]
Use int, not Long to make it compatible with TableModel's method
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoGot rid of duplicates ...
Roland Haeder [Mon, 24 Aug 2015 11:10:04 +0000 (13:10 +0200)]
Got rid of duplicates ...
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSorted members
Roland Haeder [Mon, 24 Aug 2015 09:59:58 +0000 (11:59 +0200)]
Sorted members
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoMerge branch 'master' of /media/quix0r/stick/Java Project/jcore
Roland Haeder [Thu, 20 Aug 2015 15:21:06 +0000 (17:21 +0200)]
Merge branch 'master' of /media/quix0r/stick/Java Project/jcore

Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
src/org/mxchange/jcore/database/backend/datasource/DataSourceDatabaseBackend.java
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoNewly created data source backend added.
Roland Haeder [Thu, 20 Aug 2015 15:18:28 +0000 (17:18 +0200)]
Newly created data source backend  added.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded backend (unfinished) for datasources (JNDI). The usage of a Table Data Gateway...
Roland Haeder [Thu, 20 Aug 2015 12:16:55 +0000 (14:16 +0200)]
Added backend (unfinished) for datasources (JNDI). The usage of a Table Data Gateway Pattern allows the application to never "know" how the data is being stored or retrived from the database, it only gets its wanted objects back and stores them. Also the used pattern is simple (or simplier than) to understand. It also makes sure that the "business logic" classes is free of any SQL which makes it lesser dependent on SQL-based databases.
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded null check + fixed path for file-based database backends
Roland Haeder [Wed, 19 Aug 2015 15:24:54 +0000 (17:24 +0200)]
Added null check + fixed path for file-based database backends
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded logger
Roland Haeder [Wed, 19 Aug 2015 14:45:23 +0000 (16:45 +0200)]
Added logger
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded more logger
Roland Haeder [Wed, 19 Aug 2015 13:01:01 +0000 (15:01 +0200)]
Added more logger
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded debug message
Roland Haeder [Wed, 19 Aug 2015 12:43:12 +0000 (14:43 +0200)]
Added debug message
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIt has to be first name and family name OR surname ... :-(
Roland Haeder [Wed, 19 Aug 2015 09:51:44 +0000 (11:51 +0200)]
It has to be first name and family name OR surname ... :-(
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded debug message
Roland Haeder [Wed, 19 Aug 2015 09:34:31 +0000 (11:34 +0200)]
Added debug message
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoMoved class/interface in proper package as they are only "helper" classes and no...
Roland Haeder [Wed, 19 Aug 2015 09:18:46 +0000 (11:18 +0200)]
Moved class/interface in proper package as they are only "helper" classes and no useable backend.
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoBetter description what should be done with this method.
Roland Haeder [Tue, 18 Aug 2015 13:19:44 +0000 (15:19 +0200)]
Better description what should be done with this method.
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSome comments fixed
Roland Haeder [Tue, 18 Aug 2015 09:49:55 +0000 (11:49 +0200)]
Some comments fixed
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoUsed correct type
Roland Haeder [Tue, 18 Aug 2015 06:43:57 +0000 (08:43 +0200)]
Used correct type
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoImproved logging message with sizes of entry set and criteria matches
Roland Haeder [Tue, 18 Aug 2015 06:34:24 +0000 (08:34 +0200)]
Improved logging message with sizes of entry set and criteria matches
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoReplace multiple-added strings/objects into MessageFormat.format() call to reduce...
Roland Haeder [Mon, 17 Aug 2015 07:19:37 +0000 (09:19 +0200)]
Replace multiple-added strings/objects into MessageFormat.format() call to reduce string objects in string pool + ignored them for internationalization
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoOrganized members
Roland Haeder [Mon, 17 Aug 2015 07:07:13 +0000 (09:07 +0200)]
Organized members
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded support for Long and currently null is not supported
Roland Haeder [Mon, 17 Aug 2015 06:42:53 +0000 (08:42 +0200)]
Added support for Long and currently null is not supported
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSorted imports (NetBeans' choice?)
Roland Haeder [Mon, 17 Aug 2015 06:11:08 +0000 (08:11 +0200)]
Sorted imports (NetBeans' choice?)
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoFixed lib path
Roland Haeder [Mon, 17 Aug 2015 06:09:17 +0000 (08:09 +0200)]
Fixed lib path
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoContinued with jcore:
Roland Haeder [Sat, 15 Aug 2015 09:00:26 +0000 (11:00 +0200)]
Continued with jcore:
- renamed interface to SearchableCriteria (typo fixed)
- addCriteria() now accepts Boolean and not boolean
-

Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded Boolean type
Roland Haeder [Fri, 14 Aug 2015 22:49:09 +0000 (00:49 +0200)]
Added Boolean type
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded synchronized file access
Roland Haeder [Fri, 14 Aug 2015 22:44:24 +0000 (00:44 +0200)]
Added synchronized file access
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSome more parameter checks and split each BASE64 line
Roland Haeder [Fri, 14 Aug 2015 22:11:31 +0000 (00:11 +0200)]
Some more parameter checks and split each BASE64 line
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoContinued with jcore:
Roland Haeder [Fri, 14 Aug 2015 22:02:56 +0000 (00:02 +0200)]
Continued with jcore:
- Added interface Logical for logical matches ...
- Continued with matches() method in SearchCriteria: Now only single column tests are supported, but more follow!
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced getTotalRows() to DatabaseBackend implementations + added getIdName()...
Roland Haeder [Fri, 14 Aug 2015 21:25:03 +0000 (23:25 +0200)]
Introduced getTotalRows() to DatabaseBackend implementations + added getIdName() to DatabaseFrontend
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoLong story, short purpose. Short story, long purpose ...
Roland Haeder [Fri, 14 Aug 2015 21:05:09 +0000 (23:05 +0200)]
Long story, short purpose. Short story, long purpose ...

Well, String is stored in database, but some getter require Long or Float which cannot be casted. So a hard-code "casting" needs to be added ...
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced getType() which gets a type reflection from given value
Roland Haeder [Fri, 14 Aug 2015 20:19:35 +0000 (22:19 +0200)]
Introduced getType() which gets a type reflection from given value
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoChanged parameter type from String to Object + implemented one setter
Roland Haeder [Fri, 14 Aug 2015 19:48:53 +0000 (21:48 +0200)]
Changed parameter type from String to Object + implemented one setter
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced getMethodFromName() with value check
Roland Haeder [Fri, 14 Aug 2015 19:41:40 +0000 (21:41 +0200)]
Introduced getMethodFromName() with value check
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAlso added here missing thrown exceptions
Roland Haeder [Fri, 14 Aug 2015 19:27:14 +0000 (21:27 +0200)]
Also added here missing thrown exceptions
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoContinued with jcore:
Roland Haeder [Fri, 14 Aug 2015 19:18:47 +0000 (21:18 +0200)]
Continued with jcore:
- Added convertColumnNameToSetterMethod()
- Added setBooleanField()
- Added setField()
- Added setValueInStoreableFromColumn()
- Added getValueInStoreableFromColumn()
- Added missing trace message
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoContinued with jcore: (refacturing)
Roland Haeder [Fri, 14 Aug 2015 18:28:50 +0000 (20:28 +0200)]
Continued with jcore: (refacturing)
- Added Apache commons jar
- Added missing license files
- getValueFromColumn() and setValueFromColumn() are now moved to Storeable (that they are in BaseFrameworkSystem and then needs to be overwritten again was bad OOP-ed style anyway).
- Also for this work, the type-hint for (mostly) instance must be changed to Storeable
- Added new exception CorruptedDatabaseFileException. This is thrown when the file is damaged
- Removed CorruptedDatabaseFileException() as StoreableCsv is now removed, too
-
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded addToDataSet() for Boolean values
Roland Haeder [Fri, 14 Aug 2015 13:16:29 +0000 (15:16 +0200)]
Added addToDataSet() for Boolean values
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded handling of Integer and Float values
Roland Haeder [Fri, 14 Aug 2015 12:51:33 +0000 (14:51 +0200)]
Added handling of Integer and Float values
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded addToDataSet() for Number classes
Roland Haeder [Fri, 14 Aug 2015 12:31:15 +0000 (14:31 +0200)]
Added addToDataSet() for Number classes
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSorted members
Roland Haeder [Fri, 14 Aug 2015 12:29:58 +0000 (14:29 +0200)]
Sorted members
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoContinued with jcore:
Roland Haeder [Fri, 14 Aug 2015 10:00:47 +0000 (12:00 +0200)]
Continued with jcore:
- Improved handling of null values in doInsertDataSet()
- Added emptyStringToNull() to DatabaseFrontend interface
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoContinued with jcore:
Roland Haeder [Fri, 14 Aug 2015 08:49:44 +0000 (10:49 +0200)]
Continued with jcore:
- Added method doInsertDataSet()
- Introduced getPreparedStatement()
- Added new constructor in DatabaseResult for status code and SQL warnings from previous executeQuery() call
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoOne line ...
Roland Haeder [Wed, 12 Aug 2015 18:18:59 +0000 (20:18 +0200)]
One line ...
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded more thrown exceptions + catched some + added getting of SQL warnings into...
Roland Haeder [Thu, 13 Aug 2015 13:31:05 +0000 (15:31 +0200)]
Added more thrown exceptions + catched some + added getting of SQL warnings into Result instance
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoRewrote handling of values, now it is better secured using prepared statements
Roland Haeder [Thu, 13 Aug 2015 12:45:32 +0000 (14:45 +0200)]
Rewrote handling of values, now it is better secured using prepared statements
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSome additions to jcore:
Roland Haeder [Thu, 13 Aug 2015 12:22:51 +0000 (14:22 +0200)]
Some additions to jcore:
- renamed isValueEqual() to isFieldValueEqual() as this method does check a class field (aka. attribute)
- now search criteria can be limit and skip found matches
- added support for string criteria

Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoA lot changes on jcore:
Roland Haeder [Thu, 13 Aug 2015 10:07:33 +0000 (12:07 +0200)]
A lot changes on jcore:
- Implemented doSelectByCriteria() in MySQL backend
- Close only connection in same backend if it is still open
- Added method size() to Result/DatabaseResult
- Moved member entrySet() in BaseCriteria to proper location
- Fixed comments of interface Criteria and SearchableCriteria
- Some trace/debug messages added
- Now database frontends have a new method getResultFromSet() which transforms a ResultSet (SQL) to a Result (jcore)
- Sorted class/interface imports
Signed-off-by:Roland Häder <roland@mxchange.org>