Ujorm / News: Recent posts

Ujorm 1.48 released

Some last changes:

  • many changes for a Apache Wicket integration
  • implemented support for locking the beans
  • many small improvements
  • Java Runtime 6.0 is supported still
Posted by Pavel Ponec 2014-07-28

Ujorm 1.45 released

  • the Ujorm release 1.45 is Java 8.0 ready
  • the method CompositeKey.setValue() creates all missing relations by default
  • many small code cleanings
  • new documentation for the CORE module
Posted by Pavel Ponec 2014-03-24

Ujorm 1.44 released

  • hierarchical queries (with a relation to yourself) are supported using an alias of the key (see the new method Key.alias())
  • an XSD generator is implemented to get an Ujo class structure in a XML format
  • new XSD file for ORM configuration files is available to a check
  • code cleaning is done
  • documentation was extended
Posted by Pavel Ponec 2014-03-11

Ujorm 1.42 released

  • native database sequences are supported by the new class 'NativeDbSequencer'
  • the operator 'BinaryOperator.NOT' is supported in the ORM module now
  • method KeyRing.find(..) is improved for a parsing of composite Keys
  • the PropertyModifier class is redesigned for a cleaner code and the better performance
Posted by Pavel Ponec 2014-02-03

Ujorm 1.41 released

  • deprecated interface UjoProperty is removed and
  • many obsolete methods was removed too
  • the lazy-loading can be allowed using the parameter MetaParams.LAZY_LOADING on the closed session optionally
  • there is supported building new Criterion using a template: Order.ID.forSql("{0} > {1}", 0L)
  • the property separator character '.' can be enabled in the key/property name by the overriding the method: Property.isPropertySeparatorDisabled()
Posted by Pavel Ponec 2013-12-04

Ujorm 1.40 released

  • small bug-fixing is done
  • CSV parsing is extended
  • new sample web application is available on the link: http://hotels.ujorm.org/
Posted by Pavel Ponec 2013-12-04 Labels: release

Ujorm 1.34 released

Changes:

  • the new Ujorm TransactionManager implementation is ready to use
  • Criterion object is serializable now
  • new method Criterion.toStringFull() prints the condition including a domain name by example: Person(id EQ 3)
  • new method to print all information about the Key.toStringFull(true)
  • CSV parser and creator have got extended API
  • the AliasTable class supports building free SQL scripts using the Ujorm meta-model
  • new ORM parameter MetaParams.INITIALIZATION_BATCH can specify a user initicialization code
  • very much small changes, JavaDoc information and code cleaning is done
Posted by Pavel Ponec 2013-05-11

Ujorm 1.32 released

+ many Ujo Validators are available now in the CORE module for common use
+ the one database request loading for relations is supported using the database Query object API
+ lazy loading can be disabled by default for each Query now
+ CSV import tool can check a content of the header in the reading time
+ the RingBuffer tool was extended for new useful methods
+ more checkpoints, code cleaning and jUnit tests are done
+ documentation was extended

Posted by Pavel Ponec 2013-01-20

Ujorm 1.31 released

Major changes:
+ database statements UPDATE or DELETE supports entity relations in the Criterion - including batch mode
+ SQL entity and column names can be "quoted" optionally in the real SQL statements, for more information see the method: MetaParams.setQuotedSqlNames()
+ the one critical bug is fixed for some cases of the lazy loading
+ explicitly defined Key name created using a factory is fixed now
+ there is available the new great plugging to NetBeans IDE to generate getters and setters easy for UJO

Posted by Pavel Ponec 2012-12-11

Ujorm 1.30 released

+ maven project GroupId is renamed to the Ujorm
+ the interface UjoProperty is renamed to the Key and the original interface is deprecated now
+ static factory methods for Key implementations does not contain original Class arument due the attribute is taken by a Java reflection now
+ new class KeyFactory for an altenative way to create new ujo keys
+ a lazy loading implementation of the ORM is moved from domain objects to a new OrmProperty class
+ the new interface WeakKey without the generic domain type parameter is finished. It is the simplified Key
+ new class KeyRing intended to create a serializable and immutable Key collection
+ new method Key.getDomainType() inteded to return a related domain class... read more

Posted by Pavel Ponec 2012-10-21

Ujorm 1.22 released

+ the UjoProperty interface extends the CriterionMaker now for a simpler Criterion building
+ new annotation parameter called converter can be assigned for a special reading data from/to ResultSet.
+ new method UjoComparator.sort() is implemented and a better type safe using Java generics
+ solid database names of foreign columns name constrains is implemented
+ the right parameter of Criterion can be an indirect property
+ the default implementation toString() of the AbstractUjo object is improved... read more

Posted by Pavel Ponec 2012-01-30

Ujorm 1.21 released

The release notes:

+ Java 7.0 is supported now
native SQL query can be used in the run-time on demanding requirements
+ direct support for the Slf4J Logger framework
+ slightly extended API for an easier use
+ new special interface to store binary content to a BLOB
+ new special class (OrmTableSynchronized) is available the safe use in a multi-thread environment
+ many other extensions is implemented and
+ small bug fixing for some dialects and some minor bugs are fixed... read more

