Deprecated: Assigning the return value of new by reference is deprecated in /ohome/paquitos/public_html/dokuwiki/inc/parserutils.php on line 208
Deprecated: Assigning the return value of new by reference is deprecated in /ohome/paquitos/public_html/dokuwiki/inc/parserutils.php on line 211
Deprecated: Assigning the return value of new by reference is deprecated in /ohome/paquitos/public_html/dokuwiki/inc/parserutils.php on line 421
Deprecated: Assigning the return value of new by reference is deprecated in /ohome/paquitos/public_html/dokuwiki/inc/parserutils.php on line 594
Deprecated: Function split() is deprecated in /ohome/paquitos/public_html/dokuwiki/inc/auth.php on line 154
Warning: Cannot modify header information - headers already sent by (output started at /ohome/paquitos/public_html/dokuwiki/inc/parserutils.php:208) in /ohome/paquitos/public_html/dokuwiki/inc/auth.php on line 245
Warning: Cannot modify header information - headers already sent by (output started at /ohome/paquitos/public_html/dokuwiki/inc/parserutils.php:208) in /ohome/paquitos/public_html/dokuwiki/feed.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /ohome/paquitos/public_html/dokuwiki/inc/parserutils.php:208) in /ohome/paquitos/public_html/dokuwiki/feed.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /ohome/paquitos/public_html/dokuwiki/inc/parserutils.php:208) in /ohome/paquitos/public_html/dokuwiki/feed.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /ohome/paquitos/public_html/dokuwiki/inc/parserutils.php:208) in /ohome/paquitos/public_html/dokuwiki/inc/pageutils.php on line 512
Warning: Cannot modify header information - headers already sent by (output started at /ohome/paquitos/public_html/dokuwiki/inc/parserutils.php:208) in /ohome/paquitos/public_html/dokuwiki/inc/pageutils.php on line 513 PaquitoSoft's Projects Wiki
http://www.paquitosoft.com/dokuwiki/
2011-01-29T11:39:42+01:00PaquitoSoft's Projects Wiki
http://www.paquitosoft.com/dokuwiki/
http://www.paquitosoft.com/dokuwiki/lib/images/favicon.icotext/html2009-10-09T18:57:14+01:00paquitosoftes:finder
http://www.paquitosoft.com/dokuwiki/doku.php?id=es:finder&rev=1255107434&do=diff
API
/**
*
* @param query
* @param entityType
* @param detailLevel
* @param params
* @return collection of entities
* @throws InternalErrorException (DataNotFoundException, ReflectionException)
*/
public <T> List<T> finder(String query, Class<T> entityType, Integer detailLevel, Object ... params) throws InternalErrorException;text/html2009-10-09T18:56:53+01:00paquitosoftfinder
http://www.paquitosoft.com/dokuwiki/doku.php?id=finder&rev=1255107413&do=diff
API
/**
*
* @param query
* @param entityType
* @param detailLevel
* @param params
* @return collection of entities
* @throws InternalErrorException (DataNotFoundException, ReflectionException)
*/
public <T> List<T> finder(String query, Class<T> entityType, Integer detailLevel, Object ... params) throws InternalErrorException;text/html2009-01-09T12:26:31+01:00paquitosoftremove
http://www.paquitosoft.com/dokuwiki/doku.php?id=remove&rev=1231500391&do=diff
API
/**
* This method removes an entity from the database.
*
* @param entity to be removed
* @return removed entity
* @throws InternalErrorException (DataNotFoundException, ReflectionException)
*/
public <T> T remove(T entity) throws InternalErrorException;text/html2009-01-09T12:26:09+01:00paquitosoftes:remove
http://www.paquitosoft.com/dokuwiki/doku.php?id=es:remove&rev=1231500369&do=diff
API
/**
* This method removes an entity from the database.
*
* @param entity to be removed
* @return removed entity
* @throws InternalErrorException (DataNotFoundException, ReflectionException)
*/
public <T> T remove(T entity) throws InternalErrorException;text/html2009-01-09T12:25:26+01:00paquitosoftes:using_library
http://www.paquitosoft.com/dokuwiki/doku.php?id=es:using_library&rev=1231500326&do=diff
La clase principal que debe ser usada es ILMLFacade. En realidad no es una clase sino una interfaz, que expone la funcionalidad de la librería.
La implementación de esta librería está en la clase LMLFacadeImpl. La forma de obtener instancias de esta implementación es a través de la clase LMLFacadeFactory.text/html2009-01-09T12:24:33+01:00paquitosoftusing_library
http://www.paquitosoft.com/dokuwiki/doku.php?id=using_library&rev=1231500273&do=diff
Main class you should use is ILMLFacade. Actually this is an interface and it provides library functionality.
The implementation class is LMLFacadeImpl. To get an instance of this one you should use LMLFacadeFactory.
Ejemplo: (Read customer info using his identifier)text/html2008-09-29T13:37:22+01:00paquitosoftes:lightweight_model_layer_lml
http://www.paquitosoft.com/dokuwiki/doku.php?id=es:lightweight_model_layer_lml&rev=1222688242&do=diff
Bienvenid@! Este wiki es el lugar principal donde buscar documentación sobre el proyecto LML.
Cualquier sugerencia/comentario será bienvenido: paquitosoftware en gmail.com
Qué es LML?
LML en un pequeño (87Kb) motor de persistencia, fácil de usar, escrito en Java (versión 1.5+), cuyo principal objetivo es librar, en la mayor medida posible, al programador de la tarea de la comunicación entre su aplicación y la base de datos que la alimenta.
Es indudable que hoy en día la mayoría de las apli…text/html2008-09-29T13:37:05+01:00paquitosoftlightweight_model_layer_lml
http://www.paquitosoft.com/dokuwiki/doku.php?id=lightweight_model_layer_lml&rev=1222688225&do=diff
Welcome! This wiki is the main place for you to find LML project documentation.
Any comment/suggestion will be welcome: paquitosoftware en gmail.com
What is LML?
LML is a small (87kb) persistence engine, easy to use, written in Java (version 1.5+), whose main objective is to free developers, as much as it can, of the task of comunicating his application core with the database wich feeds it.
There's no doubt nowadays most applications use a RMDB as information store and one of the main ans r…text/html2008-09-29T13:36:47+01:00paquitosoftes:changelog
http://www.paquitosoft.com/dokuwiki/doku.php?id=es:changelog&rev=1222688207&do=diff
* Versión inicial.
* Corrección: Había un problema en el método ILMLFacade.finder() al utilizar consultas del tipo 'SELECT * FROM'. Al utilizar el asterisco, el método funcionaba mal y no completaba los resultados según el nivel de detalle proporcionado.
* Corrección: Si se producía un error al inicializar el pool (ej: sin acceso a base de datos), éste guardaba objetos de conexión nulos con los consiguientes errores al recuperarse del error.
* Corrección: El método ModelUtilities.insertV…text/html2008-09-29T13:33:06+01:00paquitosoftchangelog
http://www.paquitosoft.com/dokuwiki/doku.php?id=changelog&rev=1222687986&do=diff
* Initial version.
* Fix: There was an error in ILMLFacade.finder() method when usign 'SELECT * FROM' queries. Using '*' caused the library to not fill the results.
* Fix: If there was an error while initializing connection pool, the latter kept corrupted.
* Fix: ModelUtilities.insertValueIntoQuery() had an error when comparing value type against date types.
* Fix: ActionProcessor was trying to release connections after executing actions even when connection was null (for example: due …text/html2008-08-05T17:35:33+01:00paquitosoftannotations
http://www.paquitosoft.com/dokuwiki/doku.php?id=annotations&rev=1217950533&do=diff
Annotations are the basis for the communication between your application and LML. The are used for the engine to know about your entities, their relationships and how they are reflected in the database.
First of all, a summary of the annotations: