-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: 3.1.3 crashes on identity but works fine on 3.0
PostPosted: Thu Jun 15, 2006 1:14 pm 
Newbie

Joined: Wed Jun 29, 2005 4:36 pm
Posts: 4
I'm trying to insert a simple record into a table with an identity field.
It is working currently with Hibernate 3.0 and I'm trying move to 3.1.3 but it crashes.

Here are the frameworks and version I use

c3p0 : 0.9.0.4
AS400 Driver (JT400) : 5.4.0.1
Spring : 1.2.5
Hibernate : 3.0.final and 3.1.3

Switching just Hibernate jar file between 3.0 and 3.1.3 makes and breaks while all other libraries remain same.
SQL produced by both 3.0 and 3.1.3 looks same but 3.1.3 crashes while preparing a statement.

Here are the stacktraces from both successful insert with 3.0 and an error with 3.1.3.

Log from 3.0
------------
org.hibernate.event.def.AbstractSaveEventListener generated identifier: , using strategy: org.hibernate.id.IdentityGenerator
org.hibernate.event.def.AbstractSaveEventListener saving [com.zzz.proj.audit.model.AuditMessage#<null>]
org.hibernate.event.def.AbstractSaveEventListener executing insertions
org.hibernate.persister.entity.BasicEntityPersister Inserting entity: com.zzz.proj.audit.model.AuditMessage (native id)
org.hibernate.jdbc.AbstractBatcher about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
org.hibernate.jdbc.AbstractBatcher opening JDBC connection
org.hibernate.SQL insert into DATA.PFAUDMSG (MSMFNO, MSPECD, MSRLSQ, MSMSG, MSRNUM, MSID) values (?, ?, ?, ?, ?, default)
Hibernate: insert into DATA.PFAUDMSG (MSMFNO, MSPECD, MSRLSQ, MSMSG, MSRNUM, MSID) values (?, ?, ?, ?, ?, default)
org.hibernate.jdbc.AbstractBatcher preparing statement
org.hibernate.persister.entity.BasicEntityPersister Dehydrating entity: [com.zzz.proj.audit.model.AuditMessage#<null>]
org.hibernate.type.StringType binding 'XXXXXX' to parameter: 1
org.hibernate.type.StringType binding 'ZZZZZZ' to parameter: 2
org.hibernate.type.IntegerType binding '1' to parameter: 3
org.hibernate.type.StringType binding 'This is a test' to parameter: 4
org.hibernate.type.IntegerType binding '9999' to parameter: 5
org.hibernate.id.IdentifierGeneratorFactory Natively generated identity: 4523133
org.hibernate.jdbc.AbstractBatcher about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
org.hibernate.jdbc.AbstractBatcher closing statement
org.hibernate.event.def.AbstractFlushingEventListener flushing session
org.hibernate.event.def.AbstractFlushingEventListener processing flush-time cascades
org.hibernate.event.def.AbstractFlushingEventListener dirty checking collections
org.hibernate.event.def.AbstractFlushingEventListener Flushing entities and processing referenced collections
org.hibernate.event.def.AbstractFlushingEventListener Processing unreferenced collections
org.hibernate.event.def.AbstractFlushingEventListener Scheduling collection removes/(re)creates/updates
org.hibernate.event.def.AbstractFlushingEventListener Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects
org.hibernate.event.def.AbstractFlushingEventListener Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
org.hibernate.pretty.Printer listing entities:
org.hibernate.pretty.Printer com.zzz.proj.audit.model.AuditMessage{message=This is a test, royaltyRecordKey=component[manufacturerNumber,activityPeriod,sequenceNumber]{sequenceNumber=1, activityPeriod=ZZZZZZ, manufacturerNumber=XXXXXX}, runNumber=9999, id=4523133}
org.hibernate.event.def.AbstractFlushingEventListener executing flush
org.hibernate.event.def.AbstractFlushingEventListener post flush
org.hibernate.impl.SessionImpl closing session
org.hibernate.jdbc.AbstractBatcher closing JDBC connection (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)
org.hibernate.jdbc.JDBCContext after transaction completion
org.hibernate.impl.SessionImpl after transaction completion


Log from 3.1.3
--------------
2006-06-15 11:32:52,348 DEBUG main org.hibernate.event.def.AbstractSaveEventListener saving [com.zzz.proj.audit.model.AuditMessage#<null>]
2006-06-15 11:32:52,348 DEBUG main org.hibernate.event.def.AbstractSaveEventListener executing insertions
2006-06-15 11:32:52,379 DEBUG main org.hibernate.persister.entity.AbstractEntityPersister Inserting entity: com.zzz.proj.audit.model.AuditMessage (native id)
2006-06-15 11:32:52,379 DEBUG main org.hibernate.jdbc.AbstractBatcher about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
2006-06-15 11:32:52,379 DEBUG main org.hibernate.jdbc.ConnectionManager opening JDBC connection
2006-06-15 11:32:52,379 DEBUG main org.hibernate.SQL insert into DATA.PFAUDMSG (MSMFNO, MSPECD, MSRLSQ, MSMSG, MSRNUM, MSID) values (?, ?, ?, ?, ?, default)
Hibernate: insert into DATA.PFAUDMSG (MSMFNO, MSPECD, MSRLSQ, MSMSG, MSRNUM, MSID) values (?, ?, ?, ?, ?, default)
2006-06-15 11:32:52,379 DEBUG main org.hibernate.jdbc.AbstractBatcher preparing statement
2006-06-15 11:32:52,737 DEBUG main org.hibernate.util.JDBCExceptionReporter could not insert: [com.zzz.proj.audit.model.AuditMessage] [insert into DATA.PFAUDMSG (MSMFNO, MSPECD, MSRLSQ, MSMSG, MSRNUM, MSID) values (?, ?, ?, ?, ?, default)]
java.sql.SQLException: The driver does not support this function.
at com.ibm.as400.access.JDError.throwSQLException(JDError.java:389)
at com.ibm.as400.access.AS400JDBCConnection.prepareStatement(AS400JDBCConnection.java:1954)
at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.hibernate.util.GetGeneratedKeysHelper.prepareStatement(GetGeneratedKeysHelper.java:45)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:435)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:93)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:1948)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2405)
at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:37)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:269)
at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:167)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:101)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186)
at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:175)
at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:530)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:518)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:514)
at org.springframework.orm.hibernate3.HibernateTemplate$12.doInHibernate(HibernateTemplate.java:598)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:358)
at org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:595)
at com.zzz.proj.audit.persist.AuditMessageService.save(AuditMessageService.java:84)
at com.zzz.proj.audit.persist.AuditMessageService$$FastClassByCGLIB$$8257ab1d.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:698)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInterceptor.java:118)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
at com.zzz.proj.audit.persist.AuditMessageService$$EnhancerByCGLIB$$264cc4c8.save(<generated>)
at com.zzz.proj.NewprojTest.testInsertAuditMsg(NewprojTest.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
2006-06-15 11:32:52,737 WARN main org.hibernate.util.JDBCExceptionReporter SQL Error: -99999, SQLState: IM001
2006-06-15 11:32:52,737 ERROR main org.hibernate.util.JDBCExceptionReporter The driver does not support this function.
2006-06-15 11:32:52,768 DEBUG main org.hibernate.impl.SessionImpl closing session
2006-06-15 11:32:52,768 DEBUG main org.hibernate.jdbc.ConnectionManager performing cleanup
2006-06-15 11:32:52,768 DEBUG main org.hibernate.jdbc.ConnectionManager releasing JDBC connection [ (open PreparedStatements: 1, globally: 1) (open ResultSets: 0, globally: 0)]
2006-06-15 11:32:52,768 DEBUG main org.hibernate.jdbc.JDBCContext after transaction completion
2006-06-15 11:32:52,768 DEBUG main org.hibernate.jdbc.ConnectionManager aggressively releasing JDBC connection
2006-06-15 11:32:52,768 DEBUG main org.hibernate.impl.SessionImpl after transaction completion


Hibernate Mapping
-----------------
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name="com.zzz.proj.audit.model.AuditMessage"
schema="DATA"
table="PFAUDMSG">

<id name="id" type="java.lang.Integer" unsaved-value="0">
<column name="MSID" sql-type="decimal(8,0)" not-null="true"/>
<generator class="identity" />
</id>

<component name="royaltyRecordKey" class="com.zzz.jacl.model.royalty.RoyaltyRecordKey">
<property name="manufacturerNumber" type="java.lang.String">
<column name="MSMFNO" sql-type="char(6)" not-null="true"/>
</property>

<property name="activityPeriod" type="java.lang.String">
<column name="MSPECD" sql-type="char(6)" not-null="true"/>
</property>

<property name="sequenceNumber" type="int">
<column name="MSRLSQ" sql-type="decimal(7,0)" not-null="true"/>
</property>
</component>

<property name="message" type="java.lang.String">
<column name="MSMSG" sql-type="char(255)" not-null="true"/>
</property>

<property name="runNumber" type="int">
<column name="MSRNUM" sql-type="decimal(5, 0)" not-null="true"/>
</property>

</class>
</hibernate-mapping>


DAO
---
public class AuditMessageService extends HibernateDaoSupport {

public void save(AuditMessage auditMessage) {
super.getHibernateTemplate().save(auditMessage);
}
}


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 15, 2006 4:05 pm 
Newbie

Joined: Thu Dec 30, 2004 3:51 pm
Posts: 14
Hibernate 3.1 has changed the prepareStatement method it calls to the underlying driver from 3.0.

From the GetGeneratedKeysHelper class:
Hibernate 3.0
Code:
PREPARE_STATEMENT_METHOD = Connection.class.getMethod( "prepareStatement", new Class[] {String.class, Integer.TYPE} );


Hibernate 3.1
Code:
PREPARE_STATEMENT_METHOD = Connection.class.getMethod("prepareStatement", new Class[] { String.class, String[].class } );


this method is not supported by the jt400 driver. it merely throws an unsupported function exception (from AS400JDBCConnection class):

Code:
public PreparedStatement prepareStatement (String sql, String[] columnNames)
    throws SQLException
    {
        JDError.throwSQLException (this, JDError.EXC_FUNCTION_NOT_SUPPORTED);
        return null;
    }


There is a jira issue logged for this here:
http://opensource.atlassian.com/project ... e/HHH-1479

There's no response to the issue yet, but I hope they can look at it soon, as it is currently preventing us from migrating from 3.0 to 3.1.

Cheers


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 17, 2007 7:50 am 
Newbie

Joined: Fri Aug 17, 2007 7:43 am
Posts: 8
Hello,

has anybody found an suitable solution or workaround for this problem?

It prevents me switching my mysql databases to an iSeries/DB2.


Greetz,
Michael


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 17, 2007 9:48 am 
Newbie

Joined: Thu Dec 30, 2004 3:51 pm
Posts: 14
We are currently using Hibernate 3.2.3 ga with JTOpen 5.4.0.4 without any issues

We have not tried Hibernate 3.2.4 or .5 yet, but the above definately fixes this issue.

Perhaps provide more information about the errors you are getting?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 20, 2007 3:55 am 
Newbie

Joined: Fri Aug 17, 2007 7:43 am
Posts: 8
Hello,

I belive that this is the same reason, but now I'm not sure anymore.

OK, lets begin with my Connection to the iSeries:

Code:
      Configuration cfg = new Configuration();

         
         cfg.setProperty("hibernate.connection.driver_class", "com.ibm.as400.access.AS400JDBCDriver");
         cfg.setProperty("hibernate.connection.url", "jdbc:as400://as400;libraries=SCHMUCK");
         cfg.setProperty("hibernate.connection.username", "SCHMUCK");
         cfg.setProperty("hibernate.connection.password", "xxxx");
         cfg.setProperty("hibernate.dialect", "org.hibernate.dialect.DB2400Dialect");
      

         cfg.setProperty("hibernate.connection.pool_size", "1");
         cfg.setProperty("hibernate.current_session_context_class", "thread");
         cfg.setProperty("hibernate.hbm2ddl.auto", "validate");
         cfg.setProperty("hibernate.show_sql", "true");
            
   
         cfg.addClass( Lieferant.class );

      SessionFactory sf = null;
      sf = cfg.buildSessionFactory();
      return sf;
   


Now a simple mapping:

Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>

   <class name="de.geis.webapps.gcc.edvbestand.data.Lieferant"  table="GXBELIEF">
      <id name="idLieferant" type="int" column="idLieferant">
          <generator class="native"/>
      </id>
      
      <property name="name" column="name"/>
   </class>

</hibernate-mapping>


Next I will insert a row:


Code:
   public Lieferant saveLieferant(Lieferant lieferant) {

      Session ses = HibernatePool.getSessionFactory("gcc_edvbestand").openSession();
      Transaction tx = ses.beginTransaction();

      ses.saveOrUpdate(lieferant);

      tx.commit();
      ses.close();

      return lieferant;
   }
   
   
   
   public static void main(String args[]) {   
   
      StammdatenManager sdm = new StammdatenManager();
      
      Lieferant l = new Lieferant();
      l.setName("FooBar");
      
      sdm.saveLieferant(l);   
      
   }


This little causes the following stacktrace. As I see the situation, it is caused by the preparedStatements like at this issue:

Code:
- Hibernate 3.2.3
- hibernate.properties not found
- Bytecode provider name : cglib
- using JDK 1.4 java.sql.Timestamp handling
- Reading mappings from resource: de/geis/webapps/gcc/edvbestand/data/Lieferant.hbm.xml
- Reading mappings from resource: de/geis/webapps/gcc/edvbestand/data/Lieferant.hbm.xml
- Mapping class: de.geis.webapps.gcc.edvbestand.data.Lieferant -> GXBELIEF
- Using Hibernate built-in connection pool (not for production use!)
- Hibernate connection pool size: 1
- autocommit mode: false
- using driver: com.ibm.as400.access.AS400JDBCDriver at URL: jdbc:as400://as400;libraries=SCHMUCK
- connection properties: {user=SCHMUCK, password=****}
- RDBMS: DB2 UDB for AS/400, version: 05.04.0000 V5R4m0
- JDBC driver: AS/400 Toolbox for Java JDBC Driver, version: 7.4
- Using dialect: org.hibernate.dialect.DB2400Dialect
- Using default transaction strategy (direct JDBC transactions)
- No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
- Automatic flush during beforeCompletion(): disabled
- Automatic session close at end of transaction: disabled
- Scrollable result sets: enabled
- JDBC3 getGeneratedKeys(): enabled
- Connection release mode: auto
- Default batch fetch size: 1
- Generate SQL with comments: disabled
- Order SQL updates by primary key: disabled
- Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
- Using ASTQueryTranslatorFactory
- Query language substitutions: {}
- JPA-QL strict compliance: disabled
- Second-level cache: enabled
- Query cache: disabled
- Cache provider: org.hibernate.cache.NoCacheProvider
- Optimize cache for minimal puts: disabled
- Structured second-level cache entries: disabled
- Echoing all SQL to stdout
- Statistics: disabled
- Deleted entity synthetic identifier rollback: disabled
- Default entity-mode: pojo
- Named query checking : enabled
- building session factory
- Not binding factory to JNDI, no JNDI name configured
- Running schema validator
- fetching database metadata
- table found: S6591D7B.SCHMUCK.GXBELIEF
- columns: [idlieferant, aktiv, name]
Hibernate: insert into GXBELIEF (idLieferant, name) values (default, ?)
- SQL Error: -7008, SQLState: 55019
- [SQL7008] GXBELIEF in SCHMUCK für Operation ungültig.
Exception in thread "main" org.hibernate.exception.GenericJDBCException: could not insert: [de.geis.webapps.gcc.edvbestand.data.Lieferant]
   at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
   at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
   at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
   at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:40)
   at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2158)
   at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2638)
   at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:48)
   at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
   at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:298)
   at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181)
   at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107)
   at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
   at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
   at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:94)
   at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
   at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507)
   at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)
   at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:495)
   at de.geis.webapps.gcc.edvbestand.server.StammdatenManager.saveLieferant(StammdatenManager.java:811)
   at de.geis.webapps.gcc.edvbestand.server.StammdatenManager.main(StammdatenManager.java:447)