Posted by Pavel Ponec 2011-11-07

Ujorm 1.20 released

The last changes:
+ the 'Sequence Table Model' is implemented to an optional customize of the 'ujorm_pk_support' table.
+ the batch INSERT for list of items usding a multi row SQL INSERT is implemented
+ the batch UPDATE is supoorted now, see documentation for more information
+ new method Query.setColumns(..) is implemented for the SQL SELECT performance optimization
+ select DISTINCT is supported now
+ each meta-model table can be marked like a READ-ONLY using a new parameter in annotation @Table
+ configuration supports the READ-ONLY mode for required table(s)
+ core class UjoComparator supports the Collator for comparation of the String items.
+ composite class UjoProperty have got implemented two new methods: equals() and hashCode() and the getName() method is optimized now
+ auto increment is supported for data type String now
+ the documentation Ujorm User Guide is extended and new samples are done
+ database commits are executed by order of assigning database models now
+ API of the class Criterion is extended for two methods: forAll() and forNone()
+ many Ujorm source code cleanings are finished
+ constructor new SortingProperty(..) is replaced for a factory method PathProperty.sort(..)
+ see the link for more informaton: http://ujorm.com/javadoc/changes.txt

Posted by Pavel Ponec 2011-06-12

Ujorm 1.10 released

Ujorm is an easy-to-use ORM famework designed for rapid Java development with great performance and a small footprint. The key features are type safe queries, relation mapping by Java code, no entity states, and a memory overloading protection cache.

The last changes:
+ dialect for the database MS-SQL is implemented
+ new native Criterion is implemented with an SQL expression to use on Ujorm query
+ new annotation @Comment can be used to describe database tables or columns
+ correction the behavior Ujorm release 0.90 where the missing table 'ujorm_pk_support' was a sign to creating all the DB structure
+ there is possible to suppress the formation table 'ujorm_pk_support' by overriding the method UjoSequencer.isSequenceTableRequired() in case a different implementation of the ID generator is used
+ documentation Ujorm User Guide is extended... read more

Posted by Pavel Ponec 2011-02-07

UJO Framework 1.00 released to production use

I would like to announce that the open-source ORM framework Ujorm 1.00 has been released. The framework was designed for the rapid Java development based on a relation database, framework provides a type-safe API for database queries so the most of typing errors are detected before running the application. Developer can take an advantage of a code-completion in their favorite IDE at coding time.

The framework has implemented a lot of changes that have been designed on the desire of developers of commercial applications in the last year. Important features include:... read more

Posted by Pavel Ponec 2010-10-19

UJO Framework 0.94 is released

The ORM framework Ujorm 0.93 for rapid Java development based on a relation database has been released. The framework provides a type-safe API for database queries so the most of typing errors are detected before running the application. Developer can take an advantage of a code-completion in their favorite IDE at coding time.

The last changes:

+ stored database procedures and functions are supported
+ the class Query implements the interface Iterable
+ mapping the Enum to VARCHAR - by interface ValueExportable
+ mapping any user object to VARCHAR - by interface ValueExportable
+ new method OrmTools.loadLazyValues(...) to load lazy values to required depth
+ new method session.reload(ujo) to reload properties from database
+ new method Criterion.whereNull(..) to simple comparison to the NULL literal
+ MetaParams supports the "set(..)" value to change values
+ checking an open Session is done
+ assembling the meta-model is synchronized now
+ parameter name 'Orm2ddlPolicy' is renamed to 'orm2ddlPolicy'
+ class MetaView is renamed to MetaSelect
+ JavaDoc and Tutorial in the class are improved... read more

Posted by Pavel Ponec 2010-05-02

UJO Framework 0.93 is released

The framework provides a powerful object architecture for a common use include an object-relation mapping (ORM) for a rapid development (see the module Ujorm). The unique object architecture is suitable for to a text persistence, building common generic functions due its easy introspection and a data binding for example.

The last changes:

* core: new method to copy value: UjoProperty.copy(from, to)
* core: new method to create instance: Criterion.where(condition)
* core: the Criterion visualization is improved by the method: Criterion.toString()
* orm: the incremental database update by meta-model using DDL statements
* orm: the LIMIT and OFFSET are supported by attributes of the Query
* orm: database indexes are created by the meta-model, there are supported unique, non-unique indexes include a composed one
* orm: new method to get a foreign key: OrmTable.readPK(property)
* orm: checking the SQL keywords
* orm: note: database table by the SQL statement: ALTER TABLE ormujo_pk_support RENAME TO ujorm_pk_support;

Posted by Pavel Ponec 2010-03-10

UJO Framework 0.92 was released

This Java framework provides a powerful object architecture for a common use include an object-relation mapping (ORM) for a rapid development (see module Ujorm).
The unique object architecture is suitable for to different text persistence, building common generic functions due its easy introspection and a data binding for example.

The last changes:

