Hibernate SVN: r17348 - core/trunk.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-08-18 08:28:19 -0400 (Tue, 18 Aug 2009)
New Revision: 17348
Modified:
core/trunk/changelog.txt
Log:
prep 3.5.0-Beta-1
Modified: core/trunk/changelog.txt
===================================================================
--- core/trunk/changelog.txt 2009-08-18 09:44:40 UTC (rev 17347)
+++ core/trunk/changelog.txt 2009-08-18 12:28:19 UTC (rev 17348)
@@ -5,7 +5,179 @@
refer to the particular case on JIRA using the issue tracking number to learn
more about each case.
+Changes in version 3.5.0.Beta-1 (2009.08.18)
+-------------------------------------------
+** Sub-task
+ * [HHH-3801] - Create a cache-jbosscache-legacy module
+ * [HHH-3802] - Move the up-to-date JBC integration into cache-jbosscache
+ * [HHH-3803] - Repackage JBC integration to org.hibernate.cache.jbc
+ * [HHH-4027] - Remove current cache-jbosscache module content
+ * [HHH-4028] - Move current cache-jbosscache2 module content to cache-jbosscache
+ * [HHH-4029] - Remove cache-jbosscache2 module
+
+** Bug
+ * [HHH-1930] - QuerySyntaxException "with-clause expressions did not reference from-clause element to which the with-clause was associated"
+ * [HHH-2146] - NullpointerException in DefaultDeleteEventListener.deleteTransientEntity
+ * [HHH-2694] - create-drop with c3p0 causes SQLException
+ * [HHH-2745] - NullPointerException when eager fetching joined many-to-many with native SQL query
+ * [HHH-3046] - Merge fails on complicated data structure because of cycle references
+ * [HHH-3216] - Incorrect parse result in ParameterParser
+ * [HHH-3231] - org.hibernate.id.enhanced.TableGenerator throws "IllegalArgumentException: alias not found: tbl" under Oracle
+ * [HHH-3351] - Dynamic entity model and inheritance - exception when trying to persist
+ * [HHH-3392] - Query Cache entries are not distributable
+ * [HHH-3472] - JTASessionContext broken for WebSphere
+ * [HHH-3481] - JTATransactionFactory bug when Transaction cannot be found in JNDI
+ * [HHH-3506] - enabled filters should apply to HQL update/delete statements
+ * [HHH-3508] - Sybase Dialect - Override supportsCascadeDelete to return "false"
+ * [HHH-3519] - account for parameters in select clause of INSERT-SELECT for DB2
+ * [HHH-3528] - FETCH JOIN query doesn't work in a StatelessSession
+ * [HHH-3573] - Incorrect support for columns which aren't insertable
+ * [HHH-3575] - Empty versions-query (both types) will cause a runtime exception
+ * [HHH-3584] - Generate SQL when Dynamic Update is true is including version field even when marked as updateable=false
+ * [HHH-3594] - Hibernate collection listener throw exception when adding entity to the collection
+ * [HHH-3600] - exception while saving bidirectional association
+ * [HHH-3602] - Inheritence issue
+ * [HHH-3621] - Assertion failure in MigrationTest
+ * [HHH-3623] - Make at least ListProxy serializable
+ * [HHH-3633] - Envers ignores empty discriminator classes
+ * [HHH-3636] - Attempt to read invalid column when loading collection of subclasses mapped with table-per-subclass with discriminator
+ * [HHH-3640] - Some standard SQL functions are not implemented in Sybase
+ * [HHH-3647] - instance not of expected entity type: java.util.HashMap is not a: smx3.schema3.Party_AUD
+ * [HHH-3652] - CompositeIdWithGeneratorTest needs a standard way to compare timestamps
+ * [HHH-3662] - Merging read-only entities causes AssertionError("Merged entity does not have status set to MANAGED...")
+ * [HHH-3668] - Sybase does not support implicit conversion from character types to numeric types causes failing unit tests
+ * [HHH-3670] - Invalid test for str() for SQL Server and Sybase
+ * [HHH-3671] - The revision type field is not persisted when setting a custom revision type field name throught the properties
+ * [HHH-3672] - Sybase - second(), minute(), hour(), and extract() cause GenericJDBCException
+ * [HHH-3675] - Limitations on Sybase ResultSet implementation cause unit test failures
+ * [HHH-3679] - Sybase conversion of Java byte to tinyint fails with 8-bit values causing unit test failures
+ * [HHH-3680] - Sybase - composite primary key in unit test exceeds maximum for index causing failure
+ * [HHH-3686] - Sybase - QueryCacheTest.testQueryCacheInvalidation fails
+ * [HHH-3693] - Implicit Polymorphic query + pagination returning zero result
+ * [HHH-3696] - Sybase - unit tests fail when numeric values overflow in precision or scale on insert
+ * [HHH-3698] - Problem with HQL parameter bindings as indexed collection selectors
+ * [HHH-3699] - Problem with HQL parameter bindings for parameters in WITH join clause
+ * [HHH-3701] - SQL function "trim" is not available in Sybase Dialect
+ * [HHH-3703] - RevisionEntity with compound primary key fails
+ * [HHH-3705] - NPE encountered on using AnnotationConfiguration
+ * [HHH-3706] - Audit Table Schema not generated using <annotationconfiguration>
+ * [HHH-3729] - @AuditJoinTable annotation has no effect for embedded concrete subclasses of a MappedSuperClass
+ * [HHH-3736] - Envers EntityInstantiator does not support private constructors for immutable entities
+ * [HHH-3740] - Unable to build EntityManagerFactory when using a non-audited ManyToOne in Audited components
+ * [HHH-3741] - Join tables are not audited if the join is defined in an abstract
+ * [HHH-3773] - NPE when generating schema containing OneToMany relations
+ * [HHH-3779] - "org.hibernate.MappingException: An audited relation to a non-audited entity" during schema-export ant task
+ * [HHH-3782] - Saving a one-to-many relationship results in unsaved transient instance exception
+ * [HHH-3794] - Issue when method return type is Interface
+ * [HHH-3810] - Transient entities can be inserted twice on merge
+ * [HHH-3830] - Problem with inheritance and @ManyToMany relation
+ * [HHH-3847] - java.lang.NullPointerException on onPreRemoveCollection on replicate of persistent class
+ * [HHH-3871] - unnecessary proxy initialization on audit record save
+ * [HHH-3878] - Exception when querying historical data for deleted Entites
+ * [HHH-3880] - org.hibernate.id.enhanced.TableStructure missing "as" keyword in select statment column renames; required for PostgreSQL
+ * [HHH-3888] - Envers schema generation (ant) ignoring columnDefinition ( atribute of @Column, JPA )
+ * [HHH-3912] - Change for HHH-3159 causes InstantiationException
+ * [HHH-3918] - Use standard JDK exception nesting
+ * [HHH-3923] - Enver throws Nullpointer exception with a self reference entities
+ * [HHH-3939] - @NotAudited association requires and joins to the associated table
+ * [HHH-3957] - Audited Null Embeddable objects not returned as null
+ * [HHH-3980] - Fix for HHH-2980 introduced bug that allows the same bag collection role to be fetched multiple times
+ * [HHH-4003] - many-to-many loaders should use inner joins from the collection table to element table
+ * [HHH-4034] - Update org.hibernate.action.BulkOperationCleanupAction to use new Region cache APIs
+ * [HHH-4088] - Session.getSession should always return sessions from parent (or root) session
+ * [HHH-4091] - HQLTest#testDuplicateImplicitJoinInSelect
+
+** Improvement
+ * [HHH-1234] - allow tuplizers the opportunity to influence getSubclassEntityPersister() processing
+ * [HHH-2592] - force hibernate to generate use offset qeury when offset is zero
+ * [HHH-2686] - Include a primary key in the sequence table used by id.enhanced.TableGenerator
+ * [HHH-2802] - Support HQL style order by (JPA @OrderBy)
+ * [HHH-2980] - Error "org.hibernate.HibernateException: cannot simultaneously fetch multiple bags" not specific enough
+ * [HHH-3159] - Oracle 11g - desupport of oracle.jdbc.driver
+ * [HHH-3249] - Make o.h.id.enhanced.TableGenerator more extension-friendly
+ * [HHH-3275] - Allow pluggable tuplizers for composite elements
+ * [HHH-3357] - improve performance of session.clear()
+ * [HHH-3383] - QueryKey is storing references to entities instead of identifiers
+ * [HHH-3424] - concat() with param binding fails function on derby
+ * [HHH-3439] - Change o.h.cfg.Mappings to not require constructor
+ * [HHH-3454] - Allow enhanced.TableGenerator to segment itself per entity as default
+ * [HHH-3456] - Make o.h.id.enhanced.SequenceStyleGenerator more extension-friendly
+ * [HHH-3471] - Provide true-false type that maps to int values
+ * [HHH-3515] - Introduce EntityNameResolver interface
+ * [HHH-3517] - Allow definition of the default tuplizer class to use
+ * [HHH-3518] - Remove Suite classes from testsuite module
+ * [HHH-3525] - Clean up reflection code trying to determine JDK 1.4 capabilities
+ * [HHH-3532] - schema update task should look for foreign key signature
+ * [HHH-3708] - Suboptimal exception on m:n relations with an unaudited entity
+ * [HHH-3712] - Reorganize the Sybase dialect class hierarchy, add SybaseASE15Dialect, and mark SybaseDialect as deprecated
+ * [HHH-3737] - Support Hibernate 3.3 branch in Envers until 3.4.0GA is out
+ * [HHH-3750] - Allow dialects to handle difference in how Query.setFirstResult() should be interpreted
+ * [HHH-3753] - Upgrade to SLF4J version 1.5.8
+ * [HHH-3832] - Upgrade to cglib-2.2.jar
+ * [HHH-3842] - Update maven profiles to use the databases in QA Lab
+ * [HHH-3886] - Update database credentials for QA Lab
+ * [HHH-3892] - Improve support for mapping SQL LONGVARCHAR and CLOB to Java String, SQL LONGVARBINARY and BLOB to Java byte[]
+ * [HHH-3944] - Document known database portability strategies
+ * [HHH-3978] - Expose Hibernate version via non-compile-time constant expression
+ * [HHH-3982] - Apply build version to org.hibernate.Version
+ * [HHH-3998] - Fix spurious failures in ConfigurationPerformanceTest
+ * [HHH-3999] - Change mysql hostname in pom.xml
+ * [HHH-4016] - SAPDialect should not use oracle style outer joins, ANSI style is prefered by MaxDB
+ * [HHH-4022] - Add an actual API contract for querying/managing cache regions (from app code)
+
+** New Feature
+ * [HHH-3343] - Postgres Plus Dialect
+ * [HHH-3512] - Registration of IdentifierGenerators (short naming)
+ * [HHH-3559] - Possibility to do versioning and non-versioning commits as required
+ * [HHH-3560] - Assume entities relationships as unversioned by default
+ * [HHH-3563] - Support relations in components
+ * [HHH-3564] - Support for the three types of inheritance
+ * [HHH-3565] - Direct property access
+ * [HHH-3568] - In the hibernate mapping of versions entities, mark them as not updateable
+ * [HHH-3570] - Move from "Versioning" to "Auditing"
+ * [HHH-3588] - RevisionType available via public API
+ * [HHH-3598] - Add the possibility to specify restrictions on RevisionType, using RevisionTypeProperty
+ * [HHH-3611] - Extend revision restrictions in the query system
+ * [HHH-3663] - Request to add Joined inheritance strategy supported for versioning
+ * [HHH-3697] - Turn on/turn off versioning in runtime
+ * [HHH-3723] - Publish sources to maven (snapshot) repository
+ * [HHH-3781] - Echo version information to the console in main()
+ * [HHH-3819] - Deleted entries with non null properties
+ * [HHH-3823] - Obtain current revision entity by AuditReader
+ * [HHH-3898] - Add a flag to disable Nullability.checkNullability() and the exception raised in this case
+ * [HHH-3906] - Move to JPA 2 API as a dependency
+ * [HHH-4010] - support auditing of entity having reference (many-to-one relation) to not audited entity
+ * [HHH-4081] - Support for JPA 2.0 "qualified identification variables" (KEY, VALUE and ENTRY)
+
+** Patch
+ * [HHH-530] - Allow application of filters on subqueries
+ * [HHH-2933] - allow custom resolution of Dialect (Tomoto Shimizu Washio)
+ * [HHH-3401] - H2 Database Dialect Fixes
+ * [HHH-3450] - Include SingletonEhCacheProvider as an additional caching provider (Greg Luck)
+ * [HHH-3639] - Sybase keywords - rename columns
+ * [HHH-3649] - DB2Dialect inherits supportsPooledSequences() as false, but it does support
+ * [HHH-3650] - TableGenerator doesn't marks the "primary key" as not null, causing errors in some RDBMS's which expects the PK to be not-null
+ * [HHH-3742] - Documentation corrections
+ * [HHH-3744] - Improved support for persistence of subclasses
+ * [HHH-4037] - Fixing build errors in documentation/manual
+
+** Task
+ * [HHH-3214] - Update unit tests and config files to use non-depracated Oracle dialects
+ * [HHH-3474] - Upgrade to use slf4j 1.5 (1.5.2)
+ * [HHH-3547] - import Envers into Hibernate core as a module
+ * [HHH-3549] - import commons-annotations back into core as a module
+ * [HHH-3550] - import annotations into core as a module
+ * [HHH-3556] - Convert documentation to docbook
+ * [HHH-3585] - Upgrade to JBoss Cache 3
+ * [HHH-3760] - Document EntityNameResolver
+ * [HHH-3761] - Document DialectResolver
+ * [HHH-3879] - Envers documentation: configuration of event listeners is incomplete for JPA: @PostPersist, @PostUpdate @PostRemove no longer work
+ * [HHH-3953] - Update tutorial chapter
+ * [HHH-3979] - Upgrade to javassist 3.9.0
+ * [HHH-3981] - Upgrade to jDocBook 2.2.0
+
+
Changes in version 3.3.0.GA (2008.08.13)
-------------------------------------------
15 years, 3 months
Hibernate SVN: r17346 - in beanvalidation/trunk/validation-tck/src/main: java/org/hibernate/jsr303/tck/tests/bootstrap and 2 other directories.
by hibernate-commits@lists.jboss.org
Author: hardy.ferentschik
Date: 2009-08-18 05:42:51 -0400 (Tue, 18 Aug 2009)
New Revision: 17346
Removed:
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/xmldefined/
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/defaultprovider/
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/validationxml/
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/configuration/
beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/configuration/
Log:
delete obsolete directories and tests
15 years, 3 months
Hibernate SVN: r17345 - in beanvalidation/trunk/validation-tck/src/main: java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider and 5 other directories.
by hibernate-commits@lists.jboss.org
Author: hardy.ferentschik
Date: 2009-08-18 05:35:56 -0400 (Tue, 18 Aug 2009)
New Revision: 17345
Added:
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/ConfigurationTest.java
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/CustomMessageInterpolatorTest.java
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/ValidationProviderResolverTest.java
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/ValidationProviderTest.java
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapCustomProviderDefinedInServiceFileTest.java
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapCustomProviderDefinedInValidationXmlTest.java
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapUnknownCustomProviderTest.java
beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/validation-BootstrapCustomProviderDefinedInValidationXmlTest.xml
beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/validation-BootstrapUnknownCustomProviderTest.xml
Removed:
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/ExplicitCustomProviderBootstrapTest.java
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/ValidationProviderResolverTest.java
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/xmldefined/CustomProviderInXmlBootstrapTest.java
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/defaultprovider/BootstrapTest.java
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/defaultprovider/Person.java
beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/xmldefined/validation.xml
Modified:
beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml
Log:
Completed and refactored bootstrapping tests
Added: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/ConfigurationTest.java
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/ConfigurationTest.java (rev 0)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/ConfigurationTest.java 2009-08-18 09:35:56 UTC (rev 17345)
@@ -0,0 +1,61 @@
+// $Id: ValidationProviderResolverTest.java 17333 2009-08-17 13:43:03Z hardy.ferentschik $
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.hibernate.jsr303.tck.tests.bootstrap;
+
+import java.lang.reflect.ParameterizedType;
+import java.lang.reflect.Type;
+import javax.validation.Configuration;
+
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.testharness.AbstractTest;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ArtifactType;
+import org.jboss.testharness.impl.packaging.Classes;
+import static org.testng.Assert.assertTrue;
+import org.testng.annotations.Test;
+
+import org.hibernate.jsr303.tck.util.TestUtil;
+
+/**
+ * @author Hardy Ferentschik
+ */
+@Artifact(artifactType = ArtifactType.JSR303)
+@Classes({
+ TestUtil.class, TestUtil.PathImpl.class, TestUtil.NodeImpl.class
+})
+public class ConfigurationTest extends AbstractTest {
+
+ @Test
+ @SpecAssertion(section = "4.4.3", id = "a")
+ public void testProviderUnderTestDefinesSubInterfaceOfConfiguration() {
+ boolean foundSubinterfaceOfConfiguration = false;
+ Type[] types = TestUtil.getValidationProviderUnderTest().getClass().getGenericInterfaces();
+ for ( Type type : types ) {
+ if ( type instanceof ParameterizedType ) {
+ ParameterizedType paramType = ( ParameterizedType ) type;
+ Type[] typeArguments = paramType.getActualTypeArguments();
+ for ( Type typeArgument : typeArguments ) {
+ if ( typeArgument instanceof Class && Configuration.class.isAssignableFrom( ( Class ) typeArgument ) ) {
+ foundSubinterfaceOfConfiguration = true;
+ }
+ }
+ }
+ }
+ assertTrue( foundSubinterfaceOfConfiguration, "Could not find subinterface of Configuration" );
+ }
+}
\ No newline at end of file
Copied: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/CustomMessageInterpolatorTest.java (from rev 17334, beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/defaultprovider/BootstrapTest.java)
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/CustomMessageInterpolatorTest.java (rev 0)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/CustomMessageInterpolatorTest.java 2009-08-18 09:35:56 UTC (rev 17345)
@@ -0,0 +1,133 @@
+// $Id$
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.hibernate.jsr303.tck.tests.bootstrap;
+
+import java.util.Locale;
+import java.util.Set;
+import javax.validation.Configuration;
+import javax.validation.ConstraintViolation;
+import javax.validation.MessageInterpolator;
+import javax.validation.Validation;
+import javax.validation.Validator;
+import javax.validation.ValidatorFactory;
+import javax.validation.constraints.Digits;
+import javax.validation.constraints.NotNull;
+
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.test.audit.annotations.SpecAssertions;
+import org.jboss.testharness.AbstractTest;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ArtifactType;
+import org.jboss.testharness.impl.packaging.Classes;
+import static org.testng.Assert.assertFalse;
+import org.testng.annotations.Test;
+
+import org.hibernate.jsr303.tck.util.TestUtil;
+import static org.hibernate.jsr303.tck.util.TestUtil.assertCorrectConstraintViolationMessages;
+import static org.hibernate.jsr303.tck.util.TestUtil.assertCorrectNumberOfViolations;
+
+/**
+ * @author Hardy Ferentschik
+ */
+@Artifact(artifactType = ArtifactType.JSR303)
+@Classes({ TestUtil.class, TestUtil.PathImpl.class, TestUtil.NodeImpl.class })
+public class CustomMessageInterpolatorTest extends AbstractTest {
+
+ @Test
+ @SpecAssertion(section = "4.3.2", id = "b")
+ public void testCustomMessageInterpolatorViaConfiguration() {
+ Configuration config = Validation.byDefaultProvider().configure();
+ config = config.messageInterpolator( new DummyMessageInterpolator() );
+ Validator validator = config.buildValidatorFactory().getValidator();
+
+ assertCustomMessageInterpolatorUsed( validator );
+ }
+
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "4.4.2", id = "a"),
+ @SpecAssertion(section = "4.4.2", id = "b"),
+ @SpecAssertion(section = "4.3.2", id = "b")
+ })
+ public void testCustomMessageInterpolatorViaValidatorContext() {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ DummyMessageInterpolator dummyMessageInterpolator = new DummyMessageInterpolator();
+ Validator validator = factory.usingContext().messageInterpolator( dummyMessageInterpolator ).getValidator();
+ assertCustomMessageInterpolatorUsed( validator );
+ assertFalse(
+ factory.getMessageInterpolator().equals( dummyMessageInterpolator ),
+ "getMessageInterpolator() should return the default message interpolator."
+ );
+ }
+
+ private void assertCustomMessageInterpolatorUsed(Validator validator) {
+ Person person = new Person();
+ person.setFirstName( "John" );
+ person.setPersonalNumber( 1234567890l );
+
+ Set<ConstraintViolation<Person>> constraintViolations = validator.validate( person );
+ assertCorrectNumberOfViolations( constraintViolations, 1 );
+ assertCorrectConstraintViolationMessages( constraintViolations, "my custom message" );
+ }
+
+ private static class DummyMessageInterpolator implements MessageInterpolator {
+ public String interpolate(String message, Context context) {
+ return "my custom message";
+ }
+
+ public String interpolate(String message, Context context, Locale locale) {
+ throw new UnsupportedOperationException( "No specific locale is possible" );
+ }
+ }
+
+ public class Person {
+ @NotNull
+ private String firstName;
+
+ @NotNull
+ private String lastName;
+
+ @Digits(integer = 10, fraction = 0)
+ private long personalNumber;
+
+
+ public String getFirstName() {
+ return firstName;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ public String getLastName() {
+ return lastName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+
+ public long getPersonalNumber() {
+ return personalNumber;
+ }
+
+ public void setPersonalNumber(long personalNumber) {
+ this.personalNumber = personalNumber;
+ }
+ }
+}
Property changes on: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/CustomMessageInterpolatorTest.java
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Added: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/ValidationProviderResolverTest.java
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/ValidationProviderResolverTest.java (rev 0)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/ValidationProviderResolverTest.java 2009-08-18 09:35:56 UTC (rev 17345)
@@ -0,0 +1,133 @@
+// $Id: BootstrapTest.java 17334 2009-08-17 14:28:29Z hardy.ferentschik $
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.hibernate.jsr303.tck.tests.bootstrap;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.Enumeration;
+import java.util.List;
+import javax.validation.Configuration;
+import javax.validation.Validation;
+import javax.validation.ValidatorFactory;
+import javax.validation.spi.ValidationProvider;
+
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.testharness.AbstractTest;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ArtifactType;
+import org.jboss.testharness.impl.packaging.Classes;
+import static org.testng.Assert.assertNotNull;
+import static org.testng.Assert.assertTrue;
+import org.testng.annotations.Test;
+
+import org.hibernate.jsr303.tck.common.TCKValidationProvider;
+import org.hibernate.jsr303.tck.common.TCKValidatorConfiguration;
+import org.hibernate.jsr303.tck.util.TestUtil;
+
+/**
+ * @author Hardy Ferentschik
+ */
+@Artifact(artifactType = ArtifactType.JSR303)
+@Classes({
+ TestUtil.class,
+ TestUtil.PathImpl.class,
+ TestUtil.NodeImpl.class,
+ TCKValidationProvider.class,
+ TCKValidatorConfiguration.class,
+ TCKValidationProvider.DummyValidatorFactory.class
+})
+public class ValidationProviderResolverTest extends AbstractTest {
+ private static final String SERVICES_FILE = "META-INF/services/" + ValidationProvider.class.getName();
+
+ @Test
+ @SpecAssertion(section = "4.4.4.1", id = "c")
+ public void testServiceFileExists() {
+ List<Class<?>> providers = readBeanValidationServiceFile();
+ assertTrue( !providers.isEmpty(), "There should be at least one provider" );
+
+ assertTrue(
+ providers.contains( TestUtil.getValidationProviderUnderTest().getClass() ),
+ "The validation class of the provider under test has to be in the list."
+ );
+ }
+
+ private List<Class<?>> readBeanValidationServiceFile() {
+ ClassLoader classloader = Thread.currentThread().getContextClassLoader();
+ if ( classloader == null ) {
+ classloader = ValidationProviderResolverTest.class.getClassLoader();
+ }
+ List<Class<?>> providers = new ArrayList<Class<?>>();
+ try {
+
+ Enumeration<URL> providerDefinitions = classloader.getResources( SERVICES_FILE );
+ while ( providerDefinitions.hasMoreElements() ) {
+ URL url = providerDefinitions.nextElement();
+ addProviderToList( providers, url );
+ }
+ }
+ catch ( Exception e ) {
+ throw new RuntimeException( "Unable to load service file", e );
+ }
+ return providers;
+ }
+
+ private void addProviderToList(List<Class<?>> providers, URL url)
+ throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException {
+ InputStream stream = url.openStream();
+ try {
+ BufferedReader reader = new BufferedReader( new InputStreamReader( stream ), 100 );
+ String name = reader.readLine();
+ while ( name != null ) {
+ name = name.trim();
+ if ( !name.startsWith( "#" ) ) {
+ final Class<?> providerClass = loadClass(
+ name,
+ ValidationProviderResolverTest.class
+ );
+
+ providers.add( providerClass );
+ }
+ name = reader.readLine();
+ }
+ }
+ finally {
+ stream.close();
+ }
+ }
+
+ private static Class<?> loadClass(String name, Class caller) throws ClassNotFoundException {
+ try {
+ //try context classloader, if fails try caller classloader
+ ClassLoader loader = Thread.currentThread().getContextClassLoader();
+ if ( loader != null ) {
+ return loader.loadClass( name );
+ }
+ }
+ catch ( ClassNotFoundException e ) {
+ //trying caller classloader
+ if ( caller == null ) {
+ throw e;
+ }
+ }
+ return Class.forName( name, true, caller.getClassLoader() );
+ }
+}
\ No newline at end of file
Copied: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/ValidationProviderTest.java (from rev 17333, beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/ValidationProviderResolverTest.java)
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/ValidationProviderTest.java (rev 0)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/ValidationProviderTest.java 2009-08-18 09:35:56 UTC (rev 17345)
@@ -0,0 +1,126 @@
+// $Id$
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.hibernate.jsr303.tck.tests.bootstrap;
+
+import java.lang.reflect.Constructor;
+import java.lang.reflect.Modifier;
+import java.util.ArrayList;
+import java.util.List;
+import javax.validation.Configuration;
+import javax.validation.Validation;
+import javax.validation.ValidationException;
+import javax.validation.ValidationProviderResolver;
+import javax.validation.ValidatorFactory;
+import javax.validation.spi.ValidationProvider;
+
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.test.audit.annotations.SpecAssertions;
+import org.jboss.testharness.AbstractTest;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ArtifactType;
+import org.jboss.testharness.impl.packaging.Classes;
+import static org.testng.Assert.assertTrue;
+import static org.testng.FileAssert.fail;
+import org.testng.annotations.Test;
+
+import org.hibernate.jsr303.tck.common.TCKValidationProvider;
+import org.hibernate.jsr303.tck.common.TCKValidatorConfiguration;
+import org.hibernate.jsr303.tck.util.TestUtil;
+
+/**
+ * @author Hardy Ferentschik
+ */
+@Artifact(artifactType = ArtifactType.JSR303)
+@Classes({
+ TestUtil.class, TestUtil.PathImpl.class, TestUtil.NodeImpl.class, TCKValidationProvider.class,
+ TCKValidationProvider.DummyValidatorFactory.class, TCKValidatorConfiguration.class
+})
+public class ValidationProviderTest extends AbstractTest {
+
+ @Test
+ @SpecAssertion(section = "4.4.4.2", id = "b")
+ public void testFirstMatchingValidationProviderResolverIsReturned() {
+ ValidationProviderResolver resolver = new ValidationProviderResolver() {
+
+ public List<ValidationProvider<?>> getValidationProviders() {
+ List<ValidationProvider<?>> list = new ArrayList<ValidationProvider<?>>();
+ list.add( TestUtil.getValidationProviderUnderTest() );
+ list.add( new TCKValidationProvider() );
+ return list;
+ }
+ };
+
+ Configuration<?> configuration = Validation
+ .byProvider( TCKValidationProvider.class )
+ .providerResolver( resolver )
+ .configure();
+
+ ValidatorFactory factory = configuration.buildValidatorFactory();
+ assertTrue( factory instanceof TCKValidationProvider.DummyValidatorFactory );
+ }
+
+ @Test
+ @SpecAssertion(section = "4.4.4.2", id = "c")
+ public void testByDefaultProviderUsesTheFirstProviderReturnedByValidationProviderResolver() {
+ ValidationProviderResolver resolver = new ValidationProviderResolver() {
+
+ public List<ValidationProvider<?>> getValidationProviders() {
+ List<ValidationProvider<?>> list = new ArrayList<ValidationProvider<?>>();
+ list.add( new TCKValidationProvider() );
+ list.add( TestUtil.getValidationProviderUnderTest() );
+ return list;
+ }
+ };
+
+ Configuration<?> configuration = Validation
+ .byDefaultProvider()
+ .providerResolver( resolver )
+ .configure();
+ ValidatorFactory factory = configuration.buildValidatorFactory();
+ assertTrue( factory instanceof TCKValidationProvider.DummyValidatorFactory );
+ }
+
+ @Test
+ @SpecAssertion(section = "4.4.4.2", id = "d")
+ public void testValidationProviderContainsNoArgConstructor() {
+ ValidationProvider<?> validationProviderUnderTest = TestUtil.getValidationProviderUnderTest();
+ try {
+ Constructor<?> constructor = validationProviderUnderTest.getClass().getConstructor();
+ assertTrue( Modifier.isPublic( constructor.getModifiers() ) );
+ }
+ catch ( Exception e ) {
+ fail( "The validation provider must have a public no arg constructor" );
+ }
+ }
+
+ @Test(expectedExceptions = ValidationException.class)
+ @SpecAssertions({
+ @SpecAssertion(section = "4.4.5", id = "f"),
+ @SpecAssertion(section = "4.4.4.2", id = "e")
+ })
+ public void testValidationExceptionIsThrownInCaseValidatorFactoryCreationFails() {
+ ValidationProviderResolver resolver = new ValidationProviderResolver() {
+
+ public List<ValidationProvider<?>> getValidationProviders() {
+ throw new RuntimeException( "ValidationProviderResolver failed!" );
+ }
+ };
+
+ Validation.byDefaultProvider().providerResolver( resolver ).configure();
+ }
+}
\ No newline at end of file
Property changes on: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/ValidationProviderTest.java
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Copied: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapCustomProviderDefinedInServiceFileTest.java (from rev 17333, beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/ExplicitCustomProviderBootstrapTest.java)
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapCustomProviderDefinedInServiceFileTest.java (rev 0)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapCustomProviderDefinedInServiceFileTest.java 2009-08-18 09:35:56 UTC (rev 17345)
@@ -0,0 +1,85 @@
+// $Id$
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.hibernate.jsr303.tck.tests.bootstrap.customprovider;
+
+import javax.validation.Configuration;
+import javax.validation.Validation;
+import javax.validation.ValidatorFactory;
+
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.test.audit.annotations.SpecAssertions;
+import org.jboss.testharness.AbstractTest;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ArtifactType;
+import org.jboss.testharness.impl.packaging.Classes;
+import org.jboss.testharness.impl.packaging.IntegrationTest;
+import org.jboss.testharness.impl.packaging.Resource;
+import static org.testng.Assert.assertNotNull;
+import static org.testng.Assert.assertTrue;
+import org.testng.annotations.Test;
+
+import org.hibernate.jsr303.tck.common.TCKValidationProvider;
+import org.hibernate.jsr303.tck.common.TCKValidatorConfiguration;
+import org.hibernate.jsr303.tck.util.TestUtil;
+
+/**
+ * @author Hardy Ferentschik
+ */
+@Artifact(artifactType = ArtifactType.JSR303)
+@Classes({
+ TestUtil.class,
+ TestUtil.PathImpl.class,
+ TestUtil.NodeImpl.class,
+ TCKValidationProvider.class,
+ TCKValidatorConfiguration.class,
+ TCKValidationProvider.DummyValidatorFactory.class
+})
+@Resource(source = "javax.validation.spi.ValidationProvider",
+ destination = "WEB-INF/classes/META-INF/services/javax.validation.spi.ValidationProvider")
+@IntegrationTest
+public class BootstrapCustomProviderDefinedInServiceFileTest extends AbstractTest {
+
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "4.4", id = "a"),
+ @SpecAssertion(section = "4.4.4.2", id = "a")
+ })
+ public void testGetFactoryByProviderSpecifiedProgrammatically() {
+ TCKValidatorConfiguration configuration = Validation.byProvider( TCKValidationProvider.class ).configure();
+ ValidatorFactory factory = configuration.buildValidatorFactory();
+ assertNotNull( factory );
+ assertTrue( factory instanceof TCKValidationProvider.DummyValidatorFactory );
+ }
+
+ @Test
+ @SpecAssertion(section = "4.4.4.1", id = "a")
+ public void testProviderResolverReturnsListOfAvailableProviders() {
+
+ // really an indirect test since there is no way to get hold of the default provider resolver.
+ // we just confirm that the provider under test and the TCKValidationProvider are loadable.
+
+ TCKValidatorConfiguration configuration = Validation.byProvider( TCKValidationProvider.class ).configure();
+ ValidatorFactory factory = configuration.buildValidatorFactory();
+ assertNotNull( factory );
+
+ Configuration<?> config = Validation.byProvider( TestUtil.getValidationProviderUnderTest().getClass() )
+ .configure();
+ factory = config.buildValidatorFactory();
+ assertNotNull( factory );
+ }
+}
\ No newline at end of file
Property changes on: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapCustomProviderDefinedInServiceFileTest.java
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Copied: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapCustomProviderDefinedInValidationXmlTest.java (from rev 17333, beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/xmldefined/CustomProviderInXmlBootstrapTest.java)
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapCustomProviderDefinedInValidationXmlTest.java (rev 0)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapCustomProviderDefinedInValidationXmlTest.java 2009-08-18 09:35:56 UTC (rev 17345)
@@ -0,0 +1,83 @@
+// $Id$
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.hibernate.jsr303.tck.tests.bootstrap.customprovider;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.validation.Validation;
+import javax.validation.ValidationProviderResolver;
+import javax.validation.ValidatorFactory;
+import javax.validation.spi.ValidationProvider;
+
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.test.audit.annotations.SpecAssertions;
+import org.jboss.testharness.AbstractTest;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ArtifactType;
+import org.jboss.testharness.impl.packaging.Classes;
+import org.jboss.testharness.impl.packaging.jsr303.ValidationXml;
+import static org.testng.Assert.assertNotNull;
+import static org.testng.Assert.assertTrue;
+import org.testng.annotations.Test;
+
+import org.hibernate.jsr303.tck.common.TCKValidationProvider;
+import org.hibernate.jsr303.tck.common.TCKValidatorConfiguration;
+import org.hibernate.jsr303.tck.util.TestUtil;
+
+/**
+ * @author Hardy Ferentschik
+ */
+@Artifact(artifactType = ArtifactType.JSR303)
+@Classes({
+ TestUtil.class,
+ TCKValidationProvider.class,
+ TCKValidatorConfiguration.class,
+ TCKValidationProvider.DummyValidatorFactory.class
+})
+@ValidationXml("validation-BootstrapCustomProviderDefinedInValidationXmlTest.xml")
+public class BootstrapCustomProviderDefinedInValidationXmlTest extends AbstractTest {
+
+ @Test
+ @SpecAssertions({
+ @SpecAssertion(section = "4.4", id = "a"),
+ @SpecAssertion(section = "4.4.4.2", id = "a")
+ })
+ public void testGetFactoryByProviderSpecifiedInValidationXml() {
+
+ ValidationProviderResolver resolver = new ValidationProviderResolver() {
+
+ public List<ValidationProvider<?>> getValidationProviders() {
+ List<ValidationProvider<?>> list = new ArrayList<ValidationProvider<?>>();
+ list.add( TestUtil.getValidationProviderUnderTest() );
+ list.add( new TCKValidationProvider() );
+ return list;
+ }
+ };
+
+ ValidatorFactory factory = Validation.byDefaultProvider()
+ .providerResolver( resolver )
+ .configure()
+ .buildValidatorFactory();
+ assertNotNull( factory );
+ assertTrue(
+ factory instanceof TCKValidationProvider.DummyValidatorFactory,
+ "Since TCKValidationProvider is configured in validation.xml it should be the bootstrapped provider " +
+ "even though the provider under test is first in the list of providers in the resolver."
+ );
+ }
+}
\ No newline at end of file
Property changes on: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapCustomProviderDefinedInValidationXmlTest.java
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Copied: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapUnknownCustomProviderTest.java (from rev 17330, beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/validationxml/ValidationXmlBootstrapTest.java)
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapUnknownCustomProviderTest.java (rev 0)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapUnknownCustomProviderTest.java 2009-08-18 09:35:56 UTC (rev 17345)
@@ -0,0 +1,49 @@
+// $Id$
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, Red Hat Middleware LLC, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.hibernate.jsr303.tck.tests.bootstrap.customprovider;
+
+import javax.validation.Validation;
+import javax.validation.ValidationException;
+
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.testharness.AbstractTest;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ArtifactType;
+import org.jboss.testharness.impl.packaging.jsr303.ValidationXml;
+import static org.testng.Assert.fail;
+import org.testng.annotations.Test;
+
+/**
+ * @author Hardy Ferentschik
+ */
+@Artifact(artifactType = ArtifactType.JSR303)
+@ValidationXml(value = "validation-BootstrapUnknownCustomProviderTest.xml")
+public class BootstrapUnknownCustomProviderTest extends AbstractTest {
+
+ @Test
+ @SpecAssertion(section = "8", id = "a")
+ public void testWrongProviderConfiguredInValidationXml() {
+ try {
+ Validation.buildDefaultValidatorFactory();
+ fail( "validation.xml contains a invalid provider. Validation.buildDefaultValidatorFactory() should have failed." );
+ }
+ catch ( ValidationException e ) {
+ // success
+ }
+ }
+}
\ No newline at end of file
Property changes on: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/BootstrapUnknownCustomProviderTest.java
___________________________________________________________________
Name: svn:keywords
+ Id
Deleted: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/ExplicitCustomProviderBootstrapTest.java
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/ExplicitCustomProviderBootstrapTest.java 2009-08-17 22:27:23 UTC (rev 17344)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/ExplicitCustomProviderBootstrapTest.java 2009-08-18 09:35:56 UTC (rev 17345)
@@ -1,67 +0,0 @@
-// $Id$
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2008, Red Hat Middleware LLC, and individual contributors
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-* http://www.apache.org/licenses/LICENSE-2.0
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package org.hibernate.jsr303.tck.tests.bootstrap.customprovider;
-
-import javax.validation.Validation;
-import javax.validation.ValidatorFactory;
-
-import org.jboss.test.audit.annotations.SpecAssertion;
-import org.jboss.test.audit.annotations.SpecAssertions;
-import org.jboss.testharness.AbstractTest;
-import org.jboss.testharness.impl.packaging.Artifact;
-import org.jboss.testharness.impl.packaging.ArtifactType;
-import org.jboss.testharness.impl.packaging.Classes;
-import org.jboss.testharness.impl.packaging.IntegrationTest;
-import org.jboss.testharness.impl.packaging.Resource;
-import static org.testng.Assert.assertNotNull;
-import static org.testng.Assert.assertTrue;
-import org.testng.annotations.Test;
-
-import org.hibernate.jsr303.tck.common.TCKValidationProvider;
-import org.hibernate.jsr303.tck.common.TCKValidatorConfiguration;
-import org.hibernate.jsr303.tck.util.TestUtil;
-
-/**
- * @author Hardy Ferentschik
- */
-@Artifact(artifactType = ArtifactType.JSR303)
-@Classes({
- TestUtil.class,
- TestUtil.PathImpl.class,
- TestUtil.NodeImpl.class,
- TCKValidationProvider.class,
- TCKValidatorConfiguration.class,
- TCKValidationProvider.DummyValidatorFactory.class
-})
-@Resource(source = "javax.validation.spi.ValidationProvider",
- destination = "WEB-INF/classes/META-INF/services/javax.validation.spi.ValidationProvider")
-@IntegrationTest
-public class ExplicitCustomProviderBootstrapTest extends AbstractTest {
-
- @Test
- @SpecAssertions({
- @SpecAssertion(section = "4.4", id = "a"),
- @SpecAssertion(section = "4.4.4.2", id = "a")
- })
- public void testGetFactoryByProviderSpecifiedProgrammatically() {
- TCKValidatorConfiguration configuration = Validation.byProvider( TCKValidationProvider.class ).configure();
- ValidatorFactory factory = configuration.buildValidatorFactory();
- assertNotNull( factory );
- assertTrue( factory instanceof TCKValidationProvider.DummyValidatorFactory );
- }
-}
\ No newline at end of file
Deleted: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/ValidationProviderResolverTest.java
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/ValidationProviderResolverTest.java 2009-08-17 22:27:23 UTC (rev 17344)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/ValidationProviderResolverTest.java 2009-08-18 09:35:56 UTC (rev 17345)
@@ -1,126 +0,0 @@
-// $Id$
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2008, Red Hat Middleware LLC, and individual contributors
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-* http://www.apache.org/licenses/LICENSE-2.0
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package org.hibernate.jsr303.tck.tests.bootstrap.customprovider;
-
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Modifier;
-import java.util.ArrayList;
-import java.util.List;
-import javax.validation.Configuration;
-import javax.validation.Validation;
-import javax.validation.ValidationException;
-import javax.validation.ValidationProviderResolver;
-import javax.validation.ValidatorFactory;
-import javax.validation.spi.ValidationProvider;
-
-import org.jboss.test.audit.annotations.SpecAssertion;
-import org.jboss.test.audit.annotations.SpecAssertions;
-import org.jboss.testharness.AbstractTest;
-import org.jboss.testharness.impl.packaging.Artifact;
-import org.jboss.testharness.impl.packaging.ArtifactType;
-import org.jboss.testharness.impl.packaging.Classes;
-import static org.testng.Assert.assertTrue;
-import static org.testng.FileAssert.fail;
-import org.testng.annotations.Test;
-
-import org.hibernate.jsr303.tck.common.TCKValidationProvider;
-import org.hibernate.jsr303.tck.common.TCKValidatorConfiguration;
-import org.hibernate.jsr303.tck.util.TestUtil;
-
-/**
- * @author Hardy Ferentschik
- */
-@Artifact(artifactType = ArtifactType.JSR303)
-@Classes({
- TestUtil.class, TestUtil.PathImpl.class, TestUtil.NodeImpl.class, TCKValidationProvider.class,
- TCKValidationProvider.DummyValidatorFactory.class, TCKValidatorConfiguration.class
-})
-public class ValidationProviderResolverTest extends AbstractTest {
-
- @Test
- @SpecAssertion(section = "4.4.4.2", id = "b")
- public void testFirstMatchingValidationProviderResolverIsReturned() {
- ValidationProviderResolver resolver = new ValidationProviderResolver() {
-
- public List<ValidationProvider<?>> getValidationProviders() {
- List<ValidationProvider<?>> list = new ArrayList<ValidationProvider<?>>();
- list.add( TestUtil.getValidationProviderUnderTest() );
- list.add( new TCKValidationProvider() );
- return list;
- }
- };
-
- Configuration<?> configuration = Validation
- .byProvider( TCKValidationProvider.class )
- .providerResolver( resolver )
- .configure();
-
- ValidatorFactory factory = configuration.buildValidatorFactory();
- assertTrue( factory instanceof TCKValidationProvider.DummyValidatorFactory );
- }
-
- @Test
- @SpecAssertion(section = "4.4.4.2", id = "c")
- public void testByDefaultProviderUsesTheFirstProviderReturnedByValidationProviderResolver() {
- ValidationProviderResolver resolver = new ValidationProviderResolver() {
-
- public List<ValidationProvider<?>> getValidationProviders() {
- List<ValidationProvider<?>> list = new ArrayList<ValidationProvider<?>>();
- list.add( new TCKValidationProvider() );
- list.add( TestUtil.getValidationProviderUnderTest() );
- return list;
- }
- };
-
- Configuration<?> configuration = Validation
- .byDefaultProvider()
- .providerResolver( resolver )
- .configure();
- ValidatorFactory factory = configuration.buildValidatorFactory();
- assertTrue( factory instanceof TCKValidationProvider.DummyValidatorFactory );
- }
-
- @Test
- @SpecAssertion(section = "4.4.4.2", id = "d")
- public void testValidationProviderContainsNoArgConstructor() {
- ValidationProvider<?> validationProviderUnderTest = TestUtil.getValidationProviderUnderTest();
- try {
- Constructor<?> constructor = validationProviderUnderTest.getClass().getConstructor();
- assertTrue( Modifier.isPublic( constructor.getModifiers() ) );
- }
- catch ( Exception e ) {
- fail( "The validation provider must have a public no arg constructor" );
- }
- }
-
- @Test(expectedExceptions = ValidationException.class)
- @SpecAssertions({
- @SpecAssertion(section = "4.4.5", id = "f"),
- @SpecAssertion(section = "4.4.4.2", id = "e")
- })
- public void testValidationExceptionIsThrownInCaseValidatorFactoryCreationFails() {
- ValidationProviderResolver resolver = new ValidationProviderResolver() {
-
- public List<ValidationProvider<?>> getValidationProviders() {
- throw new RuntimeException( "ValidationProviderResolver failed!" );
- }
- };
-
- Validation.byDefaultProvider().providerResolver( resolver ).configure();
- }
-}
\ No newline at end of file
Deleted: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/xmldefined/CustomProviderInXmlBootstrapTest.java
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/xmldefined/CustomProviderInXmlBootstrapTest.java 2009-08-17 22:27:23 UTC (rev 17344)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/xmldefined/CustomProviderInXmlBootstrapTest.java 2009-08-18 09:35:56 UTC (rev 17345)
@@ -1,66 +0,0 @@
-// $Id$
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2008, Red Hat Middleware LLC, and individual contributors
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-* http://www.apache.org/licenses/LICENSE-2.0
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package org.hibernate.jsr303.tck.tests.bootstrap.customprovider.xmldefined;
-
-import javax.validation.Validation;
-import javax.validation.ValidatorFactory;
-
-import org.jboss.test.audit.annotations.SpecAssertion;
-import org.jboss.test.audit.annotations.SpecAssertions;
-import org.jboss.testharness.AbstractTest;
-import org.jboss.testharness.impl.packaging.Artifact;
-import org.jboss.testharness.impl.packaging.ArtifactType;
-import org.jboss.testharness.impl.packaging.Classes;
-import org.jboss.testharness.impl.packaging.IntegrationTest;
-import org.jboss.testharness.impl.packaging.Resource;
-import org.jboss.testharness.impl.packaging.jsr303.ValidationXml;
-import static org.testng.Assert.assertNotNull;
-import static org.testng.Assert.assertTrue;
-import org.testng.annotations.Test;
-
-import org.hibernate.jsr303.tck.common.TCKValidationProvider;
-import org.hibernate.jsr303.tck.common.TCKValidatorConfiguration;
-import org.hibernate.jsr303.tck.util.TestUtil;
-
-/**
- * @author Hardy Ferentschik
- */
-@Artifact(artifactType = ArtifactType.JSR303)
-@Classes({
- TestUtil.class,
- TCKValidationProvider.class,
- TCKValidatorConfiguration.class,
- TCKValidationProvider.DummyValidatorFactory.class
-})
-@Resource(source = "/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/javax.validation.spi.ValidationProvider",
- destination = "WEB-INF/classes/META-INF/services/javax.validation.spi.ValidationProvider")
-@ValidationXml("validation.xml")
-@IntegrationTest
-public class CustomProviderInXmlBootstrapTest extends AbstractTest {
-
- @Test
- @SpecAssertions({
- @SpecAssertion(section = "4.4", id = "a"),
- @SpecAssertion(section = "4.4.4.2", id = "a")
- })
- public void testGetFactoryByProviderSpecifiedInXml() {
- ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
- assertNotNull( factory );
- assertTrue( factory instanceof TCKValidationProvider.DummyValidatorFactory );
- }
-}
\ No newline at end of file
Deleted: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/defaultprovider/BootstrapTest.java
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/defaultprovider/BootstrapTest.java 2009-08-17 22:27:23 UTC (rev 17344)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/defaultprovider/BootstrapTest.java 2009-08-18 09:35:56 UTC (rev 17345)
@@ -1,179 +0,0 @@
-// $Id$
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2008, Red Hat Middleware LLC, and individual contributors
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-* http://www.apache.org/licenses/LICENSE-2.0
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package org.hibernate.jsr303.tck.tests.bootstrap.defaultprovider;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Enumeration;
-import java.util.List;
-import java.util.Locale;
-import java.util.Set;
-import javax.validation.Configuration;
-import javax.validation.ConstraintViolation;
-import javax.validation.MessageInterpolator;
-import javax.validation.Validation;
-import javax.validation.Validator;
-import javax.validation.ValidatorFactory;
-import javax.validation.spi.ValidationProvider;
-
-import org.jboss.test.audit.annotations.SpecAssertion;
-import org.jboss.test.audit.annotations.SpecAssertions;
-import org.jboss.testharness.AbstractTest;
-import org.jboss.testharness.impl.packaging.Artifact;
-import org.jboss.testharness.impl.packaging.ArtifactType;
-import org.jboss.testharness.impl.packaging.Classes;
-import static org.testng.Assert.assertFalse;
-import static org.testng.Assert.assertTrue;
-import org.testng.annotations.Test;
-
-import org.hibernate.jsr303.tck.util.TestUtil;
-import static org.hibernate.jsr303.tck.util.TestUtil.assertCorrectConstraintViolationMessages;
-import static org.hibernate.jsr303.tck.util.TestUtil.assertCorrectNumberOfViolations;
-
-/**
- * @author Hardy Ferentschik
- */
-@Artifact(artifactType = ArtifactType.JSR303)
-@Classes({ TestUtil.class, TestUtil.PathImpl.class, TestUtil.NodeImpl.class })
-public class BootstrapTest extends AbstractTest {
- private static final String SERVICES_FILE = "META-INF/services/" + ValidationProvider.class.getName();
-
- @Test
- @SpecAssertion(section = "4.4.4.1", id = "c")
- public void testServiceFileExists() {
- List<Class<?>> providers = readBeanValidationServiceFile();
- assertTrue( !providers.isEmpty(), "There should be at least one provider" );
-
- assertTrue(
- providers.contains( TestUtil.getValidationProviderUnderTest().getClass() ),
- "The validation class of the provider under test has to be in the list."
- );
- }
-
- @Test
- @SpecAssertion(section = "4.3.2", id = "b")
- public void testCustomMessageInterpolatorViaConfiguration() {
- Configuration config = Validation.byDefaultProvider().configure();
- config = config.messageInterpolator( new DummyMessageInterpolator() );
- Validator validator = config.buildValidatorFactory().getValidator();
-
- assertCustomMessageInterpolatorUsed( validator );
- }
-
- @Test
- @SpecAssertions({
- @SpecAssertion(section = "4.4.2", id = "a"),
- @SpecAssertion(section = "4.4.2", id = "b"),
- @SpecAssertion(section = "4.3.2", id = "b")
- })
- public void testCustomMessageInterpolatorViaValidatorContext() {
- ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
- DummyMessageInterpolator dummyMessageInterpolator = new DummyMessageInterpolator();
- Validator validator = factory.usingContext().messageInterpolator( dummyMessageInterpolator ).getValidator();
- assertCustomMessageInterpolatorUsed( validator );
- assertFalse(
- factory.getMessageInterpolator().equals( dummyMessageInterpolator ),
- "getMessageInterpolator() should return the default message interpolator."
- );
- }
-
- private List<Class<?>> readBeanValidationServiceFile() {
- ClassLoader classloader = Thread.currentThread().getContextClassLoader();
- if ( classloader == null ) {
- classloader = BootstrapTest.class.getClassLoader();
- }
- List<Class<?>> providers = new ArrayList<Class<?>>();
- try {
-
- Enumeration<URL> providerDefinitions = classloader.getResources( SERVICES_FILE );
- while ( providerDefinitions.hasMoreElements() ) {
- URL url = providerDefinitions.nextElement();
- addProviderToList( providers, url );
- }
- }
- catch ( Exception e ) {
- throw new RuntimeException( "Unable to load service file", e );
- }
- return providers;
- }
-
- private void assertCustomMessageInterpolatorUsed(Validator validator) {
- Person person = new Person();
- person.setFirstName( "John" );
- person.setPersonalNumber( 1234567890l );
-
- Set<ConstraintViolation<Person>> constraintViolations = validator.validate( person );
- assertCorrectNumberOfViolations( constraintViolations, 1 );
- assertCorrectConstraintViolationMessages( constraintViolations, "my custom message" );
- }
-
- private void addProviderToList(List<Class<?>> providers, URL url)
- throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException {
- InputStream stream = url.openStream();
- try {
- BufferedReader reader = new BufferedReader( new InputStreamReader( stream ), 100 );
- String name = reader.readLine();
- while ( name != null ) {
- name = name.trim();
- if ( !name.startsWith( "#" ) ) {
- final Class<?> providerClass = loadClass(
- name,
- BootstrapTest.class
- );
-
- providers.add( providerClass );
- }
- name = reader.readLine();
- }
- }
- finally {
- stream.close();
- }
- }
-
- private static Class<?> loadClass(String name, Class caller) throws ClassNotFoundException {
- try {
- //try context classloader, if fails try caller classloader
- ClassLoader loader = Thread.currentThread().getContextClassLoader();
- if ( loader != null ) {
- return loader.loadClass( name );
- }
- }
- catch ( ClassNotFoundException e ) {
- //trying caller classloader
- if ( caller == null ) {
- throw e;
- }
- }
- return Class.forName( name, true, caller.getClassLoader() );
- }
-
- private static class DummyMessageInterpolator implements MessageInterpolator {
- public String interpolate(String message, Context context) {
- return "my custom message";
- }
-
- public String interpolate(String message, Context context, Locale locale) {
- throw new UnsupportedOperationException( "No specific locale is possible" );
- }
- }
-}
Deleted: beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/defaultprovider/Person.java
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/defaultprovider/Person.java 2009-08-17 22:27:23 UTC (rev 17344)
+++ beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/bootstrap/defaultprovider/Person.java 2009-08-18 09:35:56 UTC (rev 17345)
@@ -1,60 +0,0 @@
-// $Id$
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2008, Red Hat Middleware LLC, and individual contributors
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-* http://www.apache.org/licenses/LICENSE-2.0
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package org.hibernate.jsr303.tck.tests.bootstrap.defaultprovider;
-
-import javax.validation.constraints.Digits;
-import javax.validation.constraints.NotNull;
-
-/**
- * @author Hardy Ferentschik
- */
-public class Person {
- @NotNull
- private String firstName;
-
- @NotNull
- private String lastName;
-
- @Digits(integer = 10, fraction = 0)
- private long personalNumber;
-
-
- public String getFirstName() {
- return firstName;
- }
-
- public void setFirstName(String firstName) {
- this.firstName = firstName;
- }
-
- public String getLastName() {
- return lastName;
- }
-
- public void setLastName(String lastName) {
- this.lastName = lastName;
- }
-
- public long getPersonalNumber() {
- return personalNumber;
- }
-
- public void setPersonalNumber(long personalNumber) {
- this.personalNumber = personalNumber;
- }
-}
Copied: beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/validation-BootstrapCustomProviderDefinedInValidationXmlTest.xml (from rev 17333, beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/xmldefined/validation.xml)
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/validation-BootstrapCustomProviderDefinedInValidationXmlTest.xml (rev 0)
+++ beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/validation-BootstrapCustomProviderDefinedInValidationXmlTest.xml 2009-08-18 09:35:56 UTC (rev 17345)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<validation-config xmlns="http://jboss.org/xml/ns/javax/validation/configuration"
+ xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.0.xsd"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <default-provider>org.hibernate.jsr303.tck.common.TCKValidationProvider</default-provider>
+</validation-config>
\ No newline at end of file
Property changes on: beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/validation-BootstrapCustomProviderDefinedInValidationXmlTest.xml
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Copied: beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/validation-BootstrapUnknownCustomProviderTest.xml (from rev 17330, beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/validationxml/validation.xml)
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/validation-BootstrapUnknownCustomProviderTest.xml (rev 0)
+++ beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/validation-BootstrapUnknownCustomProviderTest.xml 2009-08-18 09:35:56 UTC (rev 17345)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<validation-config xmlns="http://jboss.org/xml/ns/javax/validation/configuration"
+ xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.0.xsd"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <default-provider>foo.bar.Provider</default-provider>
+</validation-config>
\ No newline at end of file
Deleted: beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/xmldefined/validation.xml
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/xmldefined/validation.xml 2009-08-17 22:27:23 UTC (rev 17344)
+++ beanvalidation/trunk/validation-tck/src/main/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/xmldefined/validation.xml 2009-08-18 09:35:56 UTC (rev 17345)
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<validation-config xmlns="http://jboss.org/xml/ns/javax/validation/configuration"
- xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.0.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <default-provider>org.hibernate.jsr303.tck.common.TCKValidationProvider</default-provider>
-</validation-config>
\ No newline at end of file
Modified: beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml
===================================================================
--- beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml 2009-08-17 22:27:23 UTC (rev 17344)
+++ beanvalidation/trunk/validation-tck/src/main/resources/tck-audit.xml 2009-08-18 09:35:56 UTC (rev 17345)
@@ -743,33 +743,15 @@
<text>A Bean Validation provider must define a sub interface of Configuration uniquely
identifying the provider.</text>
</assertion>
- <assertion id="b">
+ <assertion id="b" testable="false">
<text>Streams represented in the XML configuration and opened by the Configuration
implementation must be closed by the Configuration implementation after the
ValidatorFactory creation (or if an exception occurs)</text>
</assertion>
- <assertion id="c">
- <text>Use the provider implementation requested if Configuration has been created from
- Validation.byProvider(Class)</text>
- </assertion>
- <assertion id="d">
- <text>Use the provider implementation associated with the Configuration implementation
- described in the XML configuration if defined: the value of this element is the
- fully qualified class name of the ValidationProvider implementation uniquely
- identifying the provider.</text>
- </assertion>
- <assertion id="e">
- <text>Use the first provider implementation returned by
- validationProviderResolver.getValidationProviders()</text>
- </assertion>
- <assertion id="f">
+ <assertion id="c" testable="false">
<text>If no ValidationProviderResolver instance has been specified, the default
ValidationProviderResolver is used</text>
</assertion>
- <assertion id="g">
- <text>If a problem occurs while building the ValidationFactory, a ValidationException is
- raised</text>
- </assertion>
</section>
<section id="4.4.4.1" title="ValidationProviderResolver">
<assertion id="a">
@@ -786,7 +768,7 @@
META-INF/services directory of one of its jar files</text>
</assertion>
</section>
- <section id="4.4.4.2" title="ValidationProviderResolver">
+ <section id="4.4.4.2" title="ValidationProvider">
<assertion id="a">
<text>A client can request a specific Bean Validation provider by using
Validation.byProvider() or by defining the provider in the XML configuration
15 years, 3 months
Hibernate SVN: r17344 - core/trunk/entitymanager.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-08-17 18:27:23 -0400 (Mon, 17 Aug 2009)
New Revision: 17344
Modified:
core/trunk/entitymanager/pom.xml
Log:
fixed type in pom
Modified: core/trunk/entitymanager/pom.xml
===================================================================
--- core/trunk/entitymanager/pom.xml 2009-08-17 22:19:04 UTC (rev 17343)
+++ core/trunk/entitymanager/pom.xml 2009-08-17 22:27:23 UTC (rev 17344)
@@ -1,27 +1,3 @@
- <?xml version="1.0"?>
-<!--
- ~ Hibernate, Relational Persistence for Idiomatic Java
- ~
- ~ Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
- ~ indicated by the @author tags or express copyright attribution
- ~ statements applied by the authors. All third-party contributions are
- ~ distributed under license by Red Hat Middleware LLC.
- ~
- ~ This copyrighted material is made available to anyone wishing to use, modify,
- ~ copy, or redistribute it subject to the terms and conditions of the GNU
- ~ Lesser General Public License, as published by the Free Software Foundation.
- ~
- ~ This program is distributed in the hope that it will be useful,
- ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- ~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
- ~ for more details.
- ~
- ~ You should have received a copy of the GNU Lesser General Public License
- ~ along with this distribution; if not, write to:
- ~ Free Software Foundation, Inc.
- ~ 51 Franklin Street, Fifth Floor
- ~ Boston, MA 02110-1301 USA
- -->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
15 years, 3 months
Hibernate SVN: r17343 - core/trunk/envers.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-08-17 18:19:04 -0400 (Mon, 17 Aug 2009)
New Revision: 17343
Modified:
core/trunk/envers/pom.xml
Log:
moved to separately released hibernate-commons-annotations
Modified: core/trunk/envers/pom.xml
===================================================================
--- core/trunk/envers/pom.xml 2009-08-17 21:50:41 UTC (rev 17342)
+++ core/trunk/envers/pom.xml 2009-08-17 22:19:04 UTC (rev 17343)
@@ -133,12 +133,6 @@
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
- <artifactId>hibernate-commons-annotations</artifactId>
- <version>${version}</version>
- </dependency>
- <!-- todo : change to work like hibernate-core after we import annotations and em back into core -->
- <dependency>
- <groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>${version}</version>
</dependency>
15 years, 3 months
Hibernate SVN: r17342 - in core/trunk/documentation/manual/src/main/docbook: es-ES and 7 other directories.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-08-17 17:50:41 -0400 (Mon, 17 Aug 2009)
New Revision: 17342
Modified:
core/trunk/documentation/manual/src/main/docbook/en-US/content/example_parentchild.xml
core/trunk/documentation/manual/src/main/docbook/en-US/content/performance.xml
core/trunk/documentation/manual/src/main/docbook/en-US/content/persistent_classes.xml
core/trunk/documentation/manual/src/main/docbook/es-ES/Hibernate_Reference.po
core/trunk/documentation/manual/src/main/docbook/es-ES/author_group.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/architecture.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/association_mapping.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/basic_mapping.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/batch.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/best_practices.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/bibliography.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/collection_mapping.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/component_mapping.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/configuration.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/events.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/example_mappings.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/example_parentchild.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/example_weblog.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/filters.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/inheritance_mapping.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/performance.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/persistent_classes.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/portability.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/preface.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_criteria.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_hql.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_sql.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/session_api.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/toolset_guide.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/transactions.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/tutorial.po
core/trunk/documentation/manual/src/main/docbook/es-ES/content/xml.po
core/trunk/documentation/manual/src/main/docbook/es-ES/legal_notice.po
core/trunk/documentation/manual/src/main/docbook/fr-FR/content/example_parentchild.po
core/trunk/documentation/manual/src/main/docbook/fr-FR/content/performance.po
core/trunk/documentation/manual/src/main/docbook/ja-JP/content/example_parentchild.po
core/trunk/documentation/manual/src/main/docbook/ja-JP/content/performance.po
core/trunk/documentation/manual/src/main/docbook/ko-KR/content/example_parentchild.po
core/trunk/documentation/manual/src/main/docbook/ko-KR/content/performance.po
core/trunk/documentation/manual/src/main/docbook/pot/content/example_parentchild.pot
core/trunk/documentation/manual/src/main/docbook/pot/content/performance.pot
core/trunk/documentation/manual/src/main/docbook/pot/content/persistent_classes.pot
core/trunk/documentation/manual/src/main/docbook/pt-BR/content/example_parentchild.po
core/trunk/documentation/manual/src/main/docbook/pt-BR/content/performance.po
core/trunk/documentation/manual/src/main/docbook/zh-CN/content/example_parentchild.po
core/trunk/documentation/manual/src/main/docbook/zh-CN/content/performance.po
Log:
fix typos and PO issues
Modified: core/trunk/documentation/manual/src/main/docbook/en-US/content/example_parentchild.xml
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/en-US/content/example_parentchild.xml 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/en-US/content/example_parentchild.xml 2009-08-17 21:50:41 UTC (rev 17342)
@@ -305,67 +305,7 @@
property, or will actually query the second-level cache or, worst case, the database, to see if the
row exists.
</para>
-
- <!-- undocumenting
- <para>
- There is one further possibility. The <literal>Interceptor</literal> method named
- <literal>isUnsaved()</literal> lets the application implement its own strategy for distinguishing
- newly instantiated objects. For example, you could define a base class for your persistent classes.
- </para>
- <programlisting><![CDATA[public class Persistent {
- private boolean _saved = false;
- public void onSave() {
- _saved=true;
- }
- public void onLoad() {
- _saved=true;
- }
- ......
- public boolean isSaved() {
- return _saved;
- }
-}]]></programlisting>
-
- <para>
- (The <literal>saved</literal> property is non-persistent.)
- Now implement <literal>isUnsaved()</literal>, along with <literal>onLoad()</literal>
- and <literal>onSave()</literal> as follows.
- </para>
-
- <programlisting><![CDATA[public Boolean isUnsaved(Object entity) {
- if (entity instanceof Persistent) {
- return new Boolean( !( (Persistent) entity ).isSaved() );
- }
- else {
- return null;
- }
-}
-
-public boolean onLoad(Object entity,
- Serializable id,
- Object[] state,
- String[] propertyNames,
- Type[] types) {
-
- if (entity instanceof Persistent) ( (Persistent) entity ).onLoad();
- return false;
-}
-
-public boolean onSave(Object entity,
- Serializable id,
- Object[] state,
- String[] propertyNames,
- Type[] types) {
-
- if (entity instanceof Persistent) ( (Persistent) entity ).onSave();
- return false;
-}]]></programlisting>
-
- <para>
- Do not worry; in Hibernate3 you do not need to write any of this kind of code if you do not want to.
- </para>
- -->
</sect1>
<sect1 id="example-parentchild-conclusion">
Modified: core/trunk/documentation/manual/src/main/docbook/en-US/content/performance.xml
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/en-US/content/performance.xml 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/en-US/content/performance.xml 2009-08-17 21:50:41 UTC (rev 17342)
@@ -1334,11 +1334,6 @@
StatisticsService stats = new StatisticsService(); // MBean implementation
server.registerMBean(stats, on); // Register the MBean on the server]]></programlisting>
- <!--<para>
- TODO: This does not make sense: In the first case, we retrieve and use the MBean directly. In the second one, we must give
- the JNDI name in which the session factory is held before using it. Use
- <literal>hibernateStatsBean.setSessionFactoryJNDIName("my/JNDI/Name")</literal>
- </para>-->
<para>
You can activate and deactivate the monitoring for a <literal>SessionFactory</literal>:
</para>
Modified: core/trunk/documentation/manual/src/main/docbook/en-US/content/persistent_classes.xml
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/en-US/content/persistent_classes.xml 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/en-US/content/persistent_classes.xml 2009-08-17 21:50:41 UTC (rev 17342)
@@ -703,12 +703,5 @@
</para>
</sect1>
- <!--<sect1 id="persistent-classes-extensions">
- <title>Extensions</title>
- <para>
- TODO: Document user-extension framework in the property and proxy packages
- </para>
- </sect1>-->
-
</chapter>
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/Hibernate_Reference.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/Hibernate_Reference.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/Hibernate_Reference.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-23 18:41+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/author_group.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/author_group.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/author_group.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -1,12 +1,12 @@
-# Language es-ES translations for PACKAGE package.
+# Language es-ES translations for Branch package.
# Automatically generated, 2009.
#
msgid ""
msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: Branch 3_3\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
-"PO-Revision-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-16 18:47+0000\n"
+"PO-Revision-Date: 2009-06-16 18:47+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/architecture.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/architecture.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/architecture.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -27,7 +27,7 @@
msgstr "Una visión a (muy) alto nivel de la arquitectura de Hibernate:"
#. Tag: para
-#: architecture.xml:48
+#: architecture.xml:50
#, fuzzy, no-c-format
msgid ""
"We do not have the scope in this document to provide a more detailed view of "
@@ -43,7 +43,7 @@
"mínimo subconjunto de la API de Hibernate:"
#. Tag: para
-#: architecture.xml:54
+#: architecture.xml:56
#, fuzzy, no-c-format
msgid ""
"This next diagram illustrates how Hibernate utilizes database and "
@@ -55,7 +55,7 @@
"persistentes) a la aplicación."
#. Tag: para
-#: architecture.xml:59
+#: architecture.xml:61
#, fuzzy, no-c-format
msgid ""
"The \"minimal\" architecture has the application provide its own JDBC "
@@ -70,7 +70,7 @@
"mínimo subconjunto de la API de Hibernate:"
#. Tag: para
-#: architecture.xml:74
+#: architecture.xml:78
#, fuzzy, no-c-format
msgid ""
"The \"comprehensive\" architecture abstracts the application away from the "
@@ -80,19 +80,19 @@
"JDBC/JTA y deja que Hibernate se encargue de los detalles."
#. Tag: para
-#: architecture.xml:88
+#: architecture.xml:92
#, fuzzy, no-c-format
msgid "Here are some definitions of the objects depicted in the diagrams:"
msgstr "He aquí algunas definiciones de los objetos en los diagramas:"
#. Tag: term
-#: architecture.xml:93
+#: architecture.xml:97
#, no-c-format
msgid "SessionFactory (<literal>org.hibernate.SessionFactory</literal>)"
msgstr "SessionFactory (<literal>org.hibernate.SessionFactory</literal>)"
#. Tag: para
-#: architecture.xml:95
+#: architecture.xml:99
#, fuzzy, no-c-format
msgid ""
"A threadsafe, immutable cache of compiled mappings for a single database. A "
@@ -108,13 +108,13 @@
"nivel de proceso o de cluster."
#. Tag: term
-#: architecture.xml:105
+#: architecture.xml:109
#, no-c-format
msgid "Session (<literal>org.hibernate.Session</literal>)"
msgstr "Session (<literal>org.hibernate.Session</literal>)"
#. Tag: para
-#: architecture.xml:107
+#: architecture.xml:111
#, fuzzy, no-c-format
msgid ""
"A single-threaded, short-lived object representing a conversation between "
@@ -131,13 +131,13 @@
"objetos por identificador."
#. Tag: term
-#: architecture.xml:117
+#: architecture.xml:121
#, no-c-format
msgid "Persistent objects and collections"
msgstr "Objetos y colecciones persistentes"
#. Tag: para
-#: architecture.xml:119
+#: architecture.xml:123
#, fuzzy, no-c-format
msgid ""
"Short-lived, single threaded objects containing persistent state and "
@@ -158,13 +158,13 @@
"n)."
#. Tag: term
-#: architecture.xml:129
+#: architecture.xml:133
#, no-c-format
msgid "Transient and detached objects and collections"
msgstr "Objetos y colecciones transitorios y separados"
#. Tag: para
-#: architecture.xml:131
+#: architecture.xml:135
#, fuzzy, no-c-format
msgid ""
"Instances of persistent classes that are not currently associated with a "
@@ -178,13 +178,13 @@
"haber sido instanciadas por una <literal>Session</literal> cerrada."
#. Tag: term
-#: architecture.xml:140
+#: architecture.xml:144
#, no-c-format
msgid "Transaction (<literal>org.hibernate.Transaction</literal>)"
msgstr "Transaction (<literal>org.hibernate.Transaction</literal>)"
#. Tag: para
-#: architecture.xml:142
+#: architecture.xml:146
#, fuzzy, no-c-format
msgid ""
"(Optional) A single-threaded, short-lived object used by the application to "
@@ -203,7 +203,7 @@
"literal>, nunca es opcional!"
#. Tag: term
-#: architecture.xml:153
+#: architecture.xml:157
#, no-c-format
msgid ""
"ConnectionProvider (<literal>org.hibernate.connection.ConnectionProvider</"
@@ -213,7 +213,7 @@
"literal>)"
#. Tag: para
-#: architecture.xml:155
+#: architecture.xml:159
#, fuzzy, no-c-format
msgid ""
"(Optional) A factory for, and pool of, JDBC connections. It abstracts the "
@@ -228,7 +228,7 @@
"desarrollador."
#. Tag: term
-#: architecture.xml:163
+#: architecture.xml:167
#, no-c-format
msgid ""
"TransactionFactory (<literal>org.hibernate.TransactionFactory</literal>)"
@@ -236,7 +236,7 @@
"TransactionFactory (<literal>org.hibernate.TransactionFactory</literal>)"
#. Tag: para
-#: architecture.xml:165
+#: architecture.xml:169
#, fuzzy, no-c-format
msgid ""
"(Optional) A factory for <literal>Transaction</literal> instances. It is not "
@@ -248,13 +248,13 @@
"implementado por el desarrollador."
#. Tag: emphasis
-#: architecture.xml:172
+#: architecture.xml:176
#, no-c-format
msgid "Extension Interfaces"
msgstr "Interfaces de Extensión"
#. Tag: para
-#: architecture.xml:174
+#: architecture.xml:178
#, fuzzy, no-c-format
msgid ""
"Hibernate offers a range of optional extension interfaces you can implement "
@@ -267,7 +267,7 @@
"API."
#. Tag: para
-#: architecture.xml:183
+#: architecture.xml:187
#, fuzzy, no-c-format
msgid ""
"Given a \"minimal\" architecture, the application bypasses the "
@@ -281,13 +281,13 @@
"JDBC."
#. Tag: title
-#: architecture.xml:191
+#: architecture.xml:195
#, no-c-format
msgid "Instance states"
msgstr "Estados de instancia"
#. Tag: para
-#: architecture.xml:192
+#: architecture.xml:196
#, fuzzy, no-c-format
msgid ""
"An instance of a persistent class can be in one of three different states. "
@@ -301,13 +301,13 @@
"de persistencia:"
#. Tag: term
-#: architecture.xml:200
+#: architecture.xml:204
#, no-c-format
msgid "transient"
msgstr "transitorio"
#. Tag: para
-#: architecture.xml:202
+#: architecture.xml:206
#, fuzzy, no-c-format
msgid ""
"The instance is not associated with any persistence context. It has no "
@@ -317,13 +317,13 @@
"persistencia. No tiene identidad persistente (valor de clave primaria)."
#. Tag: term
-#: architecture.xml:210
+#: architecture.xml:214
#, no-c-format
msgid "persistent"
msgstr "persistente"
#. Tag: para
-#: architecture.xml:212
+#: architecture.xml:216
#, fuzzy, no-c-format
msgid ""
"The instance is currently associated with a persistence context. It has a "
@@ -340,13 +340,13 @@
"(localización en memoria del objeto)."
#. Tag: term
-#: architecture.xml:224
+#: architecture.xml:228
#, no-c-format
msgid "detached"
msgstr "separado"
#. Tag: para
-#: architecture.xml:226
+#: architecture.xml:230
#, fuzzy, no-c-format
msgid ""
"The instance was once associated with a persistence context, but that "
@@ -363,13 +363,13 @@
"e identidad Java."
#. Tag: title
-#: architecture.xml:241
+#: architecture.xml:245
#, no-c-format
msgid "JMX Integration"
msgstr "Integración JMX"
#. Tag: para
-#: architecture.xml:243
+#: architecture.xml:247
#, fuzzy, no-c-format
msgid ""
"JMX is the J2EE standard for the management of Java components. Hibernate "
@@ -383,7 +383,7 @@
"<literal>org.hibernate.jmx.HibernateService</literal>."
#. Tag: para
-#: architecture.xml:249
+#: architecture.xml:253
#, fuzzy, no-c-format
msgid ""
"For an example of how to deploy Hibernate as a JMX service on the JBoss "
@@ -396,7 +396,7 @@
"usando JMX:"
#. Tag: para
-#: architecture.xml:257
+#: architecture.xml:261
#, fuzzy, no-c-format
msgid ""
"<emphasis>Session Management</emphasis>: the Hibernate <literal>Session</"
@@ -421,7 +421,7 @@
"<literal>HibernateContext</literal>."
#. Tag: para
-#: architecture.xml:269
+#: architecture.xml:273
#, fuzzy, no-c-format
msgid ""
"<emphasis>HAR deployment</emphasis>: the Hibernate JMX service is deployed "
@@ -442,7 +442,7 @@
"de mapeo en tu fichero HAR."
#. Tag: para
-#: architecture.xml:280
+#: architecture.xml:284
#, no-c-format
msgid ""
"Consult the JBoss AS user guide for more information about these options."
@@ -451,7 +451,7 @@
"Guía de Usuario del JBoss AS."
#. Tag: para
-#: architecture.xml:284
+#: architecture.xml:288
#, fuzzy, no-c-format
msgid ""
"Another feature available as a JMX service is runtime Hibernate statistics. "
@@ -463,13 +463,13 @@
"\"configuration-optional-statistics\"/>."
#. Tag: title
-#: architecture.xml:291
+#: architecture.xml:295
#, no-c-format
msgid "JCA Support"
msgstr "Soporte JCA:"
#. Tag: para
-#: architecture.xml:292
+#: architecture.xml:296
#, fuzzy, no-c-format
msgid ""
"Hibernate can also be configured as a JCA connector. Please see the website "
@@ -481,13 +481,13 @@
"soporte de JCA de Hibernate está aún considerado experimental."
#. Tag: title
-#: architecture.xml:299
+#: architecture.xml:303
#, fuzzy, no-c-format
msgid "Contextual sessions"
msgstr "UNTRANSLATED! Contextual Sessions"
#. Tag: para
-#: architecture.xml:300
+#: architecture.xml:304
#, fuzzy, no-c-format
msgid ""
"Most applications using Hibernate need some form of \"contextual\" session, "
@@ -511,7 +511,7 @@
"proxy/interception-based contextual sessions."
#. Tag: para
-#: architecture.xml:309
+#: architecture.xml:313
#, fuzzy, no-c-format
msgid ""
"Starting with version 3.0.1, Hibernate added the <literal>SessionFactory."
@@ -536,7 +536,7 @@
"based contextual sessions is all you should ever need to use."
#. Tag: para
-#: architecture.xml:319
+#: architecture.xml:323
#, fuzzy, no-c-format
msgid ""
"However, as of version 3.1, the processing behind <literal>SessionFactory."
@@ -554,7 +554,7 @@
"pluggability of the scope and context of defining current sessions."
#. Tag: para
-#: architecture.xml:326
+#: architecture.xml:330
#, fuzzy, no-c-format
msgid ""
"See the Javadocs for the <literal>org.hibernate.context."
@@ -572,7 +572,7 @@
"implementations of this interface."
#. Tag: para
-#: architecture.xml:336
+#: architecture.xml:340
#, fuzzy, no-c-format
msgid ""
"<literal>org.hibernate.context.JTASessionContext</literal>: current sessions "
@@ -586,7 +586,7 @@
"the Javadocs for details."
#. Tag: para
-#: architecture.xml:344
+#: architecture.xml:348
#, fuzzy, no-c-format
msgid ""
"<literal>org.hibernate.context.ThreadLocalSessionContext</literal>:current "
@@ -597,7 +597,7 @@
"details."
#. Tag: para
-#: architecture.xml:350
+#: architecture.xml:354
#, fuzzy, no-c-format
msgid ""
"<literal>org.hibernate.context.ManagedSessionContext</literal>: current "
@@ -611,7 +611,7 @@
"this class, it does never open, flush, or close a <literal>Session</literal>."
#. Tag: para
-#: architecture.xml:359
+#: architecture.xml:363
#, fuzzy, no-c-format
msgid ""
"The first two implementations provide a \"one session - one database "
@@ -640,7 +640,7 @@
"linkend=\"transactions\"/> for more information and code examples."
#. Tag: para
-#: architecture.xml:371
+#: architecture.xml:375
#, fuzzy, no-c-format
msgid ""
"The <literal>hibernate.current_session_context_class</literal> configuration "
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/association_mapping.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/association_mapping.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/association_mapping.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/basic_mapping.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/basic_mapping.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/basic_mapping.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/batch.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/batch.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/batch.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/best_practices.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/best_practices.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/best_practices.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/bibliography.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/bibliography.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/bibliography.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -1,12 +1,12 @@
-# Language es-ES translations for PACKAGE package.
+# Language es-ES translations for Branch package.
# Automatically generated, 2009.
#
msgid ""
msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: Branch 3_3\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
-"PO-Revision-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
+"PO-Revision-Date: 2009-06-10 21:02+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/collection_mapping.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/collection_mapping.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/collection_mapping.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/component_mapping.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/component_mapping.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/component_mapping.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -602,25 +602,25 @@
#. Tag: programlisting
#: component_mapping.xml:224
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<class name=\"OrderLine\">\n"
-"\n"
+" \n"
" <composite-id name=\"id\" class=\"OrderLineId\">\n"
" <key-property name=\"lineId\"/>\n"
" <key-property name=\"orderId\"/>\n"
" <key-property name=\"customerId\"/>\n"
" </composite-id>\n"
-"\n"
+" \n"
" <property name=\"name\"/>\n"
-"\n"
+" \n"
" <many-to-one name=\"order\" class=\"Order\"\n"
" insert=\"false\" update=\"false\">\n"
" <column name=\"orderId\"/>\n"
" <column name=\"customerId\"/>\n"
" </many-to-one>\n"
" ....\n"
-"\n"
+" \n"
"</class>]]>"
msgstr ""
"<![CDATA[<class name=\"OrderLine\">\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/configuration.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/configuration.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/configuration.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-16 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -330,16 +330,16 @@
#. Tag: entry
#: configuration.xml:171 configuration.xml:257 configuration.xml:353
-#: configuration.xml:548 configuration.xml:743 configuration.xml:850
-#: configuration.xml:938
+#: configuration.xml:546 configuration.xml:741 configuration.xml:848
+#: configuration.xml:936
#, no-c-format
msgid "Property name"
msgstr "Nombre de propiedad"
#. Tag: entry
#: configuration.xml:172 configuration.xml:258 configuration.xml:354
-#: configuration.xml:549 configuration.xml:744 configuration.xml:851
-#: configuration.xml:939
+#: configuration.xml:547 configuration.xml:742 configuration.xml:849
+#: configuration.xml:937
#, no-c-format
msgid "Purpose"
msgstr "Propósito"
@@ -723,9 +723,9 @@
#. Tag: para
#: configuration.xml:384 configuration.xml:396 configuration.xml:490
#: configuration.xml:503 configuration.xml:516 configuration.xml:529
-#: configuration.xml:583 configuration.xml:610 configuration.xml:623
-#: configuration.xml:678 configuration.xml:906 configuration.xml:921
-#: configuration.xml:1011
+#: configuration.xml:581 configuration.xml:608 configuration.xml:621
+#: configuration.xml:676 configuration.xml:904 configuration.xml:919
+#: configuration.xml:1009
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> <literal>true</literal> | "
@@ -810,7 +810,7 @@
"JNDI automáticamente después de ser creada."
#. Tag: para
-#: configuration.xml:435 configuration.xml:877
+#: configuration.xml:435 configuration.xml:875
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> <literal>jndi/composite/name</"
@@ -971,13 +971,13 @@
msgstr "Propiedades de JDBC y Conexiones de Hibernate"
#. Tag: property
-#: configuration.xml:555
+#: configuration.xml:553
#, no-c-format
msgid "hibernate.jdbc.fetch_size"
msgstr "hibernate.jdbc.fetch_size"
#. Tag: entry
-#: configuration.xml:557
+#: configuration.xml:555
#, no-c-format
msgid ""
"A non-zero value determines the JDBC fetch size (calls <literal>Statement."
@@ -988,13 +988,13 @@
"literal>)."
#. Tag: property
-#: configuration.xml:564
+#: configuration.xml:562
#, no-c-format
msgid "hibernate.jdbc.batch_size"
msgstr "hibernate.jdbc.batch_size"
#. Tag: entry
-#: configuration.xml:566
+#: configuration.xml:564
#, no-c-format
msgid "A non-zero value enables use of JDBC2 batch updates by Hibernate."
msgstr ""
@@ -1002,7 +1002,7 @@
"JDBC2 por Hibernate."
#. Tag: para
-#: configuration.xml:568
+#: configuration.xml:566
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> recommended values between "
@@ -1012,13 +1012,13 @@
"<literal>5</literal> y <literal>30</literal>"
#. Tag: property
-#: configuration.xml:576
+#: configuration.xml:574
#, no-c-format
msgid "hibernate.jdbc.batch_versioned_data"
msgstr "hibernate.jdbc.batch_versioned_data"
#. Tag: entry
-#: configuration.xml:578
+#: configuration.xml:576
#, fuzzy, no-c-format
msgid ""
"Set this property to <literal>true</literal> if your JDBC driver returns "
@@ -1033,13 +1033,13 @@
"<literal>false</literal>."
#. Tag: property
-#: configuration.xml:591
+#: configuration.xml:589
#, no-c-format
msgid "hibernate.jdbc.factory_class"
msgstr "hibernate.jdbc.factory_class"
#. Tag: entry
-#: configuration.xml:593
+#: configuration.xml:591
#, no-c-format
msgid ""
"Select a custom <interfacename>org.hibernate.jdbc.Batcher</interfacename>. "
@@ -1050,7 +1050,7 @@
"n."
#. Tag: para
-#: configuration.xml:596
+#: configuration.xml:594
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> <literal>classname.of."
@@ -1060,13 +1060,13 @@
"BatcherFactory</literal>"
#. Tag: property
-#: configuration.xml:604
+#: configuration.xml:602
#, no-c-format
msgid "hibernate.jdbc.use_scrollable_resultset"
msgstr "hibernate.jdbc.use_scrollable_resultset"
#. Tag: entry
-#: configuration.xml:606
+#: configuration.xml:604
#, fuzzy, no-c-format
msgid ""
"Enables use of JDBC2 scrollable resultsets by Hibernate. This property is "
@@ -1079,13 +1079,13 @@
"conexión."
#. Tag: property
-#: configuration.xml:618
+#: configuration.xml:616
#, no-c-format
msgid "hibernate.jdbc.use_streams_for_binary"
msgstr "hibernate.jdbc.use_streams_for_binary"
#. Tag: entry
-#: configuration.xml:620
+#: configuration.xml:618
#, no-c-format
msgid ""
"Use streams when writing/reading <literal>binary</literal> or "
@@ -1096,13 +1096,13 @@
"<literal>serializable</literal> a/desde JDBC (propiedad a nivel de sistema)."
#. Tag: property
-#: configuration.xml:631
+#: configuration.xml:629
#, no-c-format
msgid "hibernate.jdbc.use_get_generated_keys"
msgstr "hibernate.jdbc.use_get_generated_keys"
#. Tag: entry
-#: configuration.xml:633
+#: configuration.xml:631
#, fuzzy, no-c-format
msgid ""
"Enables use of JDBC3 <literal>PreparedStatement.getGeneratedKeys()</literal> "
@@ -1119,20 +1119,20 @@
"metadatos de conexión."
#. Tag: para
-#: configuration.xml:639 configuration.xml:769 configuration.xml:781
-#: configuration.xml:795 configuration.xml:833
+#: configuration.xml:637 configuration.xml:767 configuration.xml:779
+#: configuration.xml:793 configuration.xml:831
#, fuzzy, no-c-format
msgid "<emphasis role=\"strong\">e.g.</emphasis> <literal>true|false</literal>"
msgstr "<emphasis role=\"strong\">ej.</emphasis> <literal>true|false</literal>"
#. Tag: property
-#: configuration.xml:647
+#: configuration.xml:645
#, no-c-format
msgid "hibernate.connection.provider_class"
msgstr "hibernate.connection.provider_class"
#. Tag: entry
-#: configuration.xml:649
+#: configuration.xml:647
#, no-c-format
msgid ""
"The classname of a custom <interfacename>org.hibernate.connection."
@@ -1143,7 +1143,7 @@
"que provea conexiones JDBC a Hibernate."
#. Tag: para
-#: configuration.xml:652
+#: configuration.xml:650
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> <literal>classname.of."
@@ -1153,13 +1153,13 @@
"ConnectionProvider</literal>"
#. Tag: property
-#: configuration.xml:660
+#: configuration.xml:658
#, no-c-format
msgid "hibernate.connection.isolation"
msgstr "hibernate.connection.isolation"
#. Tag: entry
-#: configuration.xml:662
+#: configuration.xml:660
#, fuzzy, no-c-format
msgid ""
"Sets the JDBC transaction isolation level. Check <interfacename>java.sql."
@@ -1173,19 +1173,19 @@
"niveles de aislamiento."
#. Tag: para
-#: configuration.xml:666
+#: configuration.xml:664
#, fuzzy, no-c-format
msgid "<emphasis role=\"strong\">e.g.</emphasis> <literal>1, 2, 4, 8</literal>"
msgstr "<emphasis role=\"strong\">eg.</emphasis> <literal>1, 2, 4, 8</literal>"
#. Tag: property
-#: configuration.xml:674
+#: configuration.xml:672
#, no-c-format
msgid "hibernate.connection.autocommit"
msgstr "hibernate.connection.autocommit"
#. Tag: entry
-#: configuration.xml:676
+#: configuration.xml:674
#, fuzzy, no-c-format
msgid "Enables autocommit for JDBC pooled connections (it is not recommended)."
msgstr ""
@@ -1193,13 +1193,13 @@
"en pool (no recomendado)."
#. Tag: property
-#: configuration.xml:686
+#: configuration.xml:684
#, no-c-format
msgid "hibernate.connection.release_mode"
msgstr "hibernate.connection.release_mode"
#. Tag: entry
-#: configuration.xml:688
+#: configuration.xml:686
#, fuzzy, no-c-format
msgid ""
"Specifies when Hibernate should release JDBC connections. By default, a JDBC "
@@ -1225,7 +1225,7 @@
"JDBC de transacción."
#. Tag: para
-#: configuration.xml:699
+#: configuration.xml:697
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> <literal>auto</literal> (default) "
@@ -1237,7 +1237,7 @@
"literal> | <literal>auto</literal>"
#. Tag: para
-#: configuration.xml:704
+#: configuration.xml:702
#, fuzzy, no-c-format
msgid ""
"This setting only affects <literal>Session</literal>s returned from "
@@ -1255,7 +1255,7 @@
"<literal>Session</literal>s. See"
#. Tag: entry
-#: configuration.xml:715
+#: configuration.xml:713
#, no-c-format
msgid ""
"<property>hibernate.connection.</property><emphasis><propertyName></"
@@ -1263,7 +1263,7 @@
msgstr "hibernate.connection.<emphasis><propertyName></emphasis>"
#. Tag: entry
-#: configuration.xml:718
+#: configuration.xml:716
#, no-c-format
msgid ""
"Pass the JDBC property <emphasis><propertyName></emphasis> to "
@@ -1273,14 +1273,14 @@
"<literal>DriverManager.getConnection()</literal>."
#. Tag: entry
-#: configuration.xml:724
+#: configuration.xml:722
#, no-c-format
msgid ""
"<property>hibernate.jndi.</property><emphasis><propertyName></emphasis>"
msgstr "hibernate.jndi.<emphasis><propertyName></emphasis>"
#. Tag: entry
-#: configuration.xml:727
+#: configuration.xml:725
#, no-c-format
msgid ""
"Pass the property <emphasis><propertyName></emphasis> to the JNDI "
@@ -1290,26 +1290,26 @@
"<literal>InitialContextFactory</literal> de JNDI."
#. Tag: title
-#: configuration.xml:737
+#: configuration.xml:735
#, no-c-format
msgid "Hibernate Cache Properties"
msgstr "Propiedades de Caché de Hibernate"
#. Tag: literal
-#: configuration.xml:750
+#: configuration.xml:748
#, no-c-format
msgid "hibernate.cache.provider_class"
msgstr "hibernate.cache.provider_class"
#. Tag: entry
-#: configuration.xml:752
+#: configuration.xml:750
#, no-c-format
msgid "The classname of a custom <literal>CacheProvider</literal>."
msgstr ""
"El nombre de clase de un <literal>CacheProvider</literal> personalizado."
#. Tag: para
-#: configuration.xml:754
+#: configuration.xml:752
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> <literal>classname.of."
@@ -1319,13 +1319,13 @@
"CacheProvider</literal>"
#. Tag: literal
-#: configuration.xml:762
+#: configuration.xml:760
#, no-c-format
msgid "hibernate.cache.use_minimal_puts"
msgstr "hibernate.cache.use_minimal_puts"
#. Tag: entry
-#: configuration.xml:764
+#: configuration.xml:762
#, fuzzy, no-c-format
msgid ""
"Optimizes second-level cache operation to minimize writes, at the cost of "
@@ -1339,13 +1339,13 @@
"cluster."
#. Tag: literal
-#: configuration.xml:777
+#: configuration.xml:775
#, no-c-format
msgid "hibernate.cache.use_query_cache"
msgstr "hibernate.cache.use_query_cache"
#. Tag: entry
-#: configuration.xml:779
+#: configuration.xml:777
#, fuzzy, no-c-format
msgid ""
"Enables the query cache. Individual queries still have to be set cachable."
@@ -1354,13 +1354,13 @@
"tienen que ponerse cachables."
#. Tag: literal
-#: configuration.xml:789
+#: configuration.xml:787
#, no-c-format
msgid "hibernate.cache.use_second_level_cache"
msgstr "hibernate.cache.use_second_level_cache"
#. Tag: entry
-#: configuration.xml:791
+#: configuration.xml:789
#, fuzzy, no-c-format
msgid ""
"Can be used to completely disable the second level cache, which is enabled "
@@ -1372,13 +1372,13 @@
"mapeo <literal><cache></literal>."
#. Tag: literal
-#: configuration.xml:803
+#: configuration.xml:801
#, no-c-format
msgid "hibernate.cache.query_cache_factory"
msgstr "hibernate.cache.query_cache_factory"
#. Tag: entry
-#: configuration.xml:805
+#: configuration.xml:803
#, no-c-format
msgid ""
"The classname of a custom <literal>QueryCache</literal> interface, defaults "
@@ -1389,7 +1389,7 @@
"prefabricado."
#. Tag: para
-#: configuration.xml:808
+#: configuration.xml:806
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> <literal>classname.of.QueryCache</"
@@ -1399,13 +1399,13 @@
"literal>"
#. Tag: literal
-#: configuration.xml:816
+#: configuration.xml:814
#, no-c-format
msgid "hibernate.cache.region_prefix"
msgstr "hibernate.cache.region_prefix"
#. Tag: entry
-#: configuration.xml:818
+#: configuration.xml:816
#, no-c-format
msgid "A prefix to use for second-level cache region names."
msgstr ""
@@ -1413,19 +1413,19 @@
"segundo nivel."
#. Tag: para
-#: configuration.xml:820
+#: configuration.xml:818
#, fuzzy, no-c-format
msgid "<emphasis role=\"strong\">e.g.</emphasis> <literal>prefix</literal>"
msgstr "<emphasis role=\"strong\">ej.</emphasis> <literal>prefix</literal>"
#. Tag: literal
-#: configuration.xml:828
+#: configuration.xml:826
#, no-c-format
msgid "hibernate.cache.use_structured_entries"
msgstr "hibernate.cache.use_structured_entries"
#. Tag: entry
-#: configuration.xml:830
+#: configuration.xml:828
#, no-c-format
msgid ""
"Forces Hibernate to store data in the second-level cache in a more human-"
@@ -1435,19 +1435,19 @@
"en un formato más amigable al humano."
#. Tag: title
-#: configuration.xml:844
+#: configuration.xml:842
#, no-c-format
msgid "Hibernate Transaction Properties"
msgstr "Propiedades de Transacción de Hibernate"
#. Tag: literal
-#: configuration.xml:857
+#: configuration.xml:855
#, no-c-format
msgid "hibernate.transaction.factory_class"
msgstr "hibernate.transaction.factory_class"
#. Tag: entry
-#: configuration.xml:859
+#: configuration.xml:857
#, no-c-format
msgid ""
"The classname of a <literal>TransactionFactory</literal> to use with "
@@ -1459,7 +1459,7 @@
"<literal>JDBCTransactionFactory</literal>)."
#. Tag: para
-#: configuration.xml:863
+#: configuration.xml:861
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> <literal>classname.of."
@@ -1469,13 +1469,13 @@
"TransactionFactory</literal>"
#. Tag: literal
-#: configuration.xml:871
+#: configuration.xml:869
#, no-c-format
msgid "jta.UserTransaction"
msgstr "jta.UserTransaction"
#. Tag: entry
-#: configuration.xml:873
+#: configuration.xml:871
#, no-c-format
msgid ""
"A JNDI name used by <literal>JTATransactionFactory</literal> to obtain the "
@@ -1486,13 +1486,13 @@
"aplicaciones."
#. Tag: literal
-#: configuration.xml:885
+#: configuration.xml:883
#, no-c-format
msgid "hibernate.transaction.manager_lookup_class"
msgstr "hibernate.transaction.manager_lookup_class"
#. Tag: entry
-#: configuration.xml:887
+#: configuration.xml:885
#, fuzzy, no-c-format
msgid ""
"The classname of a <literal>TransactionManagerLookup</literal>. It is "
@@ -1504,7 +1504,7 @@
"cuando se usa un generador alto/bajo en un entorno JTA."
#. Tag: para
-#: configuration.xml:891
+#: configuration.xml:889
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> <literal>classname.of."
@@ -1514,13 +1514,13 @@
"TransactionManagerLookup</literal>"
#. Tag: literal
-#: configuration.xml:899
+#: configuration.xml:897
#, no-c-format
msgid "hibernate.transaction.flush_before_completion"
msgstr "hibernate.transaction.flush_before_completion"
#. Tag: entry
-#: configuration.xml:901
+#: configuration.xml:899
#, no-c-format
msgid ""
"If enabled, the session will be automatically flushed during the before "
@@ -1533,13 +1533,13 @@
"transacción. (Muy útil cuando se usa Hibernate con CMT)."
#. Tag: literal
-#: configuration.xml:914
+#: configuration.xml:912
#, no-c-format
msgid "hibernate.transaction.auto_close_session"
msgstr "hibernate.transaction.auto_close_session"
#. Tag: entry
-#: configuration.xml:916
+#: configuration.xml:914
#, fuzzy, no-c-format
msgid ""
"If enabled, the session will be automatically closed during the after "
@@ -1552,19 +1552,19 @@
"(Muy útil cuando se usa Hibernate con CMT)."
#. Tag: title
-#: configuration.xml:932
+#: configuration.xml:930
#, no-c-format
msgid "Miscellaneous Properties"
msgstr "Propiedades Misceláneas"
#. Tag: literal
-#: configuration.xml:945
+#: configuration.xml:943
#, no-c-format
msgid "hibernate.current_session_context_class"
msgstr "hibernate.current_session_context_class"
#. Tag: entry
-#: configuration.xml:947
+#: configuration.xml:945
#, fuzzy, no-c-format
msgid ""
"Supply a custom strategy for the scoping of the \"current\" "
@@ -1576,7 +1576,7 @@
"\"/> for more information about the built-in strategies."
#. Tag: para
-#: configuration.xml:952
+#: configuration.xml:950
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> <literal>jta</literal> | "
@@ -1588,19 +1588,19 @@
"Class</literal>"
#. Tag: literal
-#: configuration.xml:961
+#: configuration.xml:959
#, no-c-format
msgid "hibernate.query.factory_class"
msgstr "hibernate.query.factory_class"
#. Tag: entry
-#: configuration.xml:963
+#: configuration.xml:961
#, no-c-format
msgid "Chooses the HQL parser implementation."
msgstr "Elige la implementación de parser HQL."
#. Tag: para
-#: configuration.xml:965
+#: configuration.xml:963
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> <literal>org.hibernate.hql.ast."
@@ -1612,13 +1612,13 @@
"ClassicQueryTranslatorFactory</literal>"
#. Tag: literal
-#: configuration.xml:974
+#: configuration.xml:972
#, no-c-format
msgid "hibernate.query.substitutions"
msgstr "hibernate.query.substitutions"
#. Tag: entry
-#: configuration.xml:976
+#: configuration.xml:974
#, fuzzy, no-c-format
msgid ""
"Is used to map from tokens in Hibernate queries to SQL tokens (tokens might "
@@ -1629,7 +1629,7 @@
"ejemplo)."
#. Tag: para
-#: configuration.xml:979
+#: configuration.xml:977
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> <literal>hqlLiteral=SQL_LITERAL, "
@@ -1639,13 +1639,13 @@
"hqlFunction=SQLFUNC</literal>"
#. Tag: literal
-#: configuration.xml:987
+#: configuration.xml:985
#, no-c-format
msgid "hibernate.hbm2ddl.auto"
msgstr "hibernate.hbm2ddl.auto"
#. Tag: entry
-#: configuration.xml:989
+#: configuration.xml:987
#, fuzzy, no-c-format
msgid ""
"Automatically validates or exports schema DDL to the database when the "
@@ -1659,7 +1659,7 @@
"<literal>SessionFactory</literal> se cierre explícitamente."
#. Tag: para
-#: configuration.xml:995
+#: configuration.xml:993
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g.</emphasis> <literal>validate</literal> | "
@@ -1670,13 +1670,13 @@
"<literal>create</literal> | <literal>create-drop</literal>"
#. Tag: literal
-#: configuration.xml:1004
+#: configuration.xml:1002
#, no-c-format
msgid "hibernate.cglib.use_reflection_optimizer"
msgstr "hibernate.cglib.use_reflection_optimizer"
#. Tag: entry
-#: configuration.xml:1006
+#: configuration.xml:1004
#, fuzzy, no-c-format
msgid ""
"Enables the use of CGLIB instead of runtime reflection (System-level "
@@ -1691,13 +1691,13 @@
"No puedes establecer esta propiedad en <literal>hibernate.cfg.xml</literal>."
#. Tag: title
-#: configuration.xml:1022
+#: configuration.xml:1020
#, no-c-format
msgid "SQL Dialects"
msgstr "SQL Dialects"
#. Tag: para
-#: configuration.xml:1024
+#: configuration.xml:1022
#, fuzzy, no-c-format
msgid ""
"Always set the <literal>hibernate.dialect</literal> property to the correct "
@@ -1713,307 +1713,307 @@
"effort of specifying them manually."
#. Tag: title
-#: configuration.xml:1032
+#: configuration.xml:1030
#, no-c-format
msgid "Hibernate SQL Dialects (<literal>hibernate.dialect</literal>)"
msgstr "Dialectos SQL de Hibernate(<literal>hibernate.dialect</literal>)"
#. Tag: entry
-#: configuration.xml:1040
+#: configuration.xml:1036
#, no-c-format
msgid "RDBMS"
msgstr "RDBMS"
#. Tag: entry
-#: configuration.xml:1041
+#: configuration.xml:1037
#, no-c-format
msgid "Dialect"
msgstr "Dialecto"
#. Tag: entry
-#: configuration.xml:1046
+#: configuration.xml:1042
#, no-c-format
msgid "<entry>DB2</entry>"
msgstr "<entry>DB2</entry>"
#. Tag: literal
-#: configuration.xml:1046
+#: configuration.xml:1042
#, no-c-format
msgid "org.hibernate.dialect.DB2Dialect"
msgstr "org.hibernate.dialect.DB2Dialect"
#. Tag: entry
-#: configuration.xml:1049
+#: configuration.xml:1045
#, no-c-format
msgid "DB2 AS/400"
msgstr "DB2 AS/400"
#. Tag: literal
-#: configuration.xml:1049
+#: configuration.xml:1045
#, no-c-format
msgid "org.hibernate.dialect.DB2400Dialect"
msgstr "org.hibernate.dialect.DB2400Dialect"
#. Tag: entry
-#: configuration.xml:1052
+#: configuration.xml:1048
#, no-c-format
msgid "DB2 OS390"
msgstr "DB2 OS390"
#. Tag: literal
-#: configuration.xml:1052
+#: configuration.xml:1048
#, no-c-format
msgid "org.hibernate.dialect.DB2390Dialect"
msgstr "org.hibernate.dialect.DB2390Dialect"
#. Tag: entry
-#: configuration.xml:1055
+#: configuration.xml:1051
#, no-c-format
msgid "PostgreSQL"
msgstr "PostgreSQL"
#. Tag: literal
-#: configuration.xml:1055
+#: configuration.xml:1051
#, no-c-format
msgid "org.hibernate.dialect.PostgreSQLDialect"
msgstr "org.hibernate.dialect.PostgreSQLDialect"
#. Tag: entry
-#: configuration.xml:1058
+#: configuration.xml:1054
#, no-c-format
msgid "MySQL"
msgstr "MySQL"
#. Tag: literal
-#: configuration.xml:1058
+#: configuration.xml:1054
#, no-c-format
msgid "org.hibernate.dialect.MySQLDialect"
msgstr "org.hibernate.dialect.MySQLDialect"
#. Tag: entry
-#: configuration.xml:1061
+#: configuration.xml:1057
#, no-c-format
msgid "MySQL with InnoDB"
msgstr "MySQL con InnoDB"
#. Tag: literal
-#: configuration.xml:1061
+#: configuration.xml:1057
#, no-c-format
msgid "org.hibernate.dialect.MySQLInnoDBDialect"
msgstr "org.hibernate.dialect.MySQLInnoDBDialect"
#. Tag: entry
-#: configuration.xml:1064
+#: configuration.xml:1060
#, no-c-format
msgid "MySQL with MyISAM"
msgstr "MySQL con MyISAM"
#. Tag: literal
-#: configuration.xml:1064
+#: configuration.xml:1060
#, no-c-format
msgid "org.hibernate.dialect.MySQLMyISAMDialect"
msgstr "org.hibernate.dialect.MySQLMyISAMDialect"
#. Tag: entry
-#: configuration.xml:1067
+#: configuration.xml:1063
#, no-c-format
msgid "Oracle (any version)"
msgstr "Oracle (cualquier versión)"
#. Tag: literal
-#: configuration.xml:1067
+#: configuration.xml:1063
#, no-c-format
msgid "org.hibernate.dialect.OracleDialect"
msgstr "org.hibernate.dialect.OracleDialect"
#. Tag: entry
-#: configuration.xml:1070
+#: configuration.xml:1066
#, fuzzy, no-c-format
msgid "Oracle 9i"
msgstr "Oracle 9i/10g"
#. Tag: literal
-#: configuration.xml:1070
+#: configuration.xml:1066
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.Oracle9iDialect"
msgstr "org.hibernate.dialect.Oracle9Dialect"
#. Tag: entry
-#: configuration.xml:1073
+#: configuration.xml:1069
#, fuzzy, no-c-format
msgid "Oracle 10g"
msgstr "Oracle 9i/10g"
#. Tag: literal
-#: configuration.xml:1073
+#: configuration.xml:1069
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.Oracle10gDialect"
msgstr "org.hibernate.dialect.OracleDialect"
#. Tag: entry
-#: configuration.xml:1076
+#: configuration.xml:1072
#, no-c-format
msgid "Sybase"
msgstr "Sybase"
#. Tag: literal
-#: configuration.xml:1076
+#: configuration.xml:1072
#, no-c-format
msgid "org.hibernate.dialect.SybaseDialect"
msgstr "org.hibernate.dialect.SybaseDialect"
#. Tag: entry
-#: configuration.xml:1079
+#: configuration.xml:1075
#, no-c-format
msgid "Sybase Anywhere"
msgstr "Sybase Anywhere"
#. Tag: literal
-#: configuration.xml:1079
+#: configuration.xml:1075
#, no-c-format
msgid "org.hibernate.dialect.SybaseAnywhereDialect"
msgstr "org.hibernate.dialect.SybaseAnywhereDialect"
#. Tag: entry
-#: configuration.xml:1082
+#: configuration.xml:1078
#, no-c-format
msgid "Microsoft SQL Server"
msgstr "Microsoft SQL Server"
#. Tag: literal
-#: configuration.xml:1082
+#: configuration.xml:1078
#, no-c-format
msgid "org.hibernate.dialect.SQLServerDialect"
msgstr "org.hibernate.dialect.SQLServerDialect"
#. Tag: entry
-#: configuration.xml:1085
+#: configuration.xml:1081
#, no-c-format
msgid "SAP DB"
msgstr "SAP DB"
#. Tag: literal
-#: configuration.xml:1085
+#: configuration.xml:1081
#, no-c-format
msgid "org.hibernate.dialect.SAPDBDialect"
msgstr "org.hibernate.dialect.SAPDBDialect"
#. Tag: entry
-#: configuration.xml:1088
+#: configuration.xml:1084
#, no-c-format
msgid "Informix"
msgstr "Informix"
#. Tag: literal
-#: configuration.xml:1088
+#: configuration.xml:1084
#, no-c-format
msgid "org.hibernate.dialect.InformixDialect"
msgstr "org.hibernate.dialect.InformixDialect"
#. Tag: entry
-#: configuration.xml:1091
+#: configuration.xml:1087
#, no-c-format
msgid "HypersonicSQL"
msgstr "HypersonicSQL"
#. Tag: literal
-#: configuration.xml:1091
+#: configuration.xml:1087
#, no-c-format
msgid "org.hibernate.dialect.HSQLDialect"
msgstr "org.hibernate.dialect.HSQLDialect"
#. Tag: entry
-#: configuration.xml:1094
+#: configuration.xml:1090
#, no-c-format
msgid "Ingres"
msgstr "Ingres"
#. Tag: literal
-#: configuration.xml:1094
+#: configuration.xml:1090
#, no-c-format
msgid "org.hibernate.dialect.IngresDialect"
msgstr "org.hibernate.dialect.IngresDialect"
#. Tag: entry
-#: configuration.xml:1097
+#: configuration.xml:1093
#, no-c-format
msgid "Progress"
msgstr "Progress"
#. Tag: literal
-#: configuration.xml:1097
+#: configuration.xml:1093
#, no-c-format
msgid "org.hibernate.dialect.ProgressDialect"
msgstr "org.hibernate.dialect.ProgressDialect"
#. Tag: entry
-#: configuration.xml:1100
+#: configuration.xml:1096
#, no-c-format
msgid "Mckoi SQL"
msgstr "Mckoi SQL"
#. Tag: literal
-#: configuration.xml:1100
+#: configuration.xml:1096
#, no-c-format
msgid "org.hibernate.dialect.MckoiDialect"
msgstr "org.hibernate.dialect.MckoiDialect"
#. Tag: entry
-#: configuration.xml:1103
+#: configuration.xml:1099
#, no-c-format
msgid "Interbase"
msgstr "Interbase"
#. Tag: literal
-#: configuration.xml:1103
+#: configuration.xml:1099
#, no-c-format
msgid "org.hibernate.dialect.InterbaseDialect"
msgstr "org.hibernate.dialect.InterbaseDialect"
#. Tag: entry
-#: configuration.xml:1106
+#: configuration.xml:1102
#, no-c-format
msgid "Pointbase"
msgstr "Pointbase"
#. Tag: literal
-#: configuration.xml:1106
+#: configuration.xml:1102
#, no-c-format
msgid "org.hibernate.dialect.PointbaseDialect"
msgstr "org.hibernate.dialect.PointbaseDialect"
#. Tag: entry
-#: configuration.xml:1109
+#: configuration.xml:1105
#, no-c-format
msgid "FrontBase"
msgstr "FrontBase"
#. Tag: literal
-#: configuration.xml:1109
+#: configuration.xml:1105
#, no-c-format
msgid "org.hibernate.dialect.FrontbaseDialect"
msgstr "org.hibernate.dialect.FrontbaseDialect"
#. Tag: entry
-#: configuration.xml:1112
+#: configuration.xml:1108
#, no-c-format
msgid "Firebird"
msgstr "Firebird"
#. Tag: literal
-#: configuration.xml:1112
+#: configuration.xml:1108
#, no-c-format
msgid "org.hibernate.dialect.FirebirdDialect"
msgstr "org.hibernate.dialect.FirebirdDialect"
#. Tag: title
-#: configuration.xml:1121
+#: configuration.xml:1117
#, no-c-format
msgid "Outer Join Fetching"
msgstr "Recuperación por Unión Externa (Outer Join Fetching)"
#. Tag: para
-#: configuration.xml:1123
+#: configuration.xml:1119
#, fuzzy, no-c-format
msgid ""
"If your database supports ANSI, Oracle or Sybase style outer joins, "
@@ -2034,7 +2034,7 @@
"traído en una sola <literal>SELECT</literal> SQL."
#. Tag: para
-#: configuration.xml:1132
+#: configuration.xml:1128
#, fuzzy, no-c-format
msgid ""
"Outer join fetching can be disabled <emphasis>globally</emphasis> by setting "
@@ -2051,7 +2051,7 @@
"sido mapeadas con <literal>fetch=\"join\"</literal>."
#. Tag: para
-#: configuration.xml:1140
+#: configuration.xml:1136
#, no-c-format
msgid "See <xref linkend=\"performance-fetching\"/> for more information."
msgstr ""
@@ -2059,13 +2059,13 @@
"información."
#. Tag: title
-#: configuration.xml:1147
+#: configuration.xml:1143
#, no-c-format
msgid "Binary Streams"
msgstr "Flujos Binarios"
#. Tag: para
-#: configuration.xml:1149
+#: configuration.xml:1145
#, fuzzy, no-c-format
msgid ""
"Oracle limits the size of <literal>byte</literal> arrays that can be passed "
@@ -2081,13 +2081,13 @@
"<emphasis>Esta es una propiedad a nivel de sistema solamente.</emphasis>"
#. Tag: title
-#: configuration.xml:1160
+#: configuration.xml:1156
#, no-c-format
msgid "Second-level and query cache"
msgstr "Caché de segundo nivel y de lectura"
#. Tag: para
-#: configuration.xml:1162
+#: configuration.xml:1158
#, fuzzy, no-c-format
msgid ""
"The properties prefixed by <literal>hibernate.cache</literal> allow you to "
@@ -2100,13 +2100,13 @@
"cache\"/> para más detalles."
#. Tag: title
-#: configuration.xml:1172
+#: configuration.xml:1168
#, no-c-format
msgid "Query Language Substitution"
msgstr "Sustitución de Lenguaje de Consulta"
#. Tag: para
-#: configuration.xml:1174
+#: configuration.xml:1170
#, fuzzy, no-c-format
msgid ""
"You can define new Hibernate query tokens using <literal>hibernate.query."
@@ -2116,13 +2116,13 @@
"<literal>hibernate.query.substitutions</literal>. Por ejemplo:"
#. Tag: programlisting
-#: configuration.xml:1179
+#: configuration.xml:1175
#, no-c-format
msgid "hibernate.query.substitutions true=1, false=0"
msgstr "hibernate.query.substitutions true=1, false=0"
#. Tag: para
-#: configuration.xml:1181
+#: configuration.xml:1177
#, fuzzy, no-c-format
msgid ""
"This would cause the tokens <literal>true</literal> and <literal>false</"
@@ -2133,13 +2133,13 @@
"generado."
#. Tag: programlisting
-#: configuration.xml:1186
+#: configuration.xml:1182
#, no-c-format
msgid "hibernate.query.substitutions toLowercase=LOWER"
msgstr "hibernate.query.substitutions toLowercase=LOWER"
#. Tag: para
-#: configuration.xml:1188
+#: configuration.xml:1184
#, fuzzy, no-c-format
msgid ""
"This would allow you to rename the SQL <literal>LOWER</literal> function."
@@ -2148,13 +2148,13 @@
"SQL."
#. Tag: title
-#: configuration.xml:1195
+#: configuration.xml:1191
#, no-c-format
msgid "Hibernate statistics"
msgstr "Hibernate statistics"
#. Tag: para
-#: configuration.xml:1197
+#: configuration.xml:1193
#, fuzzy, no-c-format
msgid ""
"If you enable <literal>hibernate.generate_statistics</literal>, Hibernate "
@@ -2172,13 +2172,13 @@
"información."
#. Tag: title
-#: configuration.xml:1209
+#: configuration.xml:1205
#, no-c-format
msgid "Logging"
msgstr "Registros de mensajes (Logging)"
#. Tag: para
-#: configuration.xml:1211
+#: configuration.xml:1207
#, no-c-format
msgid ""
"Hibernate utilizes <ulink url=\"http://www.slf4j.org/\">Simple Logging "
@@ -2196,7 +2196,7 @@
msgstr ""
#. Tag: para
-#: configuration.xml:1222
+#: configuration.xml:1218
#, fuzzy, no-c-format
msgid ""
"It is recommended that you familiarize yourself with Hibernate's log "
@@ -2212,67 +2212,67 @@
"categorías de registro más interesantes son las siguientes:"
#. Tag: title
-#: configuration.xml:1231
+#: configuration.xml:1227
#, no-c-format
msgid "Hibernate Log Categories"
msgstr "Categorías de Registro de Hibernate"
#. Tag: entry
-#: configuration.xml:1237
+#: configuration.xml:1233
#, no-c-format
msgid "Category"
msgstr "Categoría"
#. Tag: entry
-#: configuration.xml:1238
+#: configuration.xml:1234
#, no-c-format
msgid "Function"
msgstr "Función"
#. Tag: literal
-#: configuration.xml:1243
+#: configuration.xml:1239
#, no-c-format
msgid "org.hibernate.SQL"
msgstr "org.hibernate.SQL"
#. Tag: entry
-#: configuration.xml:1244
+#: configuration.xml:1240
#, no-c-format
msgid "Log all SQL DML statements as they are executed"
msgstr "Registra todas las sentencias DML de SQL a medida que se ejecutan"
#. Tag: literal
-#: configuration.xml:1247
+#: configuration.xml:1243
#, no-c-format
msgid "org.hibernate.type"
msgstr "org.hibernate.type"
#. Tag: entry
-#: configuration.xml:1248
+#: configuration.xml:1244
#, no-c-format
msgid "Log all JDBC parameters"
msgstr "Registra todos los parámetros JDBC"
#. Tag: literal
-#: configuration.xml:1251
+#: configuration.xml:1247
#, no-c-format
msgid "org.hibernate.tool.hbm2ddl"
msgstr "org.hibernate.tool.hbm2ddl"
#. Tag: entry
-#: configuration.xml:1252
+#: configuration.xml:1248
#, no-c-format
msgid "Log all SQL DDL statements as they are executed"
msgstr "Registra todas las sentencias DDL de SQL a medida que se ejecutan"
#. Tag: literal
-#: configuration.xml:1255
+#: configuration.xml:1251
#, no-c-format
msgid "org.hibernate.pretty"
msgstr "org.hibernate.pretty"
#. Tag: entry
-#: configuration.xml:1256
+#: configuration.xml:1252
#, no-c-format
msgid ""
"Log the state of all entities (max 20 entities) associated with the session "
@@ -2282,49 +2282,49 @@
"asociadas con la sesión en tiempo de limpieza (flush)"
#. Tag: literal
-#: configuration.xml:1262
+#: configuration.xml:1258
#, no-c-format
msgid "org.hibernate.cache"
msgstr "org.hibernate.cache"
#. Tag: entry
-#: configuration.xml:1263
+#: configuration.xml:1259
#, no-c-format
msgid "Log all second-level cache activity"
msgstr "Registra toda la actividad del caché de segundo nivel"
#. Tag: literal
-#: configuration.xml:1266
+#: configuration.xml:1262
#, no-c-format
msgid "org.hibernate.transaction"
msgstr "org.hibernate.transaction"
#. Tag: entry
-#: configuration.xml:1267
+#: configuration.xml:1263
#, no-c-format
msgid "Log transaction related activity"
msgstr "Registra la actividad relacionada con la transacción"
#. Tag: literal
-#: configuration.xml:1270
+#: configuration.xml:1266
#, no-c-format
msgid "org.hibernate.jdbc"
msgstr "org.hibernate.jdbc"
#. Tag: entry
-#: configuration.xml:1271
+#: configuration.xml:1267
#, no-c-format
msgid "Log all JDBC resource acquisition"
msgstr "Registra toda adquisición de recursos JDBC"
#. Tag: literal
-#: configuration.xml:1274
+#: configuration.xml:1270
#, no-c-format
msgid "org.hibernate.hql.ast.AST"
msgstr "org.hibernate.hql.ast"
#. Tag: entry
-#: configuration.xml:1275
+#: configuration.xml:1271
#, no-c-format
msgid "Log HQL and SQL ASTs during query parsing"
msgstr ""
@@ -2332,25 +2332,25 @@
"análisis de consultas."
#. Tag: literal
-#: configuration.xml:1280
+#: configuration.xml:1276
#, no-c-format
msgid "org.hibernate.secure"
msgstr "org.hibernate.secure"
#. Tag: entry
-#: configuration.xml:1281
+#: configuration.xml:1277
#, no-c-format
msgid "Log all JAAS authorization requests"
msgstr "Registra todas las peticiones de autorización JAAS"
#. Tag: literal
-#: configuration.xml:1284
+#: configuration.xml:1280
#, no-c-format
msgid "org.hibernate"
msgstr "org.hibernate"
#. Tag: entry
-#: configuration.xml:1285
+#: configuration.xml:1281
#, fuzzy, no-c-format
msgid ""
"Log everything. This is a lot of information but it is useful for "
@@ -2360,7 +2360,7 @@
"resolución de problemas)"
#. Tag: para
-#: configuration.xml:1294
+#: configuration.xml:1290
#, no-c-format
msgid ""
"When developing applications with Hibernate, you should almost always work "
@@ -2374,13 +2374,13 @@
"show_sql</literal> habilitada."
#. Tag: title
-#: configuration.xml:1304
+#: configuration.xml:1300
#, no-c-format
msgid "Implementing a <literal>NamingStrategy</literal>"
msgstr "Implementando una <literal>NamingStrategy</literal>"
#. Tag: para
-#: configuration.xml:1306
+#: configuration.xml:1302
#, no-c-format
msgid ""
"The interface <literal>org.hibernate.cfg.NamingStrategy</literal> allows you "
@@ -2391,7 +2391,7 @@
"datos y elementos de esquema."
#. Tag: para
-#: configuration.xml:1311
+#: configuration.xml:1307
#, fuzzy, no-c-format
msgid ""
"You can provide rules for automatically generating database identifiers from "
@@ -2410,7 +2410,7 @@
"usada por Hibernate mínima en absoluto."
#. Tag: para
-#: configuration.xml:1320
+#: configuration.xml:1316
#, fuzzy, no-c-format
msgid ""
"You can specify a different strategy by calling <literal>Configuration."
@@ -2421,7 +2421,7 @@
"mapeos:"
#. Tag: programlisting
-#: configuration.xml:1325
+#: configuration.xml:1321
#, no-c-format
msgid ""
"<![CDATA[SessionFactory sf = new Configuration()\n"
@@ -2437,7 +2437,7 @@
" .buildSessionFactory();]]>"
#. Tag: para
-#: configuration.xml:1327
+#: configuration.xml:1323
#, no-c-format
msgid ""
"<literal>org.hibernate.cfg.ImprovedNamingStrategy</literal> is a built-in "
@@ -2448,13 +2448,13 @@
"algunas aplicaciones."
#. Tag: title
-#: configuration.xml:1335
+#: configuration.xml:1331
#, no-c-format
msgid "XML configuration file"
msgstr "Fichero de configuración XML"
#. Tag: para
-#: configuration.xml:1337
+#: configuration.xml:1333
#, no-c-format
msgid ""
"An alternative approach to configuration is to specify a full configuration "
@@ -2469,7 +2469,7 @@
"para sobrescribir propiedades."
#. Tag: para
-#: configuration.xml:1344
+#: configuration.xml:1340
#, fuzzy, no-c-format
msgid ""
"The XML configuration file is by default expected to be in the root of your "
@@ -2479,7 +2479,7 @@
"z o tu <literal>CLASSPATH</literal>. He aquí un ejemplo:"
#. Tag: programlisting
-#: configuration.xml:1349
+#: configuration.xml:1345
#, no-c-format
msgid ""
"<![CDATA[<?xml version='1.0' encoding='utf-8'?>\n"
@@ -2561,7 +2561,7 @@
"</hibernate-configuration>]]>"
#. Tag: para
-#: configuration.xml:1351
+#: configuration.xml:1347
#, fuzzy, no-c-format
msgid ""
"The advantage of this approach is the externalization of the mapping file "
@@ -2580,13 +2580,13 @@
"los beneficios de usar la sintaxis XML arriba mencionados."
#. Tag: para
-#: configuration.xml:1360
+#: configuration.xml:1356
#, fuzzy, no-c-format
msgid "With the XML configuration, starting Hibernate is then as simple as:"
msgstr "Con la configuración XML, arrancar Hibernate es tan simple como"
#. Tag: programlisting
-#: configuration.xml:1364
+#: configuration.xml:1360
#, no-c-format
msgid ""
"<![CDATA[SessionFactory sf = new Configuration().configure()."
@@ -2596,13 +2596,13 @@
"buildSessionFactory();]]>"
#. Tag: para
-#: configuration.xml:1366
+#: configuration.xml:1362
#, fuzzy, no-c-format
msgid "You can select a different XML configuration file using:"
msgstr "Puedes tomar un fichero XML diferente usando"
#. Tag: programlisting
-#: configuration.xml:1370
+#: configuration.xml:1366
#, no-c-format
msgid ""
"<![CDATA[SessionFactory sf = new Configuration()\n"
@@ -2614,13 +2614,13 @@
" .buildSessionFactory();]]>"
#. Tag: title
-#: configuration.xml:1375
+#: configuration.xml:1371
#, no-c-format
msgid "J2EE Application Server integration"
msgstr "Integració con Servidores de Aplicaciones J2EE"
#. Tag: para
-#: configuration.xml:1377
+#: configuration.xml:1373
#, no-c-format
msgid "Hibernate has the following integration points for J2EE infrastructure:"
msgstr ""
@@ -2628,7 +2628,7 @@
"infraestructura J2EE:"
#. Tag: para
-#: configuration.xml:1383
+#: configuration.xml:1379
#, fuzzy, no-c-format
msgid ""
"<emphasis>Container-managed datasources</emphasis>: Hibernate can use JDBC "
@@ -2652,7 +2652,7 @@
"portable."
#. Tag: para
-#: configuration.xml:1398
+#: configuration.xml:1394
#, no-c-format
msgid ""
"<emphasis>Automatic JNDI binding</emphasis>: Hibernate can bind its "
@@ -2662,7 +2662,7 @@
"sus <literal>SessionFactory</literal> a JNDI después del arranque."
#. Tag: para
-#: configuration.xml:1407
+#: configuration.xml:1403
#, fuzzy, no-c-format
msgid ""
"<emphasis>JTA Session binding:</emphasis> the Hibernate <literal>Session</"
@@ -2683,7 +2683,7 @@
"descriptores de despliegue de EJB."
#. Tag: para
-#: configuration.xml:1420
+#: configuration.xml:1416
#, fuzzy, no-c-format
msgid ""
"<emphasis>JMX deployment:</emphasis> if you have a JMX capable application "
@@ -2704,7 +2704,7 @@
"disponible antes que arranque Hibernate, etc)."
#. Tag: para
-#: configuration.xml:1431
+#: configuration.xml:1427
#, no-c-format
msgid ""
"Depending on your environment, you might have to set the configuration "
@@ -2717,13 +2717,13 @@
"excepciones \"connection containment\"."
#. Tag: title
-#: configuration.xml:1438
+#: configuration.xml:1434
#, no-c-format
msgid "Transaction strategy configuration"
msgstr "Configuración de la estrategia de transacción"
#. Tag: para
-#: configuration.xml:1440
+#: configuration.xml:1436
#, fuzzy, no-c-format
msgid ""
"The Hibernate <literal>Session</literal> API is independent of any "
@@ -2742,7 +2742,7 @@
"<literal>UserTransaction</literal> cuando sea necesario."
#. Tag: para
-#: configuration.xml:1448
+#: configuration.xml:1444
#, no-c-format
msgid ""
"To keep your code portable between these two (and other) environments we "
@@ -2760,31 +2760,31 @@
"transaction.factory_class</literal> de Hibernate."
#. Tag: para
-#: configuration.xml:1455
+#: configuration.xml:1451
#, fuzzy, no-c-format
msgid "There are three standard, or built-in, choices:"
msgstr "Hay tres elecciones estándar (prefabricadas):"
#. Tag: literal
-#: configuration.xml:1461
+#: configuration.xml:1457
#, no-c-format
msgid "org.hibernate.transaction.JDBCTransactionFactory"
msgstr "org.hibernate.transaction.JDBCTransactionFactory"
#. Tag: para
-#: configuration.xml:1463
+#: configuration.xml:1459
#, no-c-format
msgid "delegates to database (JDBC) transactions (default)"
msgstr "delega a transacciones de base de datos (JDBC) (por defecto)"
#. Tag: literal
-#: configuration.xml:1467
+#: configuration.xml:1463
#, no-c-format
msgid "org.hibernate.transaction.JTATransactionFactory"
msgstr "org.hibernate.transaction.JTATransactionFactory"
#. Tag: para
-#: configuration.xml:1469
+#: configuration.xml:1465
#, fuzzy, no-c-format
msgid ""
"delegates to container-managed transactions if an existing transaction is "
@@ -2797,19 +2797,19 @@
"comenzada y se usan transacciones manejadas por bean."
#. Tag: literal
-#: configuration.xml:1477
+#: configuration.xml:1473
#, no-c-format
msgid "org.hibernate.transaction.CMTTransactionFactory"
msgstr "org.hibernate.transaction.CMTTransactionFactory"
#. Tag: para
-#: configuration.xml:1479
+#: configuration.xml:1475
#, no-c-format
msgid "delegates to container-managed JTA transactions"
msgstr "delega a transacciones JTA manejadas por contenedor"
#. Tag: para
-#: configuration.xml:1484
+#: configuration.xml:1480
#, fuzzy, no-c-format
msgid ""
"You can also define your own transaction strategies (for a CORBA transaction "
@@ -2819,7 +2819,7 @@
"(para un servicio de transacción CORBA, por ejemplo)."
#. Tag: para
-#: configuration.xml:1489
+#: configuration.xml:1485
#, fuzzy, no-c-format
msgid ""
"Some features in Hibernate (i.e., the second level cache, Contextual "
@@ -2837,151 +2837,151 @@
"no estandariza un solo mecanismo:"
#. Tag: title
-#: configuration.xml:1497
+#: configuration.xml:1493
#, no-c-format
msgid "JTA TransactionManagers"
msgstr "TransactionManagers de JTA"
#. Tag: entry
-#: configuration.xml:1503
+#: configuration.xml:1499
#, no-c-format
msgid "Transaction Factory"
msgstr "Transaction Factory"
#. Tag: entry
-#: configuration.xml:1504
+#: configuration.xml:1500
#, no-c-format
msgid "Application Server"
msgstr "Servidor de Aplicaciones"
#. Tag: literal
-#: configuration.xml:1509
+#: configuration.xml:1505
#, no-c-format
msgid "org.hibernate.transaction.JBossTransactionManagerLookup"
msgstr "org.hibernate.transaction.JBossTransactionManagerLookup"
#. Tag: entry
-#: configuration.xml:1510
+#: configuration.xml:1506
#, no-c-format
msgid "JBoss"
msgstr "JBoss"
#. Tag: literal
-#: configuration.xml:1513
+#: configuration.xml:1509
#, no-c-format
msgid "org.hibernate.transaction.WeblogicTransactionManagerLookup"
msgstr "org.hibernate.transaction.WeblogicTransactionManagerLookup"
#. Tag: entry
-#: configuration.xml:1514
+#: configuration.xml:1510
#, no-c-format
msgid "Weblogic"
msgstr "Weblogic"
#. Tag: literal
-#: configuration.xml:1517
+#: configuration.xml:1513
#, no-c-format
msgid "org.hibernate.transaction.WebSphereTransactionManagerLookup"
msgstr "org.hibernate.transaction.WebSphereTransactionManagerLookup"
#. Tag: entry
-#: configuration.xml:1518
+#: configuration.xml:1514
#, no-c-format
msgid "WebSphere"
msgstr "WebSphere"
#. Tag: literal
-#: configuration.xml:1521
+#: configuration.xml:1517
#, no-c-format
msgid "org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"
msgstr "org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"
#. Tag: entry
-#: configuration.xml:1522
+#: configuration.xml:1518
#, no-c-format
msgid "WebSphere 6"
msgstr "WebSphere 6"
#. Tag: literal
-#: configuration.xml:1525
+#: configuration.xml:1521
#, no-c-format
msgid "org.hibernate.transaction.OrionTransactionManagerLookup"
msgstr "org.hibernate.transaction.OrionTransactionManagerLookup"
#. Tag: entry
-#: configuration.xml:1526
+#: configuration.xml:1522
#, no-c-format
msgid "Orion"
msgstr "Orion"
#. Tag: literal
-#: configuration.xml:1529
+#: configuration.xml:1525
#, no-c-format
msgid "org.hibernate.transaction.ResinTransactionManagerLookup"
msgstr "org.hibernate.transaction.ResinTransactionManagerLookup"
#. Tag: entry
-#: configuration.xml:1530
+#: configuration.xml:1526
#, no-c-format
msgid "Resin"
msgstr "Resin"
#. Tag: literal
-#: configuration.xml:1533
+#: configuration.xml:1529
#, no-c-format
msgid "org.hibernate.transaction.JOTMTransactionManagerLookup"
msgstr "org.hibernate.transaction.JOTMTransactionManagerLookup"
#. Tag: entry
-#: configuration.xml:1534
+#: configuration.xml:1530
#, no-c-format
msgid "JOTM"
msgstr "JOTM"
#. Tag: literal
-#: configuration.xml:1537
+#: configuration.xml:1533
#, no-c-format
msgid "org.hibernate.transaction.JOnASTransactionManagerLookup"
msgstr "org.hibernate.transaction.JOnASTransactionManagerLookup"
#. Tag: entry
-#: configuration.xml:1538
+#: configuration.xml:1534
#, no-c-format
msgid "JOnAS"
msgstr "JOnAS"
#. Tag: literal
-#: configuration.xml:1541
+#: configuration.xml:1537
#, no-c-format
msgid "org.hibernate.transaction.JRun4TransactionManagerLookup"
msgstr "org.hibernate.transaction.JRun4TransactionManagerLookup"
#. Tag: entry
-#: configuration.xml:1542
+#: configuration.xml:1538
#, no-c-format
msgid "JRun4"
msgstr "JRun4"
#. Tag: literal
-#: configuration.xml:1545
+#: configuration.xml:1541
#, no-c-format
msgid "org.hibernate.transaction.BESTransactionManagerLookup"
msgstr "org.hibernate.transaction.BESTransactionManagerLookup"
#. Tag: entry
-#: configuration.xml:1546
+#: configuration.xml:1542
#, no-c-format
msgid "Borland ES"
msgstr "Borland ES"
#. Tag: title
-#: configuration.xml:1555
+#: configuration.xml:1551
#, no-c-format
msgid "JNDI-bound <literal>SessionFactory</literal>"
msgstr "<literal>SessionFactory</literal> ligada a JNDI"
#. Tag: para
-#: configuration.xml:1557
+#: configuration.xml:1553
#, fuzzy, no-c-format
msgid ""
"A JNDI-bound Hibernate <literal>SessionFactory</literal> can simplify the "
@@ -2996,7 +2996,7 @@
"ambos usan el mismo registro!"
#. Tag: para
-#: configuration.xml:1564
+#: configuration.xml:1560
#, fuzzy, no-c-format
msgid ""
"If you wish to have the <literal>SessionFactory</literal> bound to a JNDI "
@@ -3015,7 +3015,7 @@
"sólo lectura por defecto, ej. Tomcat.)"
#. Tag: para
-#: configuration.xml:1572
+#: configuration.xml:1568
#, no-c-format
msgid ""
"When binding the <literal>SessionFactory</literal> to JNDI, Hibernate will "
@@ -3030,7 +3030,7 @@
"defecto."
#. Tag: para
-#: configuration.xml:1579
+#: configuration.xml:1575
#, fuzzy, no-c-format
msgid ""
"Hibernate will automatically place the <literal>SessionFactory</literal> in "
@@ -3048,7 +3048,7 @@
"<literal>HibernateService</literal> (discutido luego)."
#. Tag: para
-#: configuration.xml:1586
+#: configuration.xml:1582
#, fuzzy, no-c-format
msgid ""
"If you use a JNDI <literal>SessionFactory</literal>, an EJB or any other "
@@ -3060,7 +3060,7 @@
"JNDI lookup."
#. Tag: para
-#: configuration.xml:1591
+#: configuration.xml:1587
#, fuzzy, no-c-format
msgid ""
"It is recommended that you bind the <literal>SessionFactory</literal> to "
@@ -3080,23 +3080,23 @@
"entorno no manejado."
#. Tag: title
-#: configuration.xml:1603
+#: configuration.xml:1599
#, no-c-format
msgid "Current Session context management with JTA"
msgstr "Ligado automático de JTA y Session"
#. Tag: para
-#: configuration.xml:1605
+#: configuration.xml:1601
#, fuzzy, no-c-format
msgid ""
"The easiest way to handle <literal>Sessions</literal> and transactions is "
"Hibernate's automatic \"current\" <literal>Session</literal> management. For "
-"a discussion of contextual sessions see <link linkend=\"architecture-current-"
-"session\"></link>. Using the <literal>\"jta\"</literal> session context, if "
-"there is no Hibernate <literal>Session</literal> associated with the current "
-"JTA transaction, one will be started and associated with that JTA "
-"transaction the first time you call <literal>sessionFactory.getCurrentSession"
-"()</literal>. The <literal>Session</literal>s retrieved via "
+"a discussion of contextual sessions see <xref linkend=\"architecture-current-"
+"session\"/>. Using the <literal>\"jta\"</literal> session context, if there "
+"is no Hibernate <literal>Session</literal> associated with the current JTA "
+"transaction, one will be started and associated with that JTA transaction "
+"the first time you call <literal>sessionFactory.getCurrentSession()</"
+"literal>. The <literal>Session</literal>s retrieved via "
"<literal>getCurrentSession()</literal> in the<literal>\"jta\"</literal> "
"context are set to automatically flush before the transaction completes, "
"close after the transaction completes, and aggressively release JDBC "
@@ -3130,13 +3130,13 @@
"demarcation with CMT is preferred."
#. Tag: title
-#: configuration.xml:1628
+#: configuration.xml:1624
#, no-c-format
msgid "JMX deployment"
msgstr "Despliegue JMX"
#. Tag: para
-#: configuration.xml:1630
+#: configuration.xml:1626
#, fuzzy, no-c-format
msgid ""
"The line <literal>cfg.buildSessionFactory()</literal> still has to be "
@@ -3153,7 +3153,7 @@
"<emphasis>servicio manejado</emphasis>."
#. Tag: para
-#: configuration.xml:1638
+#: configuration.xml:1634
#, fuzzy, no-c-format
msgid ""
"Hibernate is distributed with <literal>org.hibernate.jmx.HibernateService</"
@@ -3168,7 +3168,7 @@
"xml</literal> de ejemplo para JBoss 4.0.x:"
#. Tag: programlisting
-#: configuration.xml:1645
+#: configuration.xml:1641
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\"?>\n"
@@ -3264,7 +3264,7 @@
"</server>]]>"
#. Tag: para
-#: configuration.xml:1647
+#: configuration.xml:1643
#, fuzzy, no-c-format
msgid ""
"This file is deployed in a directory called <literal>META-INF</literal> and "
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/events.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/events.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/events.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/example_mappings.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/example_mappings.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/example_mappings.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/example_parentchild.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/example_parentchild.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/example_parentchild.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/example_weblog.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/example_weblog.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/example_weblog.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/filters.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/filters.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/filters.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/inheritance_mapping.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/inheritance_mapping.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/inheritance_mapping.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-16 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -883,7 +883,7 @@
#: inheritance_mapping.xml:314
#, no-c-format
msgid "table per class-hierarchy"
-msgstr "<entry>tabla por jerarquía de clases</entry>"
+msgstr "tabla por jerarquía de clases"
#. Tag: literal
#: inheritance_mapping.xml:315 inheritance_mapping.xml:326
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/performance.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/performance.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/performance.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1536,7 +1536,7 @@
#. Tag: literal
#: performance.xml:675
#, fuzzy, no-c-format
-msgid "org.hibernate.cache.jbc.JBossCacheRegionFactory"
+msgid "org.hibernate.cache.jbc2.JBossCacheRegionFactory"
msgstr "org.hibernate.cache.EhCacheProvider"
#. Tag: entry
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/persistent_classes.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/persistent_classes.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/persistent_classes.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1105,13 +1105,13 @@
" }]]>"
#. Tag: title
-#: persistent_classes.xml:354
+#: persistent_classes.xml:353
#, no-c-format
msgid "EntityNameResolvers"
msgstr ""
#. Tag: para
-#: persistent_classes.xml:356
+#: persistent_classes.xml:355
#, no-c-format
msgid ""
"The <interfacename>org.hibernate.EntityNameResolver</interfacename> "
@@ -1130,7 +1130,7 @@
msgstr ""
#. Tag: programlisting
-#: persistent_classes.xml:368
+#: persistent_classes.xml:367
#, no-c-format
msgid ""
"/**\n"
@@ -1262,7 +1262,7 @@
msgstr ""
#. Tag: para
-#: persistent_classes.xml:370
+#: persistent_classes.xml:369
#, no-c-format
msgid ""
"In order to register an <interfacename>org.hibernate.EntityNameResolver</"
@@ -1270,7 +1270,7 @@
msgstr ""
#. Tag: para
-#: persistent_classes.xml:374
+#: persistent_classes.xml:373
#, no-c-format
msgid ""
"Implement a custom <link linkend=\"persistent-classes-tuplizers\">Tuplizer</"
@@ -1279,7 +1279,7 @@
msgstr ""
#. Tag: para
-#: persistent_classes.xml:380
+#: persistent_classes.xml:379
#, no-c-format
msgid ""
"Register it with the <classname>org.hibernate.impl.SessionFactoryImpl</"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/portability.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/portability.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/portability.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -1,12 +1,12 @@
-# Language es-ES translations for PACKAGE package.
+# Language es-ES translations for Branch package.
# Automatically generated, 2009.
#
msgid ""
msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: Branch 3_3\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
-"PO-Revision-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-23 18:41+0000\n"
+"PO-Revision-Date: 2009-06-16 18:47+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/preface.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/preface.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/preface.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-16 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -88,7 +88,7 @@
"instructions. The source code for the tutorial is included in the "
"distribution in the <literal>doc/reference/tutorial/</literal> directory."
msgstr ""
-"Lee <xref linkend=\"quickstart\"/> para un tutorial de 30 minutos, usando "
+"Lee <xref linkend=\"tutorial\"/> para un tutorial de 30 minutos, usando "
"Tomcat."
#. Tag: para
@@ -200,6 +200,21 @@
"proyecto de la suite de productos de código abierto JBoss "
"Professional."
+#. Tag: title
+#: preface.xml:133
+#, no-c-format
+msgid "Feedback"
+msgstr ""
+
+#. Tag: para
+#: preface.xml:134
+#, no-c-format
+msgid ""
+"Use <ulink url=\"http://opensource.atlassian.com/projects/hibernate"
+"\">Hibernate JIRA</ulink> to report errors or request enhacements to this "
+"documentation."
+msgstr ""
+
#~ msgid "ROLES_OF_TRANSLATORS"
#~ msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_criteria.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_criteria.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_criteria.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_hql.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_hql.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_hql.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -932,32 +932,16 @@
#. Tag: para
#: query_hql.xml:443
-#, no-c-format
-msgid "The following query:"
-msgstr ""
-
-#. Tag: programlisting
-#: query_hql.xml:446
-#, no-c-format
+#, fuzzy, no-c-format
msgid ""
-"<![CDATA[select foo\n"
+"The following query: <programlisting><![CDATA[select foo\n"
"from Foo foo, Bar bar\n"
-"where foo.startDate = bar.date]]>"
+"where foo.startDate = bar.date]]></programlisting> returns all instances of "
+"<literal>Foo</literal> with an instance of <literal>bar</literal> with a "
+"<literal>date</literal> property equal to the <literal>startDate</literal> "
+"property of the <literal>Foo</literal>. Compound path expressions make the "
+"<literal>where</literal> clause extremely powerful. Consider the following:"
msgstr ""
-"<![CDATA[select foo \n"
-"from Foo foo, Bar bar\n"
-"where foo.startDate = bar.date]]>"
-
-#. Tag: para
-#: query_hql.xml:448
-#, fuzzy, no-c-format
-msgid ""
-"returns all instances of <literal>Foo</literal> with an instance of "
-"<literal>bar</literal> with a <literal>date</literal> property equal to the "
-"<literal>startDate</literal> property of the <literal>Foo</literal>. "
-"Compound path expressions make the <literal>where</literal> clause extremely "
-"powerful. Consider the following:"
-msgstr ""
"devolverá todas las instancias de <literal>Foo</literal> para las "
"cuales exista una instancia de <literal>bar</literal> con una propiedad "
"<literal>date</literal> igual a la propiedad <literal>startDate</literal> "
@@ -965,13 +949,13 @@
"cláusula <literal>where</literal> extremadamente potente. Considera:"
#. Tag: programlisting
-#: query_hql.xml:457
+#: query_hql.xml:454
#, no-c-format
msgid "<![CDATA[from Cat cat where cat.mate.name is not null]]>"
msgstr "<![CDATA[from Cat cat where cat.mate.name is not null]]>"
#. Tag: para
-#: query_hql.xml:459
+#: query_hql.xml:456
#, fuzzy, no-c-format
msgid ""
"This query translates to an SQL query with a table (inner) join. For example:"
@@ -980,7 +964,7 @@
"(interna). Si fueses a escribir algo como"
#. Tag: programlisting
-#: query_hql.xml:464
+#: query_hql.xml:461
#, no-c-format
msgid ""
"<![CDATA[from Foo foo\n"
@@ -990,7 +974,7 @@
"where foo.bar.baz.customer.address.city is not null]]>"
#. Tag: para
-#: query_hql.xml:466
+#: query_hql.xml:463
#, fuzzy, no-c-format
msgid "would result in a query that would require four table joins in SQL."
msgstr ""
@@ -998,7 +982,7 @@
"tablas en SQL."
#. Tag: para
-#: query_hql.xml:470
+#: query_hql.xml:467
#, fuzzy, no-c-format
msgid ""
"The <literal>=</literal> operator can be used to compare not only "
@@ -1008,13 +992,13 @@
"lo propiedades, sino también instancias:"
#. Tag: programlisting
-#: query_hql.xml:475
+#: query_hql.xml:472
#, no-c-format
msgid "<![CDATA[from Cat cat, Cat rival where cat.mate = rival.mate]]>"
msgstr "<![CDATA[from Cat cat, Cat rival where cat.mate = rival.mate]]>"
#. Tag: programlisting
-#: query_hql.xml:477
+#: query_hql.xml:474
#, no-c-format
msgid ""
"<![CDATA[select cat, mate\n"
@@ -1026,7 +1010,7 @@
"where cat.mate = mate]]>"
#. Tag: para
-#: query_hql.xml:479
+#: query_hql.xml:476
#, fuzzy, no-c-format
msgid ""
"The special property (lowercase) <literal>id</literal> can be used to "
@@ -1038,7 +1022,7 @@
"(También puedes usar su nombre de propiedad.)"
#. Tag: programlisting
-#: query_hql.xml:485
+#: query_hql.xml:482
#, no-c-format
msgid ""
"<![CDATA[from Cat as cat where cat.id = 123\n"
@@ -1050,7 +1034,7 @@
"from Cat as cat where cat.mate.id = 69]]>"
#. Tag: para
-#: query_hql.xml:487
+#: query_hql.xml:484
#, fuzzy, no-c-format
msgid "The second query is efficient and does not require a table join."
msgstr ""
@@ -1058,7 +1042,7 @@
"n de tablas!"
#. Tag: para
-#: query_hql.xml:491
+#: query_hql.xml:488
#, fuzzy, no-c-format
msgid ""
"Properties of composite identifiers can also be used. Consider the following "
@@ -1071,7 +1055,7 @@
"<literal>medicareNumber</literal>."
#. Tag: programlisting
-#: query_hql.xml:497
+#: query_hql.xml:494
#, no-c-format
msgid ""
"<![CDATA[from bank.Person person\n"
@@ -1083,7 +1067,7 @@
" and person.id.medicareNumber = 123456]]>"
#. Tag: programlisting
-#: query_hql.xml:499
+#: query_hql.xml:496
#, no-c-format
msgid ""
"<![CDATA[from bank.Account account\n"
@@ -1095,7 +1079,7 @@
" and account.owner.id.medicareNumber = 123456]]>"
#. Tag: para
-#: query_hql.xml:501
+#: query_hql.xml:498
#, fuzzy, no-c-format
msgid "Once again, the second query does not require a table join."
msgstr ""
@@ -1103,7 +1087,7 @@
"tablas."
#. Tag: para
-#: query_hql.xml:505
+#: query_hql.xml:502
#, no-c-format
msgid ""
"See <xref linkend=\"queryhql-identifier-property\"/> for more information "
@@ -1111,7 +1095,7 @@
msgstr ""
#. Tag: para
-#: query_hql.xml:510
+#: query_hql.xml:507
#, fuzzy, no-c-format
msgid ""
"The special property <literal>class</literal> accesses the discriminator "
@@ -1125,13 +1109,13 @@
"será traducido a su valor discriminador."
#. Tag: programlisting
-#: query_hql.xml:516
+#: query_hql.xml:513
#, no-c-format
msgid "<![CDATA[from Cat cat where cat.class = DomesticCat]]>"
msgstr "<![CDATA[from Cat cat where cat.class = DomesticCat]]>"
#. Tag: para
-#: query_hql.xml:518
+#: query_hql.xml:515
#, fuzzy, no-c-format
msgid ""
"You can also use components or composite user types, or properties of said "
@@ -1143,7 +1127,7 @@
"details."
#. Tag: para
-#: query_hql.xml:523
+#: query_hql.xml:520
#, fuzzy, no-c-format
msgid ""
"An \"any\" type has the special properties <literal>id</literal> and "
@@ -1157,7 +1141,7 @@
"mapeada con <literal><any></literal>)."
#. Tag: programlisting
-#: query_hql.xml:529
+#: query_hql.xml:526
#, no-c-format
msgid ""
"<![CDATA[from AuditLog log, Payment payment\n"
@@ -1167,7 +1151,7 @@
"where log.item.class = 'Payment' and log.item.id = payment.id]]>"
#. Tag: para
-#: query_hql.xml:531
+#: query_hql.xml:528
#, fuzzy, no-c-format
msgid ""
"The <literal>log.item.class</literal> and <literal>payment.class</literal> "
@@ -1179,13 +1163,13 @@
"completamente diferentes en la consulta anterior."
#. Tag: title
-#: query_hql.xml:539
+#: query_hql.xml:536
#, no-c-format
msgid "Expressions"
msgstr "Expresiones"
#. Tag: para
-#: query_hql.xml:541
+#: query_hql.xml:538
#, fuzzy, no-c-format
msgid ""
"Expressions used in the <literal>where</literal> clause include the "
@@ -1196,13 +1180,13 @@
"SQL:"
#. Tag: para
-#: query_hql.xml:548
+#: query_hql.xml:545
#, fuzzy, no-c-format
msgid "mathematical operators: <literal>+, -, *, /</literal>"
msgstr "operadores matemáticos <literal>+, -, *, /</literal>"
#. Tag: para
-#: query_hql.xml:553
+#: query_hql.xml:550
#, fuzzy, no-c-format
msgid ""
"binary comparison operators: <literal>=, >=, <=, <>, !=, like</"
@@ -1212,19 +1196,19 @@
">, !=, like</literal>"
#. Tag: para
-#: query_hql.xml:558
+#: query_hql.xml:555
#, no-c-format
msgid "logical operations <literal>and, or, not</literal>"
msgstr "operadores lógicos <literal>and, or, not</literal>"
#. Tag: para
-#: query_hql.xml:563
+#: query_hql.xml:560
#, fuzzy, no-c-format
msgid "Parentheses <literal>( )</literal> that indicates grouping"
msgstr "Paréntesis <literal>( )</literal>, indicando agrupación"
#. Tag: para
-#: query_hql.xml:568
+#: query_hql.xml:565
#, no-c-format
msgid ""
"<literal>in</literal>, <literal>not in</literal>, <literal>between</"
@@ -1238,7 +1222,7 @@
"<literal>member of</literal> y <literal>not member of</literal>"
#. Tag: para
-#: query_hql.xml:581
+#: query_hql.xml:578
#, no-c-format
msgid ""
"\"Simple\" case, <literal>case ... when ... then ... else ... end</literal>, "
@@ -1248,7 +1232,7 @@
"y caso \"buscado\", <literal>case when ... then ... else ... end</literal>"
#. Tag: para
-#: query_hql.xml:587
+#: query_hql.xml:584
#, no-c-format
msgid ""
"string concatenation <literal>...||...</literal> or <literal>concat(...,...)"
@@ -1258,7 +1242,7 @@
"(...,...)</literal>"
#. Tag: para
-#: query_hql.xml:592
+#: query_hql.xml:589
#, fuzzy, no-c-format
msgid ""
"<literal>current_date()</literal>, <literal>current_time()</literal>, and "
@@ -1268,7 +1252,7 @@
"<literal>current_timestamp()</literal>"
#. Tag: para
-#: query_hql.xml:598
+#: query_hql.xml:595
#, fuzzy, no-c-format
msgid ""
"<literal>second(...)</literal>, <literal>minute(...)</literal>, <literal>hour"
@@ -1280,7 +1264,7 @@
"<literal>year(...)</literal>,"
#. Tag: para
-#: query_hql.xml:605
+#: query_hql.xml:602
#, no-c-format
msgid ""
"Any function or operator defined by EJB-QL 3.0: <literal>substring(), trim"
@@ -1292,13 +1276,13 @@
"sqrt(), bit_length(), mod()</literal>"
#. Tag: para
-#: query_hql.xml:611
+#: query_hql.xml:608
#, no-c-format
msgid "<literal>coalesce()</literal> and <literal>nullif()</literal>"
msgstr "<literal>coalesce()</literal> y <literal>nullif()</literal>"
#. Tag: para
-#: query_hql.xml:616
+#: query_hql.xml:613
#, no-c-format
msgid ""
"<literal>str()</literal> for converting numeric or temporal values to a "
@@ -1308,7 +1292,7 @@
"temporales a una cadena legible."
#. Tag: para
-#: query_hql.xml:622
+#: query_hql.xml:619
#, no-c-format
msgid ""
"<literal>cast(... as ...)</literal>, where the second argument is the name "
@@ -1322,7 +1306,7 @@
"por la base de datos subyacente."
#. Tag: para
-#: query_hql.xml:630
+#: query_hql.xml:627
#, no-c-format
msgid ""
"the HQL <literal>index()</literal> function, that applies to aliases of a "
@@ -1332,7 +1316,7 @@
"de una colección indexada unida."
#. Tag: para
-#: query_hql.xml:636
+#: query_hql.xml:633
#, fuzzy, no-c-format
msgid ""
"HQL functions that take collection-valued path expressions: <literal>size(), "
@@ -1348,7 +1332,7 @@
"<literal>some, all, exists, any, in</literal>."
#. Tag: para
-#: query_hql.xml:644
+#: query_hql.xml:641
#, fuzzy, no-c-format
msgid ""
"Any database-supported SQL scalar function like <literal>sign()</literal>, "
@@ -1360,13 +1344,13 @@
"literal>, <literal>sin()</literal>"
#. Tag: para
-#: query_hql.xml:650
+#: query_hql.xml:647
#, no-c-format
msgid "JDBC-style positional parameters <literal>?</literal>"
msgstr "parámetros posicionales JDBC <literal>?</literal>"
#. Tag: para
-#: query_hql.xml:655
+#: query_hql.xml:652
#, fuzzy, no-c-format
msgid ""
"named parameters <literal>:name</literal>, <literal>:start_date</literal>, "
@@ -1376,7 +1360,7 @@
"literal>, <literal>:x1</literal>"
#. Tag: para
-#: query_hql.xml:660
+#: query_hql.xml:657
#, no-c-format
msgid ""
"SQL literals <literal>'foo'</literal>, <literal>69</literal>, <literal>6.66E"
@@ -1386,7 +1370,7 @@
"+2</literal>, <literal>'1970-01-01 10:00:01.0'</literal>"
#. Tag: para
-#: query_hql.xml:666
+#: query_hql.xml:663
#, no-c-format
msgid ""
"Java <literal>public static final</literal> constants <literal>eg.Color."
@@ -1396,7 +1380,7 @@
"TABBY</literal>"
#. Tag: para
-#: query_hql.xml:672
+#: query_hql.xml:669
#, fuzzy, no-c-format
msgid ""
"<literal>in</literal> and <literal>between</literal> can be used as follows:"
@@ -1404,13 +1388,13 @@
"<literal>in</literal> y <literal>between</literal> pueden usarse como sigue:"
#. Tag: programlisting
-#: query_hql.xml:676
+#: query_hql.xml:673
#, no-c-format
msgid "<![CDATA[from DomesticCat cat where cat.name between 'A' and 'B']]>"
msgstr "<![CDATA[from DomesticCat cat where cat.name between 'A' and 'B']]>"
#. Tag: programlisting
-#: query_hql.xml:678
+#: query_hql.xml:675
#, no-c-format
msgid ""
"<![CDATA[from DomesticCat cat where cat.name in ( 'Foo', 'Bar', 'Baz' )]]>"
@@ -1418,20 +1402,20 @@
"<![CDATA[from DomesticCat cat where cat.name in ( 'Foo', 'Bar', 'Baz' )]]>"
#. Tag: para
-#: query_hql.xml:680
+#: query_hql.xml:677
#, fuzzy, no-c-format
msgid "The negated forms can be written as follows:"
msgstr "y pueden escribirse las formas negadas"
#. Tag: programlisting
-#: query_hql.xml:684
+#: query_hql.xml:681
#, no-c-format
msgid "<![CDATA[from DomesticCat cat where cat.name not between 'A' and 'B']]>"
msgstr ""
"<![CDATA[from DomesticCat cat where cat.name not between 'A' and 'B']]>"
#. Tag: programlisting
-#: query_hql.xml:686
+#: query_hql.xml:683
#, no-c-format
msgid ""
"<![CDATA[from DomesticCat cat where cat.name not in ( 'Foo', 'Bar', 'Baz' )]]"
@@ -1441,7 +1425,7 @@
">"
#. Tag: para
-#: query_hql.xml:688
+#: query_hql.xml:685
#, fuzzy, no-c-format
msgid ""
"Similarly, <literal>is null</literal> and <literal>is not null</literal> can "
@@ -1451,7 +1435,7 @@
"ser usadas para comprobar valores nulos."
#. Tag: para
-#: query_hql.xml:693
+#: query_hql.xml:690
#, fuzzy, no-c-format
msgid ""
"Booleans can be easily used in expressions by declaring HQL query "
@@ -1461,7 +1445,7 @@
"substituciones de consulta HQL en la configuración de Hibernate:"
#. Tag: programlisting
-#: query_hql.xml:698
+#: query_hql.xml:695
#, no-c-format
msgid ""
"<![CDATA[<property name=\"hibernate.query.substitutions\">true 1, false 0</"
@@ -1471,7 +1455,7 @@
"property>]]>"
#. Tag: para
-#: query_hql.xml:700
+#: query_hql.xml:697
#, no-c-format
msgid ""
"This will replace the keywords <literal>true</literal> and <literal>false</"
@@ -1483,13 +1467,13 @@
"<literal>0</literal> en el SQL traducido de este HQL:"
#. Tag: programlisting
-#: query_hql.xml:705
+#: query_hql.xml:702
#, no-c-format
msgid "<![CDATA[from Cat cat where cat.alive = true]]>"
msgstr "<![CDATA[from Cat cat where cat.alive = true]]>"
#. Tag: para
-#: query_hql.xml:707
+#: query_hql.xml:704
#, fuzzy, no-c-format
msgid ""
"You can test the size of a collection with the special property "
@@ -1500,19 +1484,19 @@
"()</literal>."
#. Tag: programlisting
-#: query_hql.xml:712
+#: query_hql.xml:709
#, no-c-format
msgid "<![CDATA[from Cat cat where cat.kittens.size > 0]]>"
msgstr "<![CDATA[from Cat cat where cat.kittens.size > 0]]>"
#. Tag: programlisting
-#: query_hql.xml:714
+#: query_hql.xml:711
#, no-c-format
msgid "<![CDATA[from Cat cat where size(cat.kittens) > 0]]>"
msgstr "<![CDATA[from Cat cat where size(cat.kittens) > 0]]>"
#. Tag: para
-#: query_hql.xml:716
+#: query_hql.xml:713
#, fuzzy, no-c-format
msgid ""
"For indexed collections, you can refer to the minimum and maximum indices "
@@ -1529,7 +1513,7 @@
"literal>."
#. Tag: programlisting
-#: query_hql.xml:724
+#: query_hql.xml:721
#, no-c-format
msgid ""
"<![CDATA[from Calendar cal where maxelement(cal.holidays) > current_date]]>"
@@ -1537,19 +1521,19 @@
"<![CDATA[from Calendar cal where maxelement(cal.holidays) > current_date]]>"
#. Tag: programlisting
-#: query_hql.xml:726
+#: query_hql.xml:723
#, no-c-format
msgid "<![CDATA[from Order order where maxindex(order.items) > 100]]>"
msgstr "<![CDATA[from Order order where maxindex(order.items) > 100]]>"
#. Tag: programlisting
-#: query_hql.xml:728
+#: query_hql.xml:725
#, no-c-format
msgid "<![CDATA[from Order order where minelement(order.items) > 10000]]>"
msgstr "<![CDATA[from Order order where minelement(order.items) > 10000]]>"
#. Tag: para
-#: query_hql.xml:730
+#: query_hql.xml:727
#, fuzzy, no-c-format
msgid ""
"The SQL functions <literal>any, some, all, exists, in</literal> are "
@@ -1563,7 +1547,7 @@
"<literal>indices</literal>) o el resultado de una subconsulta (ver debajo)."
#. Tag: programlisting
-#: query_hql.xml:736
+#: query_hql.xml:733
#, no-c-format
msgid ""
"<![CDATA[select mother from Cat as mother, Cat as kit\n"
@@ -1573,7 +1557,7 @@
"where kit in elements(foo.kittens)]]>"
#. Tag: programlisting
-#: query_hql.xml:738
+#: query_hql.xml:735
#, no-c-format
msgid ""
"<![CDATA[select p from NameList list, Person p\n"
@@ -1583,25 +1567,25 @@
"where p.name = some elements(list.names)]]>"
#. Tag: programlisting
-#: query_hql.xml:740
+#: query_hql.xml:737
#, no-c-format
msgid "<![CDATA[from Cat cat where exists elements(cat.kittens)]]>"
msgstr "<![CDATA[from Cat cat where exists elements(cat.kittens)]]>"
#. Tag: programlisting
-#: query_hql.xml:742
+#: query_hql.xml:739
#, no-c-format
msgid "<![CDATA[from Player p where 3 > all elements(p.scores)]]>"
msgstr "<![CDATA[from Player p where 3 > all elements(p.scores)]]>"
#. Tag: programlisting
-#: query_hql.xml:744
+#: query_hql.xml:741
#, no-c-format
msgid "<![CDATA[from Show show where 'fizard' in indices(show.acts)]]>"
msgstr "<![CDATA[from Show show where 'fizard' in indices(show.acts)]]>"
#. Tag: para
-#: query_hql.xml:746
+#: query_hql.xml:743
#, fuzzy, no-c-format
msgid ""
"Note that these constructs - <literal>size</literal>, <literal>elements</"
@@ -1617,7 +1601,7 @@
"usula where en Hibernate3."
#. Tag: para
-#: query_hql.xml:753
+#: query_hql.xml:750
#, fuzzy, no-c-format
msgid ""
"Elements of indexed collections (arrays, lists, and maps) can be referred to "
@@ -1627,13 +1611,13 @@
"referidos por índice (en una cláusula where solamente):"
#. Tag: programlisting
-#: query_hql.xml:758
+#: query_hql.xml:755
#, no-c-format
msgid "<![CDATA[from Order order where order.items[0].id = 1234]]>"
msgstr "<![CDATA[from Order order where order.items[0].id = 1234]]>"
#. Tag: programlisting
-#: query_hql.xml:760
+#: query_hql.xml:757
#, no-c-format
msgid ""
"<![CDATA[select person from Person person, Calendar calendar\n"
@@ -1645,7 +1629,7 @@
" and person.nationality.calendar = calendar]]>"
#. Tag: programlisting
-#: query_hql.xml:762
+#: query_hql.xml:759
#, no-c-format
msgid ""
"<![CDATA[select item from Item item, Order order\n"
@@ -1657,7 +1641,7 @@
">"
#. Tag: programlisting
-#: query_hql.xml:764
+#: query_hql.xml:761
#, no-c-format
msgid ""
"<![CDATA[select item from Item item, Order order\n"
@@ -1667,7 +1651,7 @@
"where order.items[ maxindex(order.items) ] = item and order.id = 11]]>"
#. Tag: para
-#: query_hql.xml:766
+#: query_hql.xml:763
#, fuzzy, no-c-format
msgid ""
"The expression inside <literal>[]</literal> can even be an arithmetic "
@@ -1677,7 +1661,7 @@
"expresión aritmética."
#. Tag: programlisting
-#: query_hql.xml:770
+#: query_hql.xml:767
#, no-c-format
msgid ""
"<![CDATA[select item from Item item, Order order\n"
@@ -1687,7 +1671,7 @@
"where order.items[ size(order.items) - 1 ] = item]]>"
#. Tag: para
-#: query_hql.xml:772
+#: query_hql.xml:769
#, fuzzy, no-c-format
msgid ""
"HQL also provides the built-in <literal>index()</literal> function for "
@@ -1698,7 +1682,7 @@
"colección de valores."
#. Tag: programlisting
-#: query_hql.xml:777
+#: query_hql.xml:774
#, no-c-format
msgid ""
"<![CDATA[select item, index(item) from Order order\n"
@@ -1710,7 +1694,7 @@
"where index(item) < 5]]>"
#. Tag: para
-#: query_hql.xml:779
+#: query_hql.xml:776
#, fuzzy, no-c-format
msgid "Scalar SQL functions supported by the underlying database can be used:"
msgstr ""
@@ -1718,13 +1702,13 @@
"subyacente"
#. Tag: programlisting
-#: query_hql.xml:783
+#: query_hql.xml:780
#, no-c-format
msgid "<![CDATA[from DomesticCat cat where upper(cat.name) like 'FRI%']]>"
msgstr "<![CDATA[from DomesticCat cat where upper(cat.name) like 'FRI%']]>"
#. Tag: para
-#: query_hql.xml:785
+#: query_hql.xml:782
#, fuzzy, no-c-format
msgid ""
"Consider how much longer and less readable the following query would be in "
@@ -1735,7 +1719,7 @@
"SQL:"
#. Tag: programlisting
-#: query_hql.xml:790
+#: query_hql.xml:787
#, no-c-format
msgid ""
"<![CDATA[select cust\n"
@@ -1755,13 +1739,13 @@
" and prod = all elements(cust.currentOrder.lineItems)]]>"
#. Tag: para
-#: query_hql.xml:792
+#: query_hql.xml:789
#, no-c-format
msgid "<emphasis>Hint:</emphasis> something like"
msgstr "<emphasis>Ayuda:</emphasis> algo como"
#. Tag: programlisting
-#: query_hql.xml:796
+#: query_hql.xml:793
#, no-c-format
msgid ""
"<![CDATA[SELECT cust.name, cust.address, cust.phone, cust.id, cust."
@@ -1803,13 +1787,13 @@
" )]]>"
#. Tag: title
-#: query_hql.xml:801
+#: query_hql.xml:798
#, no-c-format
msgid "The order by clause"
msgstr "La cláusula order by"
#. Tag: para
-#: query_hql.xml:803
+#: query_hql.xml:800
#, fuzzy, no-c-format
msgid ""
"The list returned by a query can be ordered by any property of a returned "
@@ -1819,7 +1803,7 @@
"propiedad de una clase devuelta o componentes:"
#. Tag: programlisting
-#: query_hql.xml:807
+#: query_hql.xml:804
#, no-c-format
msgid ""
"<![CDATA[from DomesticCat cat\n"
@@ -1829,7 +1813,7 @@
"order by cat.name asc, cat.weight desc, cat.birthdate]]>"
#. Tag: para
-#: query_hql.xml:809
+#: query_hql.xml:806
#, no-c-format
msgid ""
"The optional <literal>asc</literal> or <literal>desc</literal> indicate "
@@ -1839,13 +1823,13 @@
"ordenamiento ascendente o descendente respectivamente."
#. Tag: title
-#: query_hql.xml:816
+#: query_hql.xml:813
#, no-c-format
msgid "The group by clause"
msgstr "La cláusula group by"
#. Tag: para
-#: query_hql.xml:818
+#: query_hql.xml:815
#, fuzzy, no-c-format
msgid ""
"A query that returns aggregate values can be grouped by any property of a "
@@ -1855,7 +1839,7 @@
"propiedad de una clase devuelta o componentes:"
#. Tag: programlisting
-#: query_hql.xml:822
+#: query_hql.xml:819
#, no-c-format
msgid ""
"<![CDATA[select cat.color, sum(cat.weight), count(cat)\n"
@@ -1867,7 +1851,7 @@
"group by cat.color]]>"
#. Tag: programlisting
-#: query_hql.xml:824
+#: query_hql.xml:821
#, no-c-format
msgid ""
"<![CDATA[select foo.id, avg(name), max(name)\n"
@@ -1879,14 +1863,14 @@
"group by foo.id]]>"
#. Tag: para
-#: query_hql.xml:826
+#: query_hql.xml:823
#, no-c-format
msgid "A <literal>having</literal> clause is also allowed."
msgstr ""
"Se permite también una cláusula <literal>having</literal>."
#. Tag: programlisting
-#: query_hql.xml:830
+#: query_hql.xml:827
#, no-c-format
msgid ""
"<![CDATA[select cat.color, sum(cat.weight), count(cat)\n"
@@ -1900,7 +1884,7 @@
"having cat.color in (eg.Color.TABBY, eg.Color.BLACK)]]>"
#. Tag: para
-#: query_hql.xml:832
+#: query_hql.xml:829
#, fuzzy, no-c-format
msgid ""
"SQL functions and aggregate functions are allowed in the <literal>having</"
@@ -1913,7 +1897,7 @@
"ejemplo, no en MySQL)."
#. Tag: programlisting
-#: query_hql.xml:838
+#: query_hql.xml:835
#, no-c-format
msgid ""
"<![CDATA[select cat\n"
@@ -1931,7 +1915,7 @@
"order by count(kitten) asc, sum(kitten.weight) desc]]>"
#. Tag: para
-#: query_hql.xml:840
+#: query_hql.xml:837
#, fuzzy, no-c-format
msgid ""
"Neither the <literal>group by</literal> clause nor the <literal>order by</"
@@ -1945,13 +1929,13 @@
"ticas."
#. Tag: title
-#: query_hql.xml:852
+#: query_hql.xml:849
#, no-c-format
msgid "Subqueries"
msgstr "Subconsultas"
#. Tag: para
-#: query_hql.xml:854
+#: query_hql.xml:851
#, no-c-format
msgid ""
"For databases that support subselects, Hibernate supports subqueries within "
@@ -1966,7 +1950,7 @@
"(subconsultas que hacen referencia a un alias en la consulta exterior)."
#. Tag: programlisting
-#: query_hql.xml:860
+#: query_hql.xml:857
#, no-c-format
msgid ""
"<![CDATA[from Cat as fatcat\n"
@@ -1980,7 +1964,7 @@
" )]]>"
#. Tag: programlisting
-#: query_hql.xml:862
+#: query_hql.xml:859
#, no-c-format
msgid ""
"<![CDATA[from DomesticCat as cat\n"
@@ -1995,7 +1979,7 @@
" )]]>"
#. Tag: programlisting
-#: query_hql.xml:864
+#: query_hql.xml:861
#, no-c-format
msgid ""
"<![CDATA[from Cat as cat\n"
@@ -2010,7 +1994,7 @@
" )]]>"
#. Tag: programlisting
-#: query_hql.xml:866
+#: query_hql.xml:863
#, no-c-format
msgid ""
"<![CDATA[from DomesticCat as cat\n"
@@ -2025,7 +2009,7 @@
" )]]>"
#. Tag: programlisting
-#: query_hql.xml:868
+#: query_hql.xml:865
#, no-c-format
msgid ""
"<![CDATA[select cat.id, (select max(kit.weight) from cat.kitten kit)\n"
@@ -2035,14 +2019,14 @@
" from Cat as cat]]>"
#. Tag: para
-#: query_hql.xml:870
+#: query_hql.xml:867
#, fuzzy, no-c-format
msgid "Note that HQL subqueries can occur only in the select or where clauses."
msgstr ""
"Note that HQL subqueries may occur only in the select or where clauses."
#. Tag: para
-#: query_hql.xml:874
+#: query_hql.xml:871
#, fuzzy, no-c-format
msgid ""
"Note that subqueries can also utilize <literal>row value constructor</"
@@ -2052,13 +2036,13 @@
"literal> syntax. See <xref linkend=\"queryhql-tuple\"/> for more details."
#. Tag: title
-#: query_hql.xml:882
+#: query_hql.xml:879
#, no-c-format
msgid "HQL examples"
msgstr "Ejemplos de HQL"
#. Tag: para
-#: query_hql.xml:884
+#: query_hql.xml:881
#, fuzzy, no-c-format
msgid ""
"Hibernate queries can be quite powerful and complex. In fact, the power of "
@@ -2075,7 +2059,7 @@
"s simples que estas!"
#. Tag: para
-#: query_hql.xml:890
+#: query_hql.xml:887
#, fuzzy, no-c-format
msgid ""
"The following query returns the order id, number of items, the given minimum "
@@ -2096,7 +2080,7 @@
"correlacionada)."
#. Tag: programlisting
-#: query_hql.xml:899
+#: query_hql.xml:896
#, no-c-format
msgid ""
"<![CDATA[select order.id, sum(price.amount), count(item)\n"
@@ -2138,7 +2122,7 @@
"order by sum(price.amount) desc]]>"
#. Tag: para
-#: query_hql.xml:901
+#: query_hql.xml:898
#, no-c-format
msgid ""
"What a monster! Actually, in real life, I'm not very keen on subqueries, so "
@@ -2149,7 +2133,7 @@
"esto:"
#. Tag: programlisting
-#: query_hql.xml:906
+#: query_hql.xml:903
#, no-c-format
msgid ""
"<![CDATA[select order.id, sum(price.amount), count(item)\n"
@@ -2181,7 +2165,7 @@
"order by sum(price.amount) desc]]>"
#. Tag: para
-#: query_hql.xml:908
+#: query_hql.xml:905
#, no-c-format
msgid ""
"The next query counts the number of payments in each status, excluding all "
@@ -2199,7 +2183,7 @@
"<literal>PAYMENT_STATUS</literal> y <literal>PAYMENT_STATUS_CHANGE</literal>."
#. Tag: programlisting
-#: query_hql.xml:916
+#: query_hql.xml:913
#, no-c-format
msgid ""
"<![CDATA[select count(payment), status.name\n"
@@ -2235,7 +2219,7 @@
"order by status.sortOrder]]>"
#. Tag: para
-#: query_hql.xml:918
+#: query_hql.xml:915
#, fuzzy, no-c-format
msgid ""
"If the <literal>statusChanges</literal> collection was mapped as a list, "
@@ -2246,7 +2230,7 @@
"más simple de escribir."
#. Tag: programlisting
-#: query_hql.xml:923
+#: query_hql.xml:920
#, no-c-format
msgid ""
"<![CDATA[select count(payment), status.name\n"
@@ -2268,7 +2252,7 @@
"order by status.sortOrder]]>"
#. Tag: para
-#: query_hql.xml:925
+#: query_hql.xml:922
#, no-c-format
msgid ""
"The next query uses the MS SQL Server <literal>isNull()</literal> function "
@@ -2288,7 +2272,7 @@
"<literal>ORGANIZATION</literal> y <literal>ORG_USER</literal>."
#. Tag: programlisting
-#: query_hql.xml:934
+#: query_hql.xml:931
#, no-c-format
msgid ""
"<![CDATA[select account, payment\n"
@@ -2308,7 +2292,7 @@
"order by account.type.sortOrder, account.accountNumber, payment.dueDate]]>"
#. Tag: para
-#: query_hql.xml:936
+#: query_hql.xml:933
#, no-c-format
msgid ""
"For some databases, we would need to do away with the (correlated) subselect."
@@ -2317,7 +2301,7 @@
"(correlacionada)."
#. Tag: programlisting
-#: query_hql.xml:940
+#: query_hql.xml:937
#, no-c-format
msgid ""
"<![CDATA[select account, payment\n"
@@ -2339,13 +2323,13 @@
"order by account.type.sortOrder, account.accountNumber, payment.dueDate]]>"
#. Tag: title
-#: query_hql.xml:945
+#: query_hql.xml:942
#, no-c-format
msgid "Bulk update and delete"
msgstr "Sentencias UPDATE y DELETE masivas"
#. Tag: para
-#: query_hql.xml:947
+#: query_hql.xml:944
#, fuzzy, no-c-format
msgid ""
"HQL now supports <literal>update</literal>, <literal>delete</literal> and "
@@ -2356,13 +2340,13 @@
"\"batch-direct\"/> para detalles."
#. Tag: title
-#: query_hql.xml:955
+#: query_hql.xml:952
#, no-c-format
msgid "Tips & Tricks"
msgstr "Consejos y Trucos"
#. Tag: para
-#: query_hql.xml:957
+#: query_hql.xml:954
#, fuzzy, no-c-format
msgid "You can count the number of query results without returning them:"
msgstr ""
@@ -2370,7 +2354,7 @@
"realmente:"
#. Tag: programlisting
-#: query_hql.xml:961
+#: query_hql.xml:958
#, no-c-format
msgid ""
"<![CDATA[( (Integer) session.createQuery(\"select count(*) from ....\")."
@@ -2380,7 +2364,7 @@
"iterate().next() ).intValue()]]>"
#. Tag: para
-#: query_hql.xml:963
+#: query_hql.xml:960
#, no-c-format
msgid "To order a result by the size of a collection, use the following query:"
msgstr ""
@@ -2388,7 +2372,7 @@
"la siguiente consulta:"
#. Tag: programlisting
-#: query_hql.xml:967
+#: query_hql.xml:964
#, no-c-format
msgid ""
"<![CDATA[select usr.id, usr.name\n"
@@ -2404,7 +2388,7 @@
"order by count(msg)]]>"
#. Tag: para
-#: query_hql.xml:969
+#: query_hql.xml:966
#, no-c-format
msgid ""
"If your database supports subselects, you can place a condition upon "
@@ -2415,19 +2399,19 @@
"consulta:"
#. Tag: programlisting
-#: query_hql.xml:974
+#: query_hql.xml:971
#, no-c-format
msgid "<![CDATA[from User usr where size(usr.messages) >= 1]]>"
msgstr "<![CDATA[from User usr where size(usr.messages) >= 1]]>"
#. Tag: para
-#: query_hql.xml:976
+#: query_hql.xml:973
#, fuzzy, no-c-format
msgid "If your database does not support subselects, use the following query:"
msgstr "Si tu base de datos no soporta subselects, usa la siguiente consulta:"
#. Tag: programlisting
-#: query_hql.xml:980
+#: query_hql.xml:977
#, no-c-format
msgid ""
"<![CDATA[select usr.id, usr.name\n"
@@ -2443,7 +2427,7 @@
"having count(msg) >= 1]]>"
#. Tag: para
-#: query_hql.xml:983
+#: query_hql.xml:980
#, fuzzy, no-c-format
msgid ""
"As this solution cannot return a <literal>User</literal> with zero messages "
@@ -2454,7 +2438,7 @@
"también útil:"
#. Tag: programlisting
-#: query_hql.xml:988
+#: query_hql.xml:985
#, no-c-format
msgid ""
"<![CDATA[select usr.id, usr.name\n"
@@ -2470,7 +2454,7 @@
"having count(msg) = 0]]>"
#. Tag: para
-#: query_hql.xml:990
+#: query_hql.xml:987
#, no-c-format
msgid "Properties of a JavaBean can be bound to named query parameters:"
msgstr ""
@@ -2478,7 +2462,7 @@
"consulta con nombre:"
#. Tag: programlisting
-#: query_hql.xml:994
+#: query_hql.xml:991
#, no-c-format
msgid ""
"<![CDATA[Query q = s.createQuery(\"from foo Foo as foo where foo.name=:name "
@@ -2492,7 +2476,7 @@
"List foos = q.list();]]>"
#. Tag: para
-#: query_hql.xml:996
+#: query_hql.xml:993
#, no-c-format
msgid ""
"Collections are pageable by using the <literal>Query</literal> interface "
@@ -2502,7 +2486,7 @@
"con un filtro:"
#. Tag: programlisting
-#: query_hql.xml:1000
+#: query_hql.xml:997
#, no-c-format
msgid ""
"<![CDATA[Query q = s.createFilter( collection, \"\" ); // the trivial "
@@ -2518,7 +2502,7 @@
"List page = q.list();]]>"
#. Tag: para
-#: query_hql.xml:1002
+#: query_hql.xml:999
#, fuzzy, no-c-format
msgid "Collection elements can be ordered or grouped using a query filter:"
msgstr ""
@@ -2526,7 +2510,7 @@
"filtro de consulta:"
#. Tag: programlisting
-#: query_hql.xml:1006
+#: query_hql.xml:1003
#, no-c-format
msgid ""
"<![CDATA[Collection orderedCollection = s.filter( collection, \"order by "
@@ -2540,14 +2524,14 @@
"group by this.type\" );]]>"
#. Tag: para
-#: query_hql.xml:1008
+#: query_hql.xml:1005
#, no-c-format
msgid "You can find the size of a collection without initializing it:"
msgstr ""
"Puedes hallar el tamaño de una colección sin inicializarla:"
#. Tag: programlisting
-#: query_hql.xml:1012
+#: query_hql.xml:1009
#, no-c-format
msgid ""
"<![CDATA[( (Integer) session.createQuery(\"select count(*) from ....\")."
@@ -2557,13 +2541,13 @@
"iterate().next() ).intValue();]]>"
#. Tag: title
-#: query_hql.xml:1017
+#: query_hql.xml:1014
#, no-c-format
msgid "Components"
msgstr "UNTRANSLATED! Components"
#. Tag: para
-#: query_hql.xml:1019
+#: query_hql.xml:1016
#, fuzzy, no-c-format
msgid ""
"Components can be used similarly to the simple value types that are used in "
@@ -2575,19 +2559,19 @@
"clause:"
#. Tag: programlisting
-#: query_hql.xml:1024 query_hql.xml:1070
+#: query_hql.xml:1021 query_hql.xml:1067
#, no-c-format
msgid "<![CDATA[select p.name from Person p]]>"
msgstr "<![CDATA[select p.name from Person p]]>"
#. Tag: programlisting
-#: query_hql.xml:1025
+#: query_hql.xml:1022
#, no-c-format
msgid "<![CDATA[select p.name.first from Person p]]>"
msgstr "<![CDATA[select p.name.first from Person p]]>"
#. Tag: para
-#: query_hql.xml:1027
+#: query_hql.xml:1024
#, no-c-format
msgid ""
"where the Person's name property is a component. Components can also be used "
@@ -2597,37 +2581,37 @@
"in the <literal>where</literal> clause:"
#. Tag: programlisting
-#: query_hql.xml:1032
+#: query_hql.xml:1029
#, no-c-format
msgid "<![CDATA[from Person p where p.name = :name]]>"
msgstr "<![CDATA[from Person p where p.name = :name]]>"
#. Tag: programlisting
-#: query_hql.xml:1033
+#: query_hql.xml:1030
#, no-c-format
msgid "<![CDATA[from Person p where p.name.first = :firstName]]>"
msgstr "<![CDATA[from Person p where p.name.first = :firstName]]>"
#. Tag: para
-#: query_hql.xml:1035
+#: query_hql.xml:1032
#, no-c-format
msgid "Components can also be used in the <literal>order by</literal> clause:"
msgstr "Components can also be used in the <literal>order by</literal> clause:"
#. Tag: programlisting
-#: query_hql.xml:1039
+#: query_hql.xml:1036
#, no-c-format
msgid "<![CDATA[from Person p order by p.name]]>"
msgstr "<![CDATA[from Person p order by p.name]]>"
#. Tag: programlisting
-#: query_hql.xml:1040
+#: query_hql.xml:1037
#, no-c-format
msgid "<![CDATA[from Person p order by p.name.first]]>"
msgstr "<![CDATA[from Person p order by p.name.first]]>"
#. Tag: para
-#: query_hql.xml:1042
+#: query_hql.xml:1039
#, no-c-format
msgid ""
"Another common use of components is in <link linkend=\"queryhql-tuple\">row "
@@ -2637,13 +2621,13 @@
"value constructors</link>."
#. Tag: title
-#: query_hql.xml:1048
+#: query_hql.xml:1045
#, no-c-format
msgid "Row value constructor syntax"
msgstr "Row value constructor syntax"
#. Tag: para
-#: query_hql.xml:1050
+#: query_hql.xml:1047
#, fuzzy, no-c-format
msgid ""
"HQL supports the use of ANSI SQL <literal>row value constructor</literal> "
@@ -2659,7 +2643,7 @@
"Consider an entity Person which defines a name component:"
#. Tag: programlisting
-#: query_hql.xml:1057
+#: query_hql.xml:1054
#, no-c-format
msgid ""
"<![CDATA[from Person p where p.name.first='John' and p.name."
@@ -2669,7 +2653,7 @@
"last='Jingleheimer-Schmidt']]>"
#. Tag: para
-#: query_hql.xml:1059
+#: query_hql.xml:1056
#, fuzzy, no-c-format
msgid ""
"That is valid syntax although it is a little verbose. You can make this more "
@@ -2679,14 +2663,14 @@
"bit more concise and use <literal>row value constructor</literal> syntax:"
#. Tag: programlisting
-#: query_hql.xml:1064
+#: query_hql.xml:1061
#, no-c-format
msgid "<![CDATA[from Person p where p.name=('John', 'Jingleheimer-Schmidt')]]>"
msgstr ""
"<![CDATA[from Person p where p.name=('John', 'Jingleheimer-Schmidt')]]>"
#. Tag: para
-#: query_hql.xml:1066
+#: query_hql.xml:1063
#, no-c-format
msgid ""
"It can also be useful to specify this in the <literal>select</literal> "
@@ -2696,7 +2680,7 @@
"clause:"
#. Tag: para
-#: query_hql.xml:1072
+#: query_hql.xml:1069
#, fuzzy, no-c-format
msgid ""
"Using <literal>row value constructor</literal> syntax can also be beneficial "
@@ -2707,7 +2691,7 @@
"values:"
#. Tag: programlisting
-#: query_hql.xml:1077
+#: query_hql.xml:1074
#, no-c-format
msgid ""
"<![CDATA[from Cat as cat\n"
@@ -2723,7 +2707,7 @@
" )]]>"
#. Tag: para
-#: query_hql.xml:1079
+#: query_hql.xml:1076
#, fuzzy, no-c-format
msgid ""
"One thing to consider when deciding if you want to use this syntax, is that "
@@ -2746,6 +2730,15 @@
#~ msgid "or as an actual typesafe Java object,"
#~ msgstr "o como un objeto real Java de tipo seguro,"
+#~ msgid ""
+#~ "<![CDATA[select foo\n"
+#~ "from Foo foo, Bar bar\n"
+#~ "where foo.startDate = bar.date]]>"
+#~ msgstr ""
+#~ "<![CDATA[select foo \n"
+#~ "from Foo foo, Bar bar\n"
+#~ "where foo.startDate = bar.date]]>"
+
#~ msgid "ROLES_OF_TRANSLATORS"
#~ msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_sql.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_sql.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/query_sql.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/session_api.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/session_api.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/session_api.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/toolset_guide.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/toolset_guide.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/toolset_guide.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -726,14 +726,14 @@
"Opciones de Línea de Comandos de <literal>SchemaExport</literal>"
#. Tag: entry
-#: toolset_guide.xml:307 toolset_guide.xml:457 toolset_guide.xml:527
+#: toolset_guide.xml:307 toolset_guide.xml:457 toolset_guide.xml:526
#, no-c-format
msgid "Option"
msgstr "Opción"
#. Tag: entry
#: toolset_guide.xml:308 toolset_guide.xml:395 toolset_guide.xml:458
-#: toolset_guide.xml:528
+#: toolset_guide.xml:527
#, no-c-format
msgid "Description"
msgstr "Descripción"
@@ -799,19 +799,19 @@
msgstr "enviar la salida del guión ddl a un fichero"
#. Tag: literal
-#: toolset_guide.xml:333 toolset_guide.xml:471 toolset_guide.xml:533
+#: toolset_guide.xml:333 toolset_guide.xml:471 toolset_guide.xml:532
#, no-c-format
msgid "--naming=eg.MyNamingStrategy"
msgstr "--naming=eg.MyNamingStrategy"
#. Tag: entry
-#: toolset_guide.xml:334 toolset_guide.xml:472 toolset_guide.xml:534
+#: toolset_guide.xml:334 toolset_guide.xml:472 toolset_guide.xml:533
#, no-c-format
msgid "select a <literal>NamingStrategy</literal>"
msgstr "select a <literal>NamingStrategy</literal>"
#. Tag: literal
-#: toolset_guide.xml:337 toolset_guide.xml:479 toolset_guide.xml:541
+#: toolset_guide.xml:337 toolset_guide.xml:479 toolset_guide.xml:540
#, no-c-format
msgid "--config=hibernate.cfg.xml"
msgstr "--config=hibernate.cfg.xml"
@@ -823,13 +823,13 @@
msgstr "lee la configuración de Hibernate de un fichero XML"
#. Tag: literal
-#: toolset_guide.xml:341 toolset_guide.xml:475 toolset_guide.xml:537
+#: toolset_guide.xml:341 toolset_guide.xml:475 toolset_guide.xml:536
#, no-c-format
msgid "--properties=hibernate.properties"
msgstr "--properties=hibernate.properties"
#. Tag: entry
-#: toolset_guide.xml:342 toolset_guide.xml:476 toolset_guide.xml:538
+#: toolset_guide.xml:342 toolset_guide.xml:476 toolset_guide.xml:537
#, no-c-format
msgid "read database properties from a file"
msgstr "lee las propiedades de base de datos de un fichero"
@@ -1089,7 +1089,7 @@
msgstr "don't export the script to the database"
#. Tag: entry
-#: toolset_guide.xml:480 toolset_guide.xml:542
+#: toolset_guide.xml:480 toolset_guide.xml:541
#, no-c-format
msgid "specify a <literal>.cfg.xml</literal> file"
msgstr "specify a <literal>.cfg.xml</literal> file"
@@ -1190,28 +1190,20 @@
"<literal>org.hibernate.tool.hbm2ddl.SchemaValidator</literal> "
"<emphasis>options mapping_files</emphasis>"
-#. Tag: para
-#: toolset_guide.xml:518
-#, fuzzy, no-c-format
-msgid ""
-"The following table displays the <literal>SchemaValidator</literal> command "
-"line options:"
-msgstr "<literal>SchemaValidator</literal> Command Line Options"
-
#. Tag: title
-#: toolset_guide.xml:521
+#: toolset_guide.xml:520
#, no-c-format
msgid "<literal>SchemaValidator</literal> Command Line Options"
msgstr "<literal>SchemaValidator</literal> Command Line Options"
#. Tag: para
-#: toolset_guide.xml:548
+#: toolset_guide.xml:547
#, fuzzy, no-c-format
msgid "You can embed <literal>SchemaValidator</literal> in your application:"
msgstr "You may embed <literal>SchemaValidator</literal> in your application:"
#. Tag: programlisting
-#: toolset_guide.xml:552
+#: toolset_guide.xml:551
#, no-c-format
msgid ""
"<![CDATA[Configuration cfg = ....;\n"
@@ -1222,19 +1214,19 @@
"(cfg).validate();]]>"
#. Tag: title
-#: toolset_guide.xml:557
+#: toolset_guide.xml:556
#, no-c-format
msgid "Using Ant for schema validation"
msgstr "Using Ant for schema validation"
#. Tag: para
-#: toolset_guide.xml:559
+#: toolset_guide.xml:558
#, no-c-format
msgid "You can call <literal>SchemaValidator</literal> from the Ant script:"
msgstr "You can call <literal>SchemaValidator</literal> from the Ant script:"
#. Tag: programlisting
-#: toolset_guide.xml:563
+#: toolset_guide.xml:562
#, no-c-format
msgid ""
"<![CDATA[<target name=\"schemavalidate\">\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/transactions.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/transactions.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/transactions.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/tutorial.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/tutorial.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/tutorial.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-23 18:41+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/content/xml.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/content/xml.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/content/xml.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-10 21:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/es-ES/legal_notice.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/es-ES/legal_notice.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/es-ES/legal_notice.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-06-16 18:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Content-Type: text/plain; charset=UTF-8\n"
Modified: core/trunk/documentation/manual/src/main/docbook/fr-FR/content/example_parentchild.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/fr-FR/content/example_parentchild.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/fr-FR/content/example_parentchild.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-08-17 20:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -577,13 +577,13 @@
"pire des cas, à la base de données, pour voir si la ligne existe."
#. Tag: title
-#: example_parentchild.xml:284
+#: example_parentchild.xml:263
#, no-c-format
msgid "Conclusion"
msgstr "Conclusion"
#. Tag: para
-#: example_parentchild.xml:286
+#: example_parentchild.xml:265
#, fuzzy, no-c-format
msgid ""
"The sections we have just covered can be a bit confusing. However, in "
@@ -596,7 +596,7 @@
"pattern père / fils."
#. Tag: para
-#: example_parentchild.xml:291
+#: example_parentchild.xml:270
#, fuzzy, no-c-format
msgid ""
"We mentioned an alternative in the first paragraph. None of the above issues "
Modified: core/trunk/documentation/manual/src/main/docbook/fr-FR/content/performance.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/fr-FR/content/performance.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/fr-FR/content/performance.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-08-17 20:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -2495,7 +2495,7 @@
msgstr ""
#. Tag: para
-#: performance.xml:1233
+#: performance.xml:1228
#, fuzzy, no-c-format
msgid ""
"You can activate and deactivate the monitoring for a "
@@ -2504,7 +2504,7 @@
"Vous pouvez (dés)activer le suivi pour une <literal>SessionFactory</literal>"
#. Tag: para
-#: performance.xml:1238
+#: performance.xml:1233
#, no-c-format
msgid ""
"at configuration time, set <literal>hibernate.generate_statistics</literal> "
@@ -2514,7 +2514,7 @@
"generate_statistics</literal> à <literal>false</literal>"
#. Tag: para
-#: performance.xml:1245
+#: performance.xml:1240
#, no-c-format
msgid ""
"at runtime: <literal>sf.getStatistics().setStatisticsEnabled(true)</literal> "
@@ -2524,7 +2524,7 @@
"literal> ou <literal>hibernateStatsBean.setStatisticsEnabled(true)</literal>"
#. Tag: para
-#: performance.xml:1252
+#: performance.xml:1247
#, fuzzy, no-c-format
msgid ""
"Statistics can be reset programmatically using the <literal>clear()</"
@@ -2537,13 +2537,13 @@
"literal>"
#. Tag: title
-#: performance.xml:1261
+#: performance.xml:1256
#, no-c-format
msgid "Metrics"
msgstr "Métriques"
#. Tag: para
-#: performance.xml:1263
+#: performance.xml:1258
#, fuzzy, no-c-format
msgid ""
"Hibernate provides a number of metrics, from basic information to more "
@@ -2557,7 +2557,7 @@
"l'API de l'interface <literal>Statistics</literal> dans trois catégories :"
#. Tag: para
-#: performance.xml:1270
+#: performance.xml:1265
#, no-c-format
msgid ""
"Metrics related to the general <literal>Session</literal> usage, such as "
@@ -2568,7 +2568,7 @@
"récupérées, etc..."
#. Tag: para
-#: performance.xml:1276
+#: performance.xml:1271
#, fuzzy, no-c-format
msgid ""
"Metrics related to the entities, collections, queries, and caches as a whole "
@@ -2578,7 +2578,7 @@
"leur ensemble (métriques globales),"
#. Tag: para
-#: performance.xml:1282
+#: performance.xml:1277
#, no-c-format
msgid ""
"Detailed metrics related to a particular entity, collection, query or cache "
@@ -2588,7 +2588,7 @@
"ou une région de cache particulière."
#. Tag: para
-#: performance.xml:1289
+#: performance.xml:1284
#, fuzzy, no-c-format
msgid ""
"For example, you can check the cache hit, miss, and put ratio of entities, "
@@ -2605,7 +2605,7 @@
"n'offre qu'une précision de l'ordre de 10 secondes."
#. Tag: para
-#: performance.xml:1296
+#: performance.xml:1291
#, fuzzy, no-c-format
msgid ""
"Simple getters are used to access the global metrics (i.e. not tied to a "
@@ -2630,7 +2630,7 @@
"simple :"
#. Tag: programlisting
-#: performance.xml:1306
+#: performance.xml:1301
#, no-c-format
msgid ""
"<![CDATA[Statistics stats = HibernateUtil.sessionFactory.getStatistics();\n"
@@ -2652,7 +2652,7 @@
msgstr ""
#. Tag: para
-#: performance.xml:1308
+#: performance.xml:1303
#, fuzzy, no-c-format
msgid ""
"You can work on all entities, collections, queries and region caches, by "
Modified: core/trunk/documentation/manual/src/main/docbook/ja-JP/content/example_parentchild.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/ja-JP/content/example_parentchild.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/ja-JP/content/example_parentchild.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-08-17 20:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -565,13 +565,13 @@
"ます。"
#. Tag: title
-#: example_parentchild.xml:284
+#: example_parentchild.xml:263
#, no-c-format
msgid "Conclusion"
msgstr "結論"
#. Tag: para
-#: example_parentchild.xml:286
+#: example_parentchild.xml:265
#, fuzzy, no-c-format
msgid ""
"The sections we have just covered can be a bit confusing. However, in "
@@ -583,7 +583,7 @@
"リケーションでは、多くの場面で親子パターンを使用します。"
#. Tag: para
-#: example_parentchild.xml:291
+#: example_parentchild.xml:270
#, fuzzy, no-c-format
msgid ""
"We mentioned an alternative in the first paragraph. None of the above issues "
Modified: core/trunk/documentation/manual/src/main/docbook/ja-JP/content/performance.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/ja-JP/content/performance.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/ja-JP/content/performance.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-08-17 20:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -2402,7 +2402,7 @@
msgstr ""
#. Tag: para
-#: performance.xml:1233
+#: performance.xml:1228
#, fuzzy, no-c-format
msgid ""
"You can activate and deactivate the monitoring for a "
@@ -2412,7 +2412,7 @@
"とが出来ます。"
#. Tag: para
-#: performance.xml:1238
+#: performance.xml:1233
#, no-c-format
msgid ""
"at configuration time, set <literal>hibernate.generate_statistics</literal> "
@@ -2422,7 +2422,7 @@
"<literal>false</literal> にします"
#. Tag: para
-#: performance.xml:1245
+#: performance.xml:1240
#, no-c-format
msgid ""
"at runtime: <literal>sf.getStatistics().setStatisticsEnabled(true)</literal> "
@@ -2433,7 +2433,7 @@
"び出します"
#. Tag: para
-#: performance.xml:1252
+#: performance.xml:1247
#, fuzzy, no-c-format
msgid ""
"Statistics can be reset programmatically using the <literal>clear()</"
@@ -2445,13 +2445,13 @@
"ることが出来ます (infoレベルです)。"
#. Tag: title
-#: performance.xml:1261
+#: performance.xml:1256
#, no-c-format
msgid "Metrics"
msgstr "メトリクス"
#. Tag: para
-#: performance.xml:1263
+#: performance.xml:1258
#, fuzzy, no-c-format
msgid ""
"Hibernate provides a number of metrics, from basic information to more "
@@ -2463,7 +2463,7 @@
"literal> インターフェイスのAPIに書かれており、3つの分類があります。"
#. Tag: para
-#: performance.xml:1270
+#: performance.xml:1265
#, no-c-format
msgid ""
"Metrics related to the general <literal>Session</literal> usage, such as "
@@ -2473,7 +2473,7 @@
"オープンしたセッションの数がJDBCコネクションと関連しているのと同じです。"
#. Tag: para
-#: performance.xml:1276
+#: performance.xml:1271
#, fuzzy, no-c-format
msgid ""
"Metrics related to the entities, collections, queries, and caches as a whole "
@@ -2483,7 +2483,7 @@
"(別名はグローバルメトリクスです)。"
#. Tag: para
-#: performance.xml:1282
+#: performance.xml:1277
#, no-c-format
msgid ""
"Detailed metrics related to a particular entity, collection, query or cache "
@@ -2493,7 +2493,7 @@
"関係しています。"
#. Tag: para
-#: performance.xml:1289
+#: performance.xml:1284
#, fuzzy, no-c-format
msgid ""
"For example, you can check the cache hit, miss, and put ratio of entities, "
@@ -2508,7 +2508,7 @@
"によっては10秒単位でしか正確でないかもしれません。"
#. Tag: para
-#: performance.xml:1296
+#: performance.xml:1291
#, fuzzy, no-c-format
msgid ""
"Simple getters are used to access the global metrics (i.e. not tied to a "
@@ -2531,7 +2531,7 @@
"literal> APIのjavadocを 参照してください。以下のコードは簡単な例です。"
#. Tag: programlisting
-#: performance.xml:1306
+#: performance.xml:1301
#, no-c-format
msgid ""
"<![CDATA[Statistics stats = HibernateUtil.sessionFactory.getStatistics();\n"
@@ -2553,7 +2553,7 @@
msgstr ""
#. Tag: para
-#: performance.xml:1308
+#: performance.xml:1303
#, fuzzy, no-c-format
msgid ""
"You can work on all entities, collections, queries and region caches, by "
Modified: core/trunk/documentation/manual/src/main/docbook/ko-KR/content/example_parentchild.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/ko-KR/content/example_parentchild.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/ko-KR/content/example_parentchild.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-08-17 20:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -566,13 +566,13 @@
"존재하는지를 알기 위해 데이터베이스를 질의할 것이다."
#. Tag: title
-#: example_parentchild.xml:284
+#: example_parentchild.xml:263
#, no-c-format
msgid "Conclusion"
msgstr "결론"
#. Tag: para
-#: example_parentchild.xml:286
+#: example_parentchild.xml:265
#, fuzzy, no-c-format
msgid ""
"The sections we have just covered can be a bit confusing. However, in "
@@ -584,7 +584,7 @@
"들은 많은 장소들에서 부모/자식 패턴을 사용한다."
#. Tag: para
-#: example_parentchild.xml:291
+#: example_parentchild.xml:270
#, fuzzy, no-c-format
msgid ""
"We mentioned an alternative in the first paragraph. None of the above issues "
Modified: core/trunk/documentation/manual/src/main/docbook/ko-KR/content/performance.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/ko-KR/content/performance.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/ko-KR/content/performance.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-08-17 20:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -2418,7 +2418,7 @@
msgstr ""
#. Tag: para
-#: performance.xml:1233
+#: performance.xml:1228
#, fuzzy, no-c-format
msgid ""
"You can activate and deactivate the monitoring for a "
@@ -2428,7 +2428,7 @@
"수 있다"
#. Tag: para
-#: performance.xml:1238
+#: performance.xml:1233
#, no-c-format
msgid ""
"at configuration time, set <literal>hibernate.generate_statistics</literal> "
@@ -2438,7 +2438,7 @@
"<literal>false</literal>"
#. Tag: para
-#: performance.xml:1245
+#: performance.xml:1240
#, no-c-format
msgid ""
"at runtime: <literal>sf.getStatistics().setStatisticsEnabled(true)</literal> "
@@ -2448,7 +2448,7 @@
"는 <literal>hibernateStatsBean.setStatisticsEnabled(true)</literal>"
#. Tag: para
-#: performance.xml:1252
+#: performance.xml:1247
#, fuzzy, no-c-format
msgid ""
"Statistics can be reset programmatically using the <literal>clear()</"
@@ -2460,13 +2460,13 @@
"를 사용하여 logger(info 레벨)에게 전송될 수 있다."
#. Tag: title
-#: performance.xml:1261
+#: performance.xml:1256
#, no-c-format
msgid "Metrics"
msgstr "Metrics"
#. Tag: para
-#: performance.xml:1263
+#: performance.xml:1258
#, fuzzy, no-c-format
msgid ""
"Hibernate provides a number of metrics, from basic information to more "
@@ -2480,7 +2480,7 @@
"다:"
#. Tag: para
-#: performance.xml:1270
+#: performance.xml:1265
#, no-c-format
msgid ""
"Metrics related to the general <literal>Session</literal> usage, such as "
@@ -2490,7 +2490,7 @@
"<literal>Session</literal> 사용에 관련된 metrics."
#. Tag: para
-#: performance.xml:1276
+#: performance.xml:1271
#, fuzzy, no-c-format
msgid ""
"Metrics related to the entities, collections, queries, and caches as a whole "
@@ -2500,7 +2500,7 @@
"metrics로 알려져 있음),"
#. Tag: para
-#: performance.xml:1282
+#: performance.xml:1277
#, no-c-format
msgid ""
"Detailed metrics related to a particular entity, collection, query or cache "
@@ -2508,7 +2508,7 @@
msgstr "특정한 엔티티, 콜렉션, 질의 또는 캐시 영역에 관련된 상세 metrics."
#. Tag: para
-#: performance.xml:1289
+#: performance.xml:1284
#, fuzzy, no-c-format
msgid ""
"For example, you can check the cache hit, miss, and put ratio of entities, "
@@ -2524,7 +2524,7 @@
"있다."
#. Tag: para
-#: performance.xml:1296
+#: performance.xml:1291
#, fuzzy, no-c-format
msgid ""
"Simple getters are used to access the global metrics (i.e. not tied to a "
@@ -2548,7 +2548,7 @@
"준다:"
#. Tag: programlisting
-#: performance.xml:1306
+#: performance.xml:1301
#, no-c-format
msgid ""
"<![CDATA[Statistics stats = HibernateUtil.sessionFactory.getStatistics();\n"
@@ -2570,7 +2570,7 @@
msgstr ""
#. Tag: para
-#: performance.xml:1308
+#: performance.xml:1303
#, fuzzy, no-c-format
msgid ""
"You can work on all entities, collections, queries and region caches, by "
Modified: core/trunk/documentation/manual/src/main/docbook/pot/content/example_parentchild.pot
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/pot/content/example_parentchild.pot 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/pot/content/example_parentchild.pot 2009-08-17 21:50:41 UTC (rev 17342)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-08-17 20:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
@@ -378,19 +378,19 @@
msgstr ""
#. Tag: title
-#: example_parentchild.xml:284
+#: example_parentchild.xml:263
#, no-c-format
msgid "Conclusion"
msgstr ""
#. Tag: para
-#: example_parentchild.xml:286
+#: example_parentchild.xml:265
#, no-c-format
msgid "The sections we have just covered can be a bit confusing. However, in practice, it all works out nicely. Most Hibernate applications use the parent/child pattern in many places."
msgstr ""
#. Tag: para
-#: example_parentchild.xml:291
+#: example_parentchild.xml:270
#, no-c-format
msgid "We mentioned an alternative in the first paragraph. None of the above issues exist in the case of <literal><composite-element></literal> mappings, which have exactly the semantics of a parent/child relationship. Unfortunately, there are two big limitations with composite element classes: composite elements cannot own collections and they should not be the child of any entity other than the unique parent."
msgstr ""
Modified: core/trunk/documentation/manual/src/main/docbook/pot/content/performance.pot
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/pot/content/performance.pot 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/pot/content/performance.pot 2009-08-17 21:50:41 UTC (rev 17342)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-08-17 20:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
@@ -1467,73 +1467,73 @@
msgstr ""
#. Tag: para
-#: performance.xml:1233
+#: performance.xml:1228
#, no-c-format
msgid "You can activate and deactivate the monitoring for a <literal>SessionFactory</literal>:"
msgstr ""
#. Tag: para
-#: performance.xml:1238
+#: performance.xml:1233
#, no-c-format
msgid "at configuration time, set <literal>hibernate.generate_statistics</literal> to <literal>false</literal>"
msgstr ""
#. Tag: para
-#: performance.xml:1245
+#: performance.xml:1240
#, no-c-format
msgid "at runtime: <literal>sf.getStatistics().setStatisticsEnabled(true)</literal> or <literal>hibernateStatsBean.setStatisticsEnabled(true)</literal>"
msgstr ""
#. Tag: para
-#: performance.xml:1252
+#: performance.xml:1247
#, no-c-format
msgid "Statistics can be reset programmatically using the <literal>clear()</literal> method. A summary can be sent to a logger (info level) using the <literal>logSummary()</literal> method."
msgstr ""
#. Tag: title
-#: performance.xml:1261
+#: performance.xml:1256
#, no-c-format
msgid "Metrics"
msgstr ""
#. Tag: para
-#: performance.xml:1263
+#: performance.xml:1258
#, no-c-format
msgid "Hibernate provides a number of metrics, from basic information to more specialized information that is only relevant in certain scenarios. All available counters are described in the <literal>Statistics</literal> interface API, in three categories:"
msgstr ""
#. Tag: para
-#: performance.xml:1270
+#: performance.xml:1265
#, no-c-format
msgid "Metrics related to the general <literal>Session</literal> usage, such as number of open sessions, retrieved JDBC connections, etc."
msgstr ""
#. Tag: para
-#: performance.xml:1276
+#: performance.xml:1271
#, no-c-format
msgid "Metrics related to the entities, collections, queries, and caches as a whole (aka global metrics)."
msgstr ""
#. Tag: para
-#: performance.xml:1282
+#: performance.xml:1277
#, no-c-format
msgid "Detailed metrics related to a particular entity, collection, query or cache region."
msgstr ""
#. Tag: para
-#: performance.xml:1289
+#: performance.xml:1284
#, no-c-format
msgid "For example, you can check the cache hit, miss, and put ratio of entities, collections and queries, and the average time a query needs. Be aware that the number of milliseconds is subject to approximation in Java. Hibernate is tied to the JVM precision and on some platforms this might only be accurate to 10 seconds."
msgstr ""
#. Tag: para
-#: performance.xml:1296
+#: performance.xml:1291
#, no-c-format
msgid "Simple getters are used to access the global metrics (i.e. not tied to a particular entity, collection, cache region, etc.). You can access the metrics of a particular entity, collection or cache region through its name, and through its HQL or SQL representation for queries. Please refer to the <literal>Statistics</literal>, <literal>EntityStatistics</literal>, <literal>CollectionStatistics</literal>, <literal>SecondLevelCacheStatistics</literal>, and <literal>QueryStatistics</literal> API Javadoc for more information. The following code is a simple example:"
msgstr ""
#. Tag: programlisting
-#: performance.xml:1306
+#: performance.xml:1301
#, no-c-format
msgid ""
"<![CDATA[Statistics stats = HibernateUtil.sessionFactory.getStatistics();\n"
@@ -1555,7 +1555,7 @@
msgstr ""
#. Tag: para
-#: performance.xml:1308
+#: performance.xml:1303
#, no-c-format
msgid "You can work on all entities, collections, queries and region caches, by retrieving the list of names of entities, collections, queries and region caches using the following methods: <literal>getQueries()</literal>, <literal>getEntityNames()</literal>, <literal>getCollectionRoleNames()</literal>, and <literal>getSecondLevelCacheRegionNames()</literal>."
msgstr ""
Modified: core/trunk/documentation/manual/src/main/docbook/pot/content/persistent_classes.pot
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/pot/content/persistent_classes.pot 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/pot/content/persistent_classes.pot 2009-08-17 21:50:41 UTC (rev 17342)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-08-17 20:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: core/trunk/documentation/manual/src/main/docbook/pt-BR/content/example_parentchild.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/pt-BR/content/example_parentchild.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/pt-BR/content/example_parentchild.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-08-17 20:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -567,13 +567,13 @@
"exists."
#. Tag: title
-#: example_parentchild.xml:284
+#: example_parentchild.xml:263
#, no-c-format
msgid "Conclusion"
msgstr "Conclusion"
#. Tag: para
-#: example_parentchild.xml:286
+#: example_parentchild.xml:265
#, fuzzy, no-c-format
msgid ""
"The sections we have just covered can be a bit confusing. However, in "
@@ -585,7 +585,7 @@
"applications use the parent / child pattern in many places."
#. Tag: para
-#: example_parentchild.xml:291
+#: example_parentchild.xml:270
#, fuzzy, no-c-format
msgid ""
"We mentioned an alternative in the first paragraph. None of the above issues "
Modified: core/trunk/documentation/manual/src/main/docbook/pt-BR/content/performance.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/pt-BR/content/performance.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/pt-BR/content/performance.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-08-17 20:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -2431,7 +2431,7 @@
msgstr ""
#. Tag: para
-#: performance.xml:1233
+#: performance.xml:1228
#, fuzzy, no-c-format
msgid ""
"You can activate and deactivate the monitoring for a "
@@ -2440,7 +2440,7 @@
"You can (de)activate the monitoring for a <literal>SessionFactory</literal>"
#. Tag: para
-#: performance.xml:1238
+#: performance.xml:1233
#, no-c-format
msgid ""
"at configuration time, set <literal>hibernate.generate_statistics</literal> "
@@ -2450,7 +2450,7 @@
"to <literal>false</literal>"
#. Tag: para
-#: performance.xml:1245
+#: performance.xml:1240
#, no-c-format
msgid ""
"at runtime: <literal>sf.getStatistics().setStatisticsEnabled(true)</literal> "
@@ -2460,7 +2460,7 @@
"or <literal>hibernateStatsBean.setStatisticsEnabled(true)</literal>"
#. Tag: para
-#: performance.xml:1252
+#: performance.xml:1247
#, fuzzy, no-c-format
msgid ""
"Statistics can be reset programmatically using the <literal>clear()</"
@@ -2472,13 +2472,13 @@
"<literal>logSummary()</literal> method."
#. Tag: title
-#: performance.xml:1261
+#: performance.xml:1256
#, no-c-format
msgid "Metrics"
msgstr "Metrics"
#. Tag: para
-#: performance.xml:1263
+#: performance.xml:1258
#, fuzzy, no-c-format
msgid ""
"Hibernate provides a number of metrics, from basic information to more "
@@ -2492,7 +2492,7 @@
"categories:"
#. Tag: para
-#: performance.xml:1270
+#: performance.xml:1265
#, no-c-format
msgid ""
"Metrics related to the general <literal>Session</literal> usage, such as "
@@ -2502,7 +2502,7 @@
"number of open sessions, retrieved JDBC connections, etc."
#. Tag: para
-#: performance.xml:1276
+#: performance.xml:1271
#, fuzzy, no-c-format
msgid ""
"Metrics related to the entities, collections, queries, and caches as a whole "
@@ -2512,7 +2512,7 @@
"(aka global metrics),"
#. Tag: para
-#: performance.xml:1282
+#: performance.xml:1277
#, no-c-format
msgid ""
"Detailed metrics related to a particular entity, collection, query or cache "
@@ -2522,7 +2522,7 @@
"region."
#. Tag: para
-#: performance.xml:1289
+#: performance.xml:1284
#, fuzzy, no-c-format
msgid ""
"For example, you can check the cache hit, miss, and put ratio of entities, "
@@ -2538,7 +2538,7 @@
"accurate to 10 seconds."
#. Tag: para
-#: performance.xml:1296
+#: performance.xml:1291
#, fuzzy, no-c-format
msgid ""
"Simple getters are used to access the global metrics (i.e. not tied to a "
@@ -2562,7 +2562,7 @@
"example:"
#. Tag: programlisting
-#: performance.xml:1306
+#: performance.xml:1301
#, no-c-format
msgid ""
"<![CDATA[Statistics stats = HibernateUtil.sessionFactory.getStatistics();\n"
@@ -2584,7 +2584,7 @@
msgstr ""
#. Tag: para
-#: performance.xml:1308
+#: performance.xml:1303
#, fuzzy, no-c-format
msgid ""
"You can work on all entities, collections, queries and region caches, by "
Modified: core/trunk/documentation/manual/src/main/docbook/zh-CN/content/example_parentchild.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/zh-CN/content/example_parentchild.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/zh-CN/content/example_parentchild.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:55+0000\n"
+"POT-Creation-Date: 2009-08-17 20:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -537,13 +537,13 @@
"查询第二级缓存,或者最坏的情况,查询数据库,来确认是否此行存在。"
#. Tag: title
-#: example_parentchild.xml:284
+#: example_parentchild.xml:263
#, no-c-format
msgid "Conclusion"
msgstr "结论"
#. Tag: para
-#: example_parentchild.xml:286
+#: example_parentchild.xml:265
#, fuzzy, no-c-format
msgid ""
"The sections we have just covered can be a bit confusing. However, in "
@@ -554,7 +554,7 @@
"常好。大部分Hibernate应用程序都会经常用到父子对象模式。"
#. Tag: para
-#: example_parentchild.xml:291
+#: example_parentchild.xml:270
#, fuzzy, no-c-format
msgid ""
"We mentioned an alternative in the first paragraph. None of the above issues "
Modified: core/trunk/documentation/manual/src/main/docbook/zh-CN/content/performance.po
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/zh-CN/content/performance.po 2009-08-17 21:27:47 UTC (rev 17341)
+++ core/trunk/documentation/manual/src/main/docbook/zh-CN/content/performance.po 2009-08-17 21:50:41 UTC (rev 17342)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-07-14 19:56+0000\n"
+"POT-Creation-Date: 2009-08-17 20:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -2289,7 +2289,7 @@
msgstr ""
#. Tag: para
-#: performance.xml:1233
+#: performance.xml:1228
#, fuzzy, no-c-format
msgid ""
"You can activate and deactivate the monitoring for a "
@@ -2298,7 +2298,7 @@
"你可以通过以下方法打开或关闭<literal>SessionFactory</literal>的监测功能:"
#. Tag: para
-#: performance.xml:1238
+#: performance.xml:1233
#, no-c-format
msgid ""
"at configuration time, set <literal>hibernate.generate_statistics</literal> "
@@ -2308,7 +2308,7 @@
"<literal>true</literal>或<literal>false</literal>;"
#. Tag: para
-#: performance.xml:1245
+#: performance.xml:1240
#, no-c-format
msgid ""
"at runtime: <literal>sf.getStatistics().setStatisticsEnabled(true)</literal> "
@@ -2319,7 +2319,7 @@
"literal>"
#. Tag: para
-#: performance.xml:1252
+#: performance.xml:1247
#, fuzzy, no-c-format
msgid ""
"Statistics can be reset programmatically using the <literal>clear()</"
@@ -2330,13 +2330,13 @@
"<literal>logSummary()</literal> 在日志中记录(info级别)其总结。"
#. Tag: title
-#: performance.xml:1261
+#: performance.xml:1256
#, no-c-format
msgid "Metrics"
msgstr "数据记录(Metrics)"
#. Tag: para
-#: performance.xml:1263
+#: performance.xml:1258
#, fuzzy, no-c-format
msgid ""
"Hibernate provides a number of metrics, from basic information to more "
@@ -2349,7 +2349,7 @@
"分为三类:"
#. Tag: para
-#: performance.xml:1270
+#: performance.xml:1265
#, no-c-format
msgid ""
"Metrics related to the general <literal>Session</literal> usage, such as "
@@ -2359,7 +2359,7 @@
"JDBC的连接数等;"
#. Tag: para
-#: performance.xml:1276
+#: performance.xml:1271
#, fuzzy, no-c-format
msgid ""
"Metrics related to the entities, collections, queries, and caches as a whole "
@@ -2367,7 +2367,7 @@
msgstr "实体、集合、查询、缓存等内容的统一数据记录"
#. Tag: para
-#: performance.xml:1282
+#: performance.xml:1277
#, no-c-format
msgid ""
"Detailed metrics related to a particular entity, collection, query or cache "
@@ -2375,7 +2375,7 @@
msgstr "和具体实体、集合、查询、缓存相关的详细数据记录"
#. Tag: para
-#: performance.xml:1289
+#: performance.xml:1284
#, fuzzy, no-c-format
msgid ""
"For example, you can check the cache hit, miss, and put ratio of entities, "
@@ -2389,7 +2389,7 @@
"精度和具体的JVM有关,在有些平台上其精度甚至只能精确到10秒。"
#. Tag: para
-#: performance.xml:1296
+#: performance.xml:1291
#, fuzzy, no-c-format
msgid ""
"Simple getters are used to access the global metrics (i.e. not tied to a "
@@ -2410,7 +2410,7 @@
"literal>的API文档以抓取更多信息。下面的代码则是个简单的例子:"
#. Tag: programlisting
-#: performance.xml:1306
+#: performance.xml:1301
#, no-c-format
msgid ""
"<![CDATA[Statistics stats = HibernateUtil.sessionFactory.getStatistics();\n"
@@ -2432,7 +2432,7 @@
msgstr ""
#. Tag: para
-#: performance.xml:1308
+#: performance.xml:1303
#, fuzzy, no-c-format
msgid ""
"You can work on all entities, collections, queries and region caches, by "
15 years, 3 months
Hibernate SVN: r17341 - core/trunk/documentation/manual.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-08-17 17:27:47 -0400 (Mon, 17 Aug 2009)
New Revision: 17341
Modified:
core/trunk/documentation/manual/pom.xml
Log:
Sigh maven is again requirng the style be defined in both the plugin dependencies and the project dependencies
Modified: core/trunk/documentation/manual/pom.xml
===================================================================
--- core/trunk/documentation/manual/pom.xml 2009-08-17 19:09:17 UTC (rev 17340)
+++ core/trunk/documentation/manual/pom.xml 2009-08-17 21:27:47 UTC (rev 17341)
@@ -107,4 +107,13 @@
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-jdocbook-style</artifactId>
+ <version>2.0.0</version>
+ <type>jdocbook-style</type>
+ </dependency>
+ </dependencies>
+
</project>
15 years, 3 months