ObjectDB ObjectDB

Internal Website Search

21-24 of 24 resultsRefresh
29

Problem of query With an aggregate function

", convert.convertDateTime(choix.getEndDate())); List<BigDecimal[]> listRes = new ArrayList<BigDecimal[]>(); listRes = (List<BigDecimal[]>) listClassRepHost.getResultList(); List<Long> listSommeLong = new ArrayList<Long>(); for (BigDecimal[] bigDecimals : listRes
19

Query in JPA2 with LEFT JOIN on INNER JOIN

(ActionProfileAdminAdvancedResponse_.class); CriteriaQuery<BigDecimal> profileCriteriaQuery = cb.createQuery(BigDecimal.class ... .join(Action_.actionProfiles,JoinType.LEFT); Selection<BigDecimal> selection
5

Wrong type on SUM function

", this).getResultList(); The problem is about SUM on cc.totalCC.importe, a BigDecimal field. It works fine on all groups giving to me the correct sum BigDecimal value, except in one group that have only one object with a BigDecimal value that has no decimals, for this group it returns a Long type value
2

ObjectDB 2.6.0

file withunexpected HashMap.Entry as a listed type. Fixed return type of SUM queries on BigDecimal

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support