[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-1101) Opening database part of a hibernate configuration results in java.lang.StringIndexOutOfBoundsException: String index out of range: 0 while reading Progress OpenEdge
Deven Phillips (JIRA)
noreply at atlassian.com
Fri Feb 13 15:13:41 EST 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32413#action_32413 ]
Deven Phillips commented on HBX-1101:
-------------------------------------
Same issue here:
Error
Fri Feb 13 15:07:11 EST 2009
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:694)
at org.hibernate.mapping.Column.setName(Column.java:61)
at org.hibernate.cfg.reveng.JDBCReader.getColumn(JDBCReader.java:846)
at org.hibernate.cfg.reveng.JDBCReader.processIndices(JDBCReader.java:755)
at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:88)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$2.execute(LazyDatabaseSchemaWorkbenchAdapter.java:111)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:102)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:59)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:103)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Here's the Hibernate configuration I am working with:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory name="com.us.metalsales.mapics.db.AS400SessionFactory">
<property name="hibernate.connection.driver_class">com.ibm.as400.access.AS400JDBCDriver</property>
<property name="hibernate.connection.password">XXXXXXXXX</property>
<property name="hibernate.connection.url">jdbc:as400://192.168.100.1/;translate binary=true</property>
<property name="hibernate.connection.username">XXXXXXXXX</property>
<property name="hibernate.default_catalog">S1039434</property>
<property name="hibernate.default_schema">AMFLIB</property>
<property name="hibernate.dialect">org.hibernate.dialect.DB2400Dialect</property>
</session-factory>
</hibernate-configuration>
> Opening database part of a hibernate configuration results in java.lang.StringIndexOutOfBoundsException: String index out of range: 0 while reading Progress OpenEdge
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBX-1101
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1101
> Project: Hibernate Tools
> Issue Type: Bug
> Components: reverse-engineer
> Affects Versions: 3.2.0.GA
> Environment: Ubuntu/Eclipse Progress Open Edge
> Reporter: Thijs Thiessens
> Attachments: hibernate.png
>
>
> I am trying to reverse engineer a progress openedge database 10.1 using com.ddtek.jdbc.openedge.OpenEdgeDriver. Some databases can be read. Others can't resulting in a java.lang.StringIndexOutOfBoundsException: String index out of range: 0 in plugin org.hibernate.eclipse.console. No stacktrace could be found.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list