Code Monkey home page Code Monkey logo

uaicriteria's People

Contributors

uaicriteria avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uaicriteria's Issues

Como utilizar functions

Bom estou começando a usar sua api agora e gostaria de saber se tem fazer chamadas de funcitons que eu criei no banco? Como por exemplo eu tenho uma function f_retorna_tempo e que chama la pela api.
Desde já obrigado!!!

getSingleResult() - Method / Exception

Dear Hebert,

would it be possible to add a new Method like getSingleResultWithoutException() into the next release?
It would be nice to have some behavior like Hibernate without handling exceptions on this (so in case of no results -> return null)

best regards

Florian

addHint aceita apenas String como valor

Bom dia,

Isso não é necessariamente um bug, mas uma limitação.
no addHint do UaiCriteria so é possivel passar e string como valor, e na api de Query do jpa permite Object.

fazer isso

UaiCriteria criteria //criação da criteria aqui
criteria.addHint("javax.persistence.cache.storeMode", CacheStoreMode.REFRESH);

não é possivel.

UaiCriteria getMultiSelectResult method should be generic

Currently getMultiSelectResult() from UaiCriteria returns a raw List.

public List getMultiSelectResult();

It should be something like:

public <T> List<T> getMultiSelectResult();

Otherwise, clients have to do a unchecked cast.

Filtros tipo OR

Hoje é possível pesquisar filtros OR apenas com o operador Equals, quando é preciso fazer um Like com diversos ORs isso não é possível.

Ex.:

select p from Person p
where (p.name LIKE '%Joseph%' OR p.lastName LIKE '%Samarc%') AND (p.name LIKE '%Hebert%' OR p.lastName LIKE '%Antoni%')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.