+ THE IMPORTANT CHANGE: the method UjoProperty.getValue() replaces the value of null for default - instead of the original method Ujo.readValue() in the previous release!
+ two UjoProperties can be easily concatenated using the new type safe method add(...)
+ the base UJO objects support the 'java.io.Serializable' feature - include the OrmTable
+ code cleaning, extended JavaDoc, small bug fixing
+ orm: Enum support is done by mapping to a numeric DB type
+ orm: custom Java type mapping is supported by extending the class TypeService
+ orm: the new method OrmHandler.findPropertiesByTypeClass(Class) for common use is done
+ orm: simplified SQL dialect implementations is done include the ORACLE support
+ orm: a new feature available by method Sesssion.isRollbackOnly()
+ orm: default value for parameter SEQUENCE_CACHE is 100 (instead of original 64)
- orm: reading a null value from ResultSet is fixed
- orm: the MySqlDialect if fixed, an explicit use of the engine 'InnoDB' was implemented

Posted by Pavel Ponec 2010-01-04

UJO Framework 0.91 was released

UJO Framework is an open source Java library providing non-traditional object architecture with a persistence object support include ORM.

The last changes:
+ pesimistic lock implementation for ORM
+ internal ORM sequence supports now: Long, Integer, BigInteger, Short, Char
+ two Criterion operators are done for a user customization in the SQL statement (Ujorm)
+ Hibernate support is fixed
+ new static method creates a ListProperty with the default property name
+ JavaDoc improvements include 'Tutorial in the class' is done
+ peformance tuning + new benchmark values are released

Posted by Pavel Ponec 2009-09-24

UJO Framework 0.90 was released

The release contains a new module for the object-relation mapping (ORM) for Java called Ujorm.

The Ujorm is an easy to use, quick ORM solution with a small footprint. Some next features are: the type safe parameters in the query, relation mapping by Java code rather, no proxy object, no entity states and a memory overloading protection cache.

Besides the ORM solution this framework provides some persistence services to text formats include the XML.

Posted by Pavel Ponec 2009-09-15

UJO Framework 0.85 is released

UJO Framework provides objects with a different architecture from JavaBeans wich is based a static properties.
This unusual architecture has some exciting features: an easy object introspection without a heavy PropertyDescriptor implementation,
a transfer of the UJO object properties (not values) by a collection, the core of the building has two interfaces for an easy implementation.
These properties open up new possibilities for the use in the J2EE mainly in a production of generic operations over objects.
Framework contains some tools for managing the UJO object in addition.
See a short motivational presentation for more information: http://ujoframework.org .
You can find a link to a reference application called jWorkSheet on the home page.
The jWorkSheet is a project time tracker application and uses the architecture UJO objects consistently for all persistent objects.... read more

Posted by Pavel Ponec 2009-04-20

UJO Framework 0.84 is released

UJO Framework provides objects with a different architecture from JavaBeans wich is based a static properties. This unusual architecture has some exciting features: an easy object introspection without a heavy PropertyDescriptor implementation, a transfer of the UJO object properties (not values) by a collection,
the core of the building has two interfaces for an easy implementation.
These properties open up new possibilities for the use in the J2EE mainly
in a production of generic operations over objects. Framework contains some tools for managing the UJO object in addition.
See a short motivational presentation for more information: http://ujoframework.org .
You can find a link to a reference application called jWorkSheet on the home page.
The jWorkSheet is a project time tracker application and uses the architecture UJO objects consistently
for all persistent objects.... read more

Posted by Pavel Ponec 2009-03-08

UJO Framework 0.83 is released

UJO Framework provides objects with a different architecture from JavaBeans. The original idea was a toy with generic data types of Java 5.0 however over time it appears, that the architecture has some exciting features: an easy object introspection without a heavy PropertyDescriptor implementation, a transfer of the UJO object properties (not values) by a collection, the core of the building has two interfaces for an easy implementation. These properties open up new possibilities for the use in the J2EE mainly in a production of generic operations over objects. Framework contains some tools for managing the UJO object in addition. See a short motivational presentation for more information: http://ujoframework.org . You can find a link to a reference application called jWorkSheet on the home page. The jWorkSheet is a project time tracker application and uses the architecture UJO objects consistently for all persistent objects.... read more

Posted by Pavel Ponec 2009-01-29

UJO Framework 0.82 is released

The last changes:

* new class PathProperty for a composition of several UjoProperties

* Charset is supported by a UjoManager object

* UjoProperty implements a CharSequence for an easy access to the property Name

* new class ListProperty extending UjoPropertyList is created for property ArrayList implementations

* new method is UjoPropertyList.removeItem(UJO, ITEM) is added

* new method SuperUjoExt.remove(UjoPropertyList, ITEM) is added... read more

Posted by Pavel Ponec 2008-11-23

UJO Framework 0.81 is released

The last changes:
+ new class PathProperty for a composition of several UjoProperties
+ Charset is supported by a UjoManager object
+ UjoProperty implements a CharSequence for an easy access to the property Name
+ new class ListProperty extending UjoPropertyList is created for property ArrayList implementations
+ new method is UjoPropertyList.removeItem(UJO, ITEM) is added
+ new method SuperUjoExt.remove(UjoPropertyList, ITEM) is added
+ small bug fixing and new JUnit tests... read more

Posted by Pavel Ponec 2008-10-21