[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4902) Hibernate Configuration XML becomes invalid after editing 'Session Factory/Properties/JDBC/Batch Size' property on Session Factory tab
Denis Golovin (JIRA)
jira-events at lists.jboss.org
Mon Sep 21 13:37:05 EDT 2009
[ https://jira.jboss.org/jira/browse/JBIDE-4902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12486658#action_12486658 ]
Denis Golovin commented on JBIDE-4902:
--------------------------------------
It looks like you right, it seems to be related to UNIX/Windows EOL. If I save and reopen editor after Step 5. Everything is fine and '>' is in place. I played a bit with EOL preferences and now I cannot reproduce it no matter what style is selected Windows or UNIX. But it appears for fresh installation.
> Hibernate Configuration XML becomes invalid after editing 'Session Factory/Properties/JDBC/Batch Size' property on Session Factory tab
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-4902
> URL: https://jira.jboss.org/jira/browse/JBIDE-4902
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Hibernate
> Affects Versions: 3.1.0.M4
> Environment: Ubuntu Linux 9.04
> java.runtime.name=Java(TM) SE Runtime Environment
> java.runtime.version=1.6.0_16-b01
> java.specification.name=Java Platform API Specification
> java.specification.vendor=Sun Microsystems Inc.
> JBT 3.1.0.M4-v200909170601N-H91-M4 built from trunk
> Reporter: Denis Golovin
> Assignee: Viacheslav Kabanovich
> Priority: Critical
> Fix For: 3.1.0.M4
>
> Attachments: hib-config-editor-error.png, JBIDE-4902.swf
>
>
> 1. EXECUTE: Create Java Project
> 2. EXECUTE: Create Hibernate Console Configuration XML in it this project
> 3. ASSERT: Hibernate Console Configuration Editor is opened for created XML file
> 4. EXECUTE: Select 'Session Factory/Properties/JDBC' node and enter 1 in 'Batch Size' field
> 5. EXECUTE: Switch to Source tab
> 6. ASSERT: XML is well formed
> Now it fails on step 6 and Closing session factory tag has no '>' (see attached picture)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list