Caused by: java.sql.SQLException: [SQL7008] GXBELIEF in SCHMUCK für Operation ungültig.
   at com.ibm.as400.access.JDError.throwSQLException(JDError.java:650)
   at com.ibm.as400.access.JDError.throwSQLException(JDError.java:621)
   at com.ibm.as400.access.AS400JDBCStatement.commonExecute(AS400JDBCStatement.java:896)
   at com.ibm.as400.access.AS400JDBCPreparedStatement.executeUpdate(AS400JDBCPreparedStatement.java:1188)
   at org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.executeAndExtract(IdentityGenerator.java:73)
   at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:33)
   ... 16 more



I'll would be very happy if you have any idea or some example code. I'm going crazy, this code (and the whole app) works fine with my good old mysql server :(

If you want, you can contact me directly:

michael.schmuck at geis-group dot de


Thank you:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 20, 2007 3:56 am 
Newbie

Joined: Fri Aug 17, 2007 7:43 am
Posts: 8
double post ...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 21, 2007 7:21 pm 
Newbie

Joined: Thu Dec 30, 2004 3:51 pm
Posts: 14
As you sure these issue are related?

compare the exceptions previous post's log to your log:
java.sql.SQLException: The driver does not support this function.

SQL Error: -7008, SQLState: 55019
[SQL7008] GXBELIEF in SCHMUCK für Operation ungültig.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 21, 2007 7:27 pm 
Newbie

Joined: Thu Dec 30, 2004 3:51 pm
Posts: 14
You might need to add journaling to this table to allow inserts


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 23, 2007 3:23 am 
Newbie

Joined: Fri Aug 17, 2007 7:43 am
Posts: 8
Thanks, you are right.

With journaling activated it works fine.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.