📄 toolset_guide.po
字号:
msgid ""msgstr """Project-Id-Version: PACKAGE VERSION\n""Report-Msgid-Bugs-To: http://bugs.kde.org\n""POT-Creation-Date: 2008-08-14 15:28+0000\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"#. Tag: title#: toolset_guide.xml:29#, no-c-formatmsgid "Toolset Guide"msgstr "Guide des outils"#. Tag: para#: toolset_guide.xml:31#, no-c-formatmsgid """Roundtrip engineering with Hibernate is possible using a set of Eclipse ""plugins, commandline tools, as well as Ant tasks."msgstr """Des outils en ligne de commande, des plugins Eclipse ainsu que des tâches ""Ant permettent de gérer de cycles de développement complet de projets ""utilisant Hibernate."#. Tag: para#: toolset_guide.xml:36#, no-c-formatmsgid """The <emphasis>Hibernate Tools</emphasis> currently include plugins for the ""Eclipse IDE as well as Ant tasks for reverse engineering of existing ""databases:"msgstr """Les <emphasis>outils Hibernate</emphasis> actuels incluent des plugins pour ""l'IDE Eclipse ainsi que des tâches Ant pour l'ingénierie inverse de bases de ""données existantes :"#. Tag: para#: toolset_guide.xml:42#, no-c-formatmsgid """<emphasis>Mapping Editor:</emphasis> An editor for Hibernate XML mapping ""files, supporting auto-completion and syntax highlighting. It also supports ""semantic auto-completion for class names and property/field names, making it ""much more versatile than a normal XML editor."msgstr """<emphasis>Mapping Editor :</emphasis> un éditeur pour les fichiers de ""mapping XML Hibernate, supportant l'auto-complétion et la mise en valeur de ""la syntaxe. Il supporte aussi l'auto-complétion automatique pour les noms de ""classes et les noms de propriété/champ, le rendant beaucoup plus polyvalent ""qu'un éditeurXML normal."#. Tag: para#: toolset_guide.xml:47#, no-c-formatmsgid """<emphasis>Console:</emphasis> The console is a new view in Eclipse. In ""addition to a tree overview of your console configurations, you also get an ""interactive view of your persistent classes and their relationships. The ""console allows you to execute HQL queries against your database and browse ""the result directly in Eclipse."msgstr """<emphasis>Console :</emphasis> la console est une nouvelle vue d'Eclipse. En ""plus de la vue d'ensemble arborescente de vos configurations de console, ""vous obtenez aussi une vue interactive de vos classes persistantes et de ""leurs relations. La console vous permet d'exécuter des requête HQL dans ""votre base de données et de parcourir les résultats directement dans Eclipse."#. Tag: para#: toolset_guide.xml:54#, no-c-formatmsgid """<emphasis>Development Wizards:</emphasis> Several wizards are provided with ""the Hibernate Eclipse tools; you can use a wizard to quickly generate ""Hibernate configuration (cfg.xml) files, or you may even completely reverse ""engineer an existing database schema into POJO source files and Hibernate ""mapping files. The reverse engineering wizard supports customizable ""templates."msgstr """<emphasis>Development Wizards :</emphasis> plusieurs assistants sont fournis ""avec les outils d'Hibernate pour Eclipse ; vous pouvez utiliser un assistant ""pour générer rapidement les fichiers de configuration d'Hibernate (cfg.xml), ""ou vous pouvez même complètement générer les fichiers de mapping Hibernate ""et les sources des POJOs à partir d'un schéma de base de données existant. ""L'assistant d'ingénierie inverse supporte les modèles utilisateur."#. Tag: emphasis#: toolset_guide.xml:62#, no-c-formatmsgid "Ant Tasks:"msgstr "Tâches Ant :"#. Tag: para#: toolset_guide.xml:67#, no-c-formatmsgid """Please refer to the <emphasis>Hibernate Tools</emphasis> package and it's ""documentation for more information."msgstr """Veuillez-vous référer au paquet <emphasis>outils Hibernate</emphasis> et sa ""documentation pour plus d'informations."#. Tag: para#: toolset_guide.xml:72#, no-c-formatmsgid """However, the Hibernate main package comes bundled with an integrated tool ""(it can even be used from \"inside\" Hibernate on-the-fly): ""<emphasis>SchemaExport</emphasis> aka <literal>hbm2ddl</literal>."msgstr """Pourtant, le paquet principal d'Hibernate arrive avec un lot d'outils ""intégrés (il peut même être utilisé de \"l'intérieur\" d'Hibernate à la ""volée) : <emphasis>SchemaExport</emphasis> aussi connu comme ""<literal>hbm2ddl</literal>."#. Tag: title#: toolset_guide.xml:79#, no-c-formatmsgid "Automatic schema generation"msgstr "Génération automatique du schéma"#. Tag: para#: toolset_guide.xml:81#, no-c-formatmsgid """DDL may be generated from your mapping files by a Hibernate utility. The ""generated schema includes referential integrity constraints (primary and ""foreign keys) for entity and collection tables. Tables and sequences are ""also created for mapped identifier generators."msgstr """La DDL peut être générée à partir de vos fichiers de mapping par un ""utilitaire d'Hibernate. Le schéma généré inclut les contraintes d'intégrité ""référentielle (clefs primaires et étrangères) pour les tables d'entités et ""de collections. Les tables et les séquences sont aussi créées pour les ""générateurs d'identifiant mappés."#. Tag: para#: toolset_guide.xml:88#, no-c-formatmsgid """You <emphasis>must</emphasis> specify a SQL <literal>Dialect</literal> via ""the <literal>hibernate.dialect</literal> property when using this tool, as ""DDL is highly vendor specific."msgstr """Vous <emphasis>devez</emphasis> spécifier un <literal>Dialect</literal> SQL ""via la propriété <literal>hibernate.dialect</literal> lors de l'utilisation ""de cet outils, puisque la DDL est fortement dépendante de la base de données."#. Tag: para#: toolset_guide.xml:94#, no-c-formatmsgid "First, customize your mapping files to improve the generated schema."msgstr """D'abord, personnalisez vos fichiers de mapping pour améliorer le schéma ""généré."#. Tag: title#: toolset_guide.xml:99#, no-c-formatmsgid "Customizing the schema"msgstr "Personnaliser le schéma"#. Tag: para#: toolset_guide.xml:101#, no-c-formatmsgid """Many Hibernate mapping elements define optional attributes named ""<literal>length</literal>, <literal>precision</literal> and <literal>scale</""literal>. You may set the length, precision and scale of a column with this ""attribute."msgstr """Plusieurs éléments du mapping hibernate définissent des attributs optionnels ""nommés <literal>length</literal>, <literal>precision</literal> et ""<literal>scale</literal>. Vous pouvez paramétrer la longueur, la ""précision,... d'une colonne avec ces attributs."#. Tag: programlisting#: toolset_guide.xml:108#, no-c-formatmsgid "<![CDATA[<property name=\"zip\" length=\"5\"/>]]>"msgstr ""#. Tag: programlisting#: toolset_guide.xml:109#, no-c-formatmsgid "<![CDATA[<property name=\"balance\" precision=\"12\" scale=\"2\"/>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:111#, no-c-formatmsgid """Some tags also accept a <literal>not-null</literal> attribute (for ""generating a <literal>NOT NULL</literal> constraint on table columns) and a ""<literal>unique</literal> attribute (for generating <literal>UNIQUE</""literal> constraint on table columns)."msgstr """Certains éléments acceptent aussi un attribut <literal>not-null</literal> ""(utilisé pour générer les contraintes de colonnes <literal>NOT NULL</""literal>) et un attribut <literal>unique</literal> (pour générer une ""contrainte de colonne <literal>UNIQUE</literal>)."#. Tag: programlisting#: toolset_guide.xml:117#, no-c-formatmsgid """<![CDATA[<many-to-one name=\"bar\" column=\"barId\" not-null=\"true\"/>]]>"msgstr ""#. Tag: programlisting#: toolset_guide.xml:119#, no-c-formatmsgid """<![CDATA[<element column=\"serialNumber\" type=\"long\" not-null=\"true\" ""unique=\"true\"/>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:121#, no-c-formatmsgid """A <literal>unique-key</literal> attribute may be used to group columns in a ""single unique key constraint. Currently, the specified value of the ""<literal>unique-key</literal> attribute is <emphasis>not</emphasis> used to ""name the constraint in the generated DDL, only to group the columns in the ""mapping file."msgstr """Un attribut <literal>unique-key</literal> peut être utilisé pour grouper les ""colonnes en une seule contrainte d'unicité. Actuellement, la valeur ""spécifiée par l'attribut <literal>unique-key</literal> n'est <emphasis>pas</""emphasis> utilisée pour nommer la contrainte dans le DDL généré, elle sert ""juste à grouper les colonnes dans le fichier de mapping."#. Tag: programlisting#: toolset_guide.xml:129#, no-c-formatmsgid """<![CDATA[<many-to-one name=\"org\" column=\"orgId\" unique-key=""\"OrgEmployeeId\"/>\n""<property name=\"employeeId\" unique-key=\"OrgEmployee\"/>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:131#, no-c-formatmsgid """An <literal>index</literal> attribute specifies the name of an index that ""will be created using the mapped column or columns. Multiple columns may be ""grouped into the same index, simply by specifying the same index name."msgstr """Un attribut <literal>index</literal> indique le nom d'un index qui sera créé ""en utilisant la ou les colonnes mappées. Plusieurs colonnes peuvent être ""groupées dans un même index, en spécifiant le même nom d'index."#. Tag: programlisting#: toolset_guide.xml:137#, no-c-formatmsgid """<![CDATA[<property name=\"lastName\" index=\"CustName\"/>\n""<property name=\"firstName\" index=\"CustName\"/>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:139#, no-c-formatmsgid """A <literal>foreign-key</literal> attribute may be used to override the name ""of any generated foreign key constraint."msgstr """Un attribut <literal>foreign-key</literal> peut être utilisé pour surcharger ""le nom des clés étrangères générées."#. Tag: programlisting#: toolset_guide.xml:144#, no-c-formatmsgid """<![CDATA[<many-to-one name=\"bar\" column=\"barId\" foreign-key=\"FKFooBar\"/"">]]>"msgstr ""#. Tag: para#: toolset_guide.xml:146#, no-c-formatmsgid """Many mapping elements also accept a child <literal><column></literal> ""element. This is particularly useful for mapping multi-column types:"msgstr """Plusieurs éléments de mapping acceptent aussi un élément fils <literal><""column></literal>. Ceci est utile pour les type multi-colonnes:"#. Tag: programlisting#: toolset_guide.xml:151#, no-c-formatmsgid """<![CDATA[<property name=\"name\" type=\"my.customtypes.Name\"/>\n"" <column name=\"last\" not-null=\"true\" index=\"bar_idx\" length=\"30\"/"">\n"" <column name=\"first\" not-null=\"true\" index=\"bar_idx\" length=\"20\"/"">\n"" <column name=\"initial\"/>\n""</property>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:153#, no-c-formatmsgid """The <literal>default</literal> attribute lets you specify a default value ""for a column (you should assign the same value to the mapped property before ""saving a new instance of the mapped class)."msgstr """L'attribut <literal>default</literal> vous laisse spécifier une valeur par ""défaut pour une colonnes (vous devriez assigner la même valeur à la ""propriété mappée avant de sauvegarder une nouvelle instance de la classe ""mappée)."#. Tag: programlisting#: toolset_guide.xml:159#, no-c-formatmsgid """<![CDATA[<property name=\"credits\" type=\"integer\" insert=\"false\">\n"" <column name=\"credits\" default=\"10\"/>\n""</property>]]>"msgstr ""#. Tag: programlisting#: toolset_guide.xml:161#, no-c-formatmsgid """<![CDATA[<version name=\"version\" type=\"integer\" insert=\"false\">\n"" <column name=\"version\" default=\"0\"/>\n""</property>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:163#, no-c-formatmsgid """The <literal>sql-type</literal> attribute allows the user to override the ""default mapping of a Hibernate type to SQL datatype."msgstr """L'attribut <literal>sql-type</literal> laisse l'utilisateur surcharger le ""mapping par défaut du type Hibernate vers un type SQL."#. Tag: programlisting#: toolset_guide.xml:168#, no-c-formatmsgid """<![CDATA[<property name=\"balance\" type=\"float\">\n"" <column name=\"balance\" sql-type=\"decimal(13,3)\"/>\n""</property>]]>"msgstr ""#. Tag: para#: toolset_guide.xml:170#, no-c-formatmsgid """The <literal>check</literal> attribute allows you to specify a check ""constraint."msgstr """L'attribut <literal>check</literal> permet de spécifier une contrainte de ""vérification."#. Tag: programlisting#: toolset_guide.xml:174#, no-c-formatmsgid """<![CDATA[<property name=\"foo\" type=\"integer\">\n"" <column name=\"foo\" check=\"foo > 10\"/>\n""</property>]]>"msgstr ""#. Tag: programlisting#: toolset_guide.xml:176#, no-c-formatmsgid """<![CDATA[<class name=\"Foo\" table=\"foos\" check=\"bar < 100.0\">\n"" ...\n"" <property name=\"bar\" type=\"float\"/>\n""</class>]]>"msgstr ""#. Tag: title#: toolset_guide.xml:180#, no-c-formatmsgid "Summary"msgstr "Summary"#. Tag: entry#: toolset_guide.xml:187#, no-c-formatmsgid "Attribute"msgstr "Attribut"#. Tag: entry#: toolset_guide.xml:188#, no-c-formatmsgid "Values"msgstr "Valeur"#. Tag: entry#: toolset_guide.xml:189#, no-c-formatmsgid "Interpretation"msgstr "Interprétation"#. Tag: literal#: toolset_guide.xml:194
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -