]>
git.mxchange.org Git - jcore.git/log
Roland Haeder [Fri, 25 Sep 2015 12:25:48 +0000 (14:25 +0200)]
Added enumeration annotation
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 25 Sep 2015 10:35:42 +0000 (12:35 +0200)]
There are no house numbers larger than 1,000 ... ;-)
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 24 Sep 2015 12:57:38 +0000 (14:57 +0200)]
Continiued:
- reformatted many files
- got rid of BaseContact and made UserContact to an entity
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 24 Sep 2015 09:32:23 +0000 (11:32 +0200)]
Temporal values don't like strings, good!
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 24 Sep 2015 09:26:54 +0000 (11:26 +0200)]
java.sql.Timestamp is sadly not available in JPA ... :-( Losing type-safety here ...
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 23 Sep 2015 10:37:21 +0000 (12:37 +0200)]
added copyAll()
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 23 Sep 2015 06:35:41 +0000 (08:35 +0200)]
Merge branch 'master' into rewrites/jpa
Roland Haeder [Wed, 23 Sep 2015 06:35:22 +0000 (08:35 +0200)]
updated project files
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 22 Sep 2015 14:05:47 +0000 (16:05 +0200)]
JPA started
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 18 Sep 2015 11:05:39 +0000 (13:05 +0200)]
added missing serial numbers
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 18 Sep 2015 06:49:49 +0000 (08:49 +0200)]
updated fields created and updated
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 18 Sep 2015 06:44:12 +0000 (08:44 +0200)]
added setter for ownContact "flag"
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 17 Sep 2015 06:22:42 +0000 (08:22 +0200)]
Added method getTranslatedGender()
Signed-off-by:Roland Häder <roland@mxchange.org>
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>
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>
Roland Haeder [Wed, 9 Sep 2015 17:46:23 +0000 (19:46 +0200)]
Some improvements
Signed-off-by: Roland Häder <roland@mxchange.org>
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>
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>
Roland Haeder [Tue, 8 Sep 2015 13:38:08 +0000 (15:38 +0200)]
More cleanup
Signed-off-by:Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Roland Haeder [Thu, 3 Sep 2015 13:32:13 +0000 (15:32 +0200)]
Removed toString()
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 3 Sep 2015 08:38:51 +0000 (10:38 +0200)]
Tpyo fixed ... ;-)
Signed-off-by:Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Roland Haeder [Wed, 26 Aug 2015 07:47:06 +0000 (09:47 +0200)]
Tpyo fixed ...
Signed-off-by:Roland Häder <roland@mxchange.org>
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>
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>
Roland Haeder [Mon, 24 Aug 2015 12:41:54 +0000 (14:41 +0200)]
Use logException()
Signed-off-by:Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
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>
Roland Haeder [Mon, 24 Aug 2015 09:59:58 +0000 (11:59 +0200)]
Sorted members
Signed-off-by:Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
Roland Haeder [Wed, 19 Aug 2015 14:45:23 +0000 (16:45 +0200)]
Added logger
Signed-off-by:Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Roland Haeder [Mon, 17 Aug 2015 07:07:13 +0000 (09:07 +0200)]
Organized members
Signed-off-by:Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>