⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basic_mapping.po

📁 hibernate-distribution-3.3.1.GA-dist.zip源码
💻 PO
📖 第 1 页 / 共 5 页
字号:
#. Tag: para#: basic_mapping.xml:157#, no-c-formatmsgid """<literal>default-access</literal> (optional - defaults to <literal>property</""literal>): The strategy Hibernate should use for accessing all properties. ""Can be a custom implementation of <literal>PropertyAccessor</literal>."msgstr """<literal>default-access</literal> (optionnel - par défaut vaut : ""<literal>property</literal>) : Comment hibernate accèdera aux propriétés. On ""peut aussi redéfinir sa propre implémentation de <literal>PropertyAccessor</""literal>."#. Tag: para#: basic_mapping.xml:164#, no-c-formatmsgid """<literal>default-lazy</literal> (optional - defaults to <literal>true</""literal>): The default value for unspecifed <literal>lazy</literal> ""attributes of class and collection mappings."msgstr """<literal>default-lazy</literal> (optionnel - par défaut vaut : ""<literal>true</literal>) : Valeur par défaut pour un attribut <literal>lazy</""literal> non spécifié : celui des mappings de classes et de collection."#. Tag: para#: basic_mapping.xml:171#, no-c-formatmsgid """<literal>auto-import</literal> (optional - defaults to <literal>true</""literal>): Specifies whether we can use unqualified class names (of classes ""in this mapping) in the query language."msgstr """<literal>auto-import</literal> (optionnel - par défaut vaut : <literal>true</""literal>) : Spécifie si l'on peut utiliser des noms de classes non qualifiés ""(des classes de ce mapping) dans le langage de requête."#. Tag: para#: basic_mapping.xml:178#, no-c-formatmsgid """<literal>package</literal> (optional): Specifies a package prefix to assume ""for unqualified class names in the mapping document."msgstr """<literal>package</literal> (optionnel) : Préfixe de package par défaut pour ""les noms de classe non qualifiés du document de mapping."#. Tag: para#: basic_mapping.xml:186#, no-c-formatmsgid """If you have two persistent classes with the same (unqualified) name, you ""should set <literal>auto-import=\"false\"</literal>. Hibernate will throw an ""exception if you attempt to assign two classes to the same \"imported\" name."msgstr """Si deux classes possèdent le même nom de classe (non qualifié), vous devez ""indiquer <literal>auto-import=\"false\"</literal>. Hibernate lancera une ""exception si vous essayez d'assigner à deux classes le même nom importé."#. Tag: para#: basic_mapping.xml:192#, no-c-formatmsgid """Note that the <literal>hibernate-mapping</literal> element allows you to ""nest several persistent <literal>&lt;class&gt;</literal> mappings, as shown ""above. It is however good practice (and expected by some tools) to map only ""a single persistent class (or a single class hierarchy) in one mapping file ""and name it after the persistent superclass, e.g. <literal>Cat.hbm.xml</""literal>, <literal>Dog.hbm.xml</literal>, or if using inheritance, ""<literal>Animal.hbm.xml</literal>."msgstr """Notez que l'élément <literal>hibernate-mapping</literal> vous permet ""d'imbriquer plusieurs mappings de <literal>&lt;class&gt;</literal> ""persistantes, comme dans l'exemple ci-dessus. Cependant la bonne pratique ""(ce qui est attendu par certains outils) est de mapper une seule classe (ou ""une seule hiérarchie de classes) par fichier de mapping et de nommer ce ""fichier d'après le nom de la superclasse, par exemple <literal>Cat.hbm.xml</""literal>, <literal>Dog.hbm.xml</literal>, ou en cas d'héritage, ""<literal>Animal.hbm.xml</literal>."#. Tag: title#: basic_mapping.xml:205#, no-c-formatmsgid "<title>class</title>"msgstr ""#. Tag: para#: basic_mapping.xml:207#, no-c-formatmsgid """You may declare a persistent class using the <literal>class</literal> ""element:"msgstr """Déclarez une classe persistante avec l'élément <literal>class</literal> :"#. Tag: programlisting#: basic_mapping.xml:235#, no-c-formatmsgid """<![CDATA[<class\n""        name=\"ClassName\"\n""        table=\"tableName\"\n""        discriminator-value=\"discriminator_value\"\n""        mutable=\"true|false\"\n""        schema=\"owner\"\n""        catalog=\"catalog\"\n""        proxy=\"ProxyInterface\"\n""        dynamic-update=\"true|false\"\n""        dynamic-insert=\"true|false\"\n""        select-before-update=\"true|false\"\n""        polymorphism=\"implicit|explicit\"\n""        where=\"arbitrary sql where condition\"\n""        persister=\"PersisterClass\"\n""        batch-size=\"N\"\n""        optimistic-lock=\"none|version|dirty|all\"\n""        lazy=\"true|false\"\n""        entity-name=\"EntityName\"\n""        check=\"arbitrary sql check condition\"\n""        rowid=\"rowid\"\n""        subselect=\"SQL expression\"\n""        abstract=\"true|false\"\n""        node=\"element-name\"\n""/>]]>"msgstr ""#. Tag: para#: basic_mapping.xml:238#, no-c-formatmsgid """<literal>name</literal> (optional): The fully qualified Java class name of ""the persistent class (or interface). If this attribute is missing, it is ""assumed that the mapping is for a non-POJO entity."msgstr """<literal>name</literal> (optionnel) : Le nom Java complet de la classe (ou ""interface) persistante. Si cet attribut est absent, il est supposé que ce ""mapping ne se rapporte pas à une entité POJO."#. Tag: para#: basic_mapping.xml:245#, no-c-formatmsgid """<literal>table</literal> (optional - defaults to the unqualified class ""name): The name of its database table."msgstr """<literal>table</literal> (optionnel - par défaut le nom (non-qualifié) de la ""classe) : Le nom de sa table en base de données."#. Tag: para#: basic_mapping.xml:251#, no-c-formatmsgid """<literal>discriminator-value</literal> (optional - defaults to the class ""name): A value that distiguishes individual subclasses, used for polymorphic ""behaviour. Acceptable values include <literal>null</literal> and ""<literal>not null</literal>."msgstr """<literal>discriminator-value</literal> (optionnel - par défaut le nom de la ""classe) : Une valeur permettant de distinguer les sous-classes dans le cas ""de l'utilisation du polymorphisme. Les valeurs <literal>null</literal> et ""<literal>not null</literal> sont autorisées."#. Tag: para#: basic_mapping.xml:258#, no-c-formatmsgid """<literal>mutable</literal> (optional, defaults to <literal>true</literal>): ""Specifies that instances of the class are (not) mutable."msgstr """<literal>mutable</literal> (optionnel, vaut <literal>true</literal> par ""défaut) : Spécifie que des instances de la classe sont (ou non) immuables."#. Tag: para#: basic_mapping.xml:264 basic_mapping.xml:2228#, fuzzy, no-c-formatmsgid """<literal>schema</literal> (optional): Override the schema name specified by ""the root <literal>&lt;hibernate-mapping&gt;</literal> element."msgstr """#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""<literal>schema</literal> (optionnel) : Surcharge le nom de schéma spécifié ""par l'élément racine <literal>&lt;hibernate-mapping&gt;</literal>.\n""#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""<literal>schema</literal> (optionnel) : court-circuite le nom de schéma ""spécifié par l'élément de base <literal>&lt;hibernate-mapping&gt;</literal>."#. Tag: para#: basic_mapping.xml:270 basic_mapping.xml:2234#, fuzzy, no-c-formatmsgid """<literal>catalog</literal> (optional): Override the catalog name specified ""by the root <literal>&lt;hibernate-mapping&gt;</literal> element."msgstr """#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""<literal>catalog</literal> (optionnel) : Surcharge le nom du catalogue ""spécifié par l'élément racine <literal>&lt;hibernate-mapping&gt;</literal>.\n""#-#-#-#-#  - (PACKAGE VERSION)  #-#-#-#-#\n""<literal>catalog</literal> (optionnel) : court-circuite le nom de catalogue ""spécifié par l'élément de base <literal>&lt;hibernate-mapping&gt;</literal>."#. Tag: para#: basic_mapping.xml:276#, no-c-formatmsgid """<literal>proxy</literal> (optional): Specifies an interface to use for lazy ""initializing proxies. You may specify the name of the class itself."msgstr """<literal>proxy</literal> (optionnel) : Spécifie une interface à utiliser ""pour l'initialisation différée (lazy loading) des proxies. Vous pouvez ""indiquer le nom de la classe elle-même."#. Tag: para#: basic_mapping.xml:282#, no-c-formatmsgid """<literal>dynamic-update</literal> (optional, defaults to <literal>false</""literal>): Specifies that <literal>UPDATE</literal> SQL should be generated ""at runtime and contain only those columns whose values have changed."msgstr """<literal>dynamic-update</literal> (optionnel, par défaut à <literal>false</""literal>) : Spécifie que les <literal>UPDATE</literal> SQL doivent être ""générés à l'exécution et contenir uniquement les colonnes dont les valeurs ""ont été modifiées."#. Tag: para#: basic_mapping.xml:289#, no-c-formatmsgid """<literal>dynamic-insert</literal> (optional, defaults to <literal>false</""literal>): Specifies that <literal>INSERT</literal> SQL should be generated ""at runtime and contain only the columns whose values are not null."msgstr """<literal>dynamic-insert</literal> (optionnel, par défaut à <literal>false</""literal>): Spécifie que les <literal>INSERT</literal> SQL doivent être ""générés à l'exécution et ne contenir que les colonnes dont les valeurs sont ""non nulles."#. Tag: para#: basic_mapping.xml:296#, no-c-formatmsgid """<literal>select-before-update</literal> (optional, defaults to ""<literal>false</literal>): Specifies that Hibernate should <emphasis>never</""emphasis> perform an SQL <literal>UPDATE</literal> unless it is certain that ""an object is actually modified. In certain cases (actually, only when a ""transient object has been associated with a new session using <literal>update""()</literal>), this means that Hibernate will perform an extra SQL ""<literal>SELECT</literal> to determine if an <literal>UPDATE</literal> is ""actually required."msgstr """<literal>select-before-update</literal> (optionnel, par défaut à ""<literal>false</literal>): Spécifie que Hibernate ne doit <emphasis>jamais</""emphasis> exécuter un <literal>UPDATE</literal> SQL sans être certain qu'un ""objet a été réellement modifié. Dans certains cas, (en réalité, seulement ""quand un objet transient a été associé à une nouvelle session par ""<literal>update()</literal>), cela signifie que Hibernate exécutera un ""<literal>SELECT</literal> SQL pour s'assurer qu'un <literal>UPDATE</literal> ""SQL est véritablement nécessaire."#. Tag: para#: basic_mapping.xml:306#, no-c-formatmsgid """<literal>polymorphism</literal> (optional, defaults to <literal>implicit</""literal>): Determines whether implicit or explicit query polymorphism is ""used."msgstr """<literal>polymorphism</literal> (optionnel, vaut <literal>implicit</literal> ""par défaut) : Détermine si, pour cette classe, une requête polymorphique ""implicite ou explicite est utilisée."#. Tag: para#: basic_mapping.xml:312#, no-c-formatmsgid """<literal>where</literal> (optional) specify an arbitrary SQL <literal>WHERE</""literal> condition to be used when retrieving objects of this class"msgstr """<literal>where</literal> (optionnel) spécifie une clause SQL <literal>WHERE</""literal> à utiliser lorsque l'on récupère des objets de cette classe."#. Tag: para#: basic_mapping.xml:318#, no-c-formatmsgid """<literal>persister</literal> (optional): Specifies a custom ""<literal>ClassPersister</literal>."msgstr """<literal>persister</literal> (optionnel) : Spécifie un ""<literal>ClassPersister</literal> particulier."#. Tag: para#: basic_mapping.xml:323#, no-c-formatmsgid """<literal>batch-size</literal> (optional, defaults to <literal>1</literal>) ""specify a \"batch size\" for fetching instances of this class by identifier."msgstr """<literal>batch-size</literal> (optionnel, par défaut = <literal>1</""literal>) : spécifie une taille de batch pour remplir les instances de cette ""classe par identifiant en une seule requête."#. Tag: para#: basic_mapping.xml:329#, no-c-formatmsgid """<literal>optimistic-lock</literal> (optional, defaults to <literal>version</""literal>): Determines the optimistic locking strategy."msgstr """<literal>optimistic-lock</literal> (optionnel, par défaut = ""<literal>version</literal>) : Détermine la stratégie de verrou optimiste."#. Tag: para#: basic_mapping.xml:335#, no-c-formatmsgid """<literal>lazy</literal> (optional): Lazy fetching may be completely disabled ""by setting <literal>lazy=\"false\"</literal>."msgstr """<literal>lazy</literal> (optionnel) : Déclarer <literal>lazy=\"true\"</""literal> est un raccourci pour spécifier le nom de la classe comme étant ""l'interface <literal>proxy</literal>."#. Tag: para#: basic_mapping.xml:341#, no-c-formatmsgid """<literal>entity-name</literal> (optional, defaults to the class name): ""Hibernate3 allows a class to be mapped multiple times (to different tables, ""potentially), and allows entity mappings that are represented by Maps or XML "

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -