.project
author Stefan Hühner <stefan.huehner@openbravo.com>
Tue, 08 Mar 2011 13:08:42 +0100
changeset 11087 7e9a7978463b
parent 1929 ad0353d93b0f
child 18975 2e488661bc5a
permissions -rw-r--r--
Change API of new OBDao class to be safer/cleaner
- getAllInstances, removed as just getFilteredCriteria().list()
- getOneInstance, removed as unsafe, most users can use existing uniqueResult
which fails with >1 result rows, and returns null or the value otherwise. This
fixes the unpredictable result is absence of an order by clause.
- getFilteredCriteria, remove version to disable client/org filter, can be
easily done with 1-2 lines extra in the caller when rally needed
- getFilteredCriteria: change api to use normal hibernate Criterion for
filtering which removes need for another class to declare the same concept
(Constraint).
carlos@0
     1
<?xml version="1.0" encoding="UTF-8"?>
carlos@0
     2
<projectDescription>
carlos@0
     3
	<name>openbravo</name>
carlos@0
     4
	<comment></comment>
carlos@0
     5
	<projects>
carlos@0
     6
	</projects>
carlos@0
     7
	<buildSpec>
carlos@0
     8
		<buildCommand>
carlos@0
     9
			<name>org.eclipse.jdt.core.javabuilder</name>
carlos@0
    10
			<arguments>
carlos@0
    11
			</arguments>
carlos@0
    12
		</buildCommand>
carlos@0
    13
		<buildCommand>
ivan@1738
    14
			<name>org.openarchitectureware.base.oawBuilder</name>
carlos@0
    15
			<arguments>
carlos@0
    16
			</arguments>
carlos@0
    17
		</buildCommand>
carlos@0
    18
	</buildSpec>
carlos@0
    19
	<natures>
carlos@0
    20
		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
carlos@0
    21
		<nature>org.eclipse.jdt.core.javanature</nature>
carlos@0
    22
		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
carlos@0
    23
		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
ivan@1738
    24
		<nature>org.openarchitectureware.base.oawNature</nature>
carlos@0
    25
	</natures>
carlos@0
    26
</projectDescription>