|
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)
HXTT DBF
|
Compatibility with JDK version 1.1.8 |
Shervon |
2007-05-21 05:51:15 |
The Faq says that hxtt dbf driver supports 1.1.X version of java on Many OSes, when I tried with JDK1.1.8 on SCO Unix it said bad major version number. Can this issue be solved
|
Re:Compatibility with JDK version 1.1.8 |
HXTT Support |
2007-05-21 06:05:47 |
You should use JDBC1.2 package.
|
Re:Re:Compatibility with JDK version 1.1.8 |
Shervon |
2007-05-21 21:40:34 |
When JDBC1.2 package is used how do u run the Admin module. how do you execute com.hxtt.sql.admin.Admin
|
Re:Re:Re:Compatibility with JDK version 1.1.8 |
HXTT Support |
2007-05-21 22:07:30 |
JDBC1.2 provides Admin too, but it will expect a JDBC1.2 DBFServer.
|
Re:Re:Compatibility with JDK version 1.1.8 |
Shervon |
2007-05-21 23:32:56 |
When JDBC1.2 package is used how do u run the Admin module. how do you execute com.hxtt.sql.admin.Admin
|
Re:Re:Re:Re:Re:Compatibility with JDK version 1.1.8 |
Shervon |
2007-05-21 23:44:37 |
Does JDBC1.2 supports java swing I got following error message when tring to run remote control
C:\hxtt12>java -classpath DBF_JDBC12.jar com.hxtt.sql.admin.Admin TCPCLIENT 192.153.4.190:8040 abc
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/java/swing/JF
rame
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
|
Re:Re:Re:Re:Re:Re:Compatibility with JDK version 1.1.8 |
Shervon |
2007-05-22 00:12:34 |
Is It Using NIO Lock Or JNILock
|
Re:Re:Re:Re:Re:Re:Re:Compatibility with JDK version 1.1.8 |
HXTT Support |
2007-05-22 01:09:44 |
JDK1.1.X is using JNILock, not NIO lock. JDBC1.2 package's Database GUI Manager requires swing1.0.3, which is available at JFC 1.1 with Swing 1.0.3.
|
Re:Re:Re:Re:Re:Re:Re:Re:Compatibility with JDK version 1.1.8 |
HXTT Support |
2007-05-22 01:10:35 |
BTW, a JDBC1.2 TCPCLIENT should login a JDBC1.2 server.
|
Re:Re:Re:Re:Re:Re:Re:Re:Compatibility with JDK version 1.1.8 |
shervon |
2007-05-22 01:16:11 |
Do u need the same java version in both server and remote control machine both has JDBC1.2 that is ok
|
Re:Re:Re:Re:Re:Re:Re:Re:Compatibility with JDK version 1.1.8 |
HXTT Support |
2007-05-22 01:22:58 |
Both of them using JDBC1.2 should be OK.
|
Re:Re:Re:Re:Re:Re:Re:Re:Compatibility with JDK version 1.1.8 |
shervon |
2007-05-22 05:00:15 |
TEST SUCCESSFULL THANX
|
Re:Re:Re:Re:Re:Re:Re:Re:Compatibility with JDK version 1.1.8 |
Shervon |
2007-05-30 22:21:59 |
When tring to implement Hibernate I get the following exception why?
3:15:04,703 INFO Environment:500 - Hibernate 3.2.1
13:15:04,718 INFO Environment:533 - hibernate.properties not found
13:15:04,718 INFO Environment:667 - Bytecode provider name : cglib
13:15:04,734 INFO Environment:584 - using JDK 1.4 java.sql.Timestamp handling
13:15:04,796 INFO Configuration:1423 - configuring from resource: /hibernate.cfg.xml
13:15:04,796 INFO Configuration:1400 - Configuration resource: /hibernate.cfg.xml
13:15:04,937 INFO Configuration:553 - Reading mappings from resource : User.hbm.xml
13:15:05,093 INFO HbmBinder:300 - Mapping class: User -> USERS
13:15:05,125 INFO Configuration:1538 - Configured SessionFactory: null
13:15:05,218 INFO DriverManagerConnectionProvider:41 - Using Hibernate built-in connection pool (not for production use!)
13:15:05,218 INFO DriverManagerConnectionProvider:42 - Hibernate connection pool size: 20
13:15:05,218 INFO DriverManagerConnectionProvider:45 - autocommit mode: true
13:15:05,328 INFO DriverManagerConnectionProvider:80 - using driver: com.hxtt.sql.dbf.DBFDriver at URL: jdbc:dbf://192.153.4.190:8888//usr/cobas1?user=123;password=456
13:15:05,328 INFO DriverManagerConnectionProvider:86 - connection properties: {autocommit=true}
13:15:05,609 INFO SettingsFactory:81 - RDBMS: HXTT.SQL.REMOTE, version: HXTT.SQL.REMOTE HXTT DBF JDBC Driver -- A Type 4 JDBC1.2 driver for dbase, Visual DBASE, SIx Driver, SoftC, Clipper, Foxbase, Foxpro, and VFP
13:15:05,640 INFO SettingsFactory:82 - JDBC driver: HXTT DBF JDBC Driver -- A Type 4 JDBC1.2 driver for dbase, Visual DBASE, SIx Driver, SoftC, Clipper, Foxbase, Foxpro, and VFP, version: HXTT DBF JDBC Driver -- A Type 4 JDBC1.2 driver for dbase, Visual DBASE, SIx Driver, SoftC, Clipper, Foxbase, Foxpro, and VFP
13:15:05,687 INFO Dialect:151 - Using dialect: com.hxtt.support.hibernate.HxttAccessDialect
13:15:05,703 INFO TransactionFactoryFactory:31 - Using default transaction strategy (direct JDBC transactions)
13:15:05,703 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
13:15:05,703 INFO SettingsFactory:134 - Automatic flush during beforeCompletion(): disabled
13:15:05,703 INFO SettingsFactory:138 - Automatic session close at end of transaction: disabled
13:15:05,703 INFO SettingsFactory:145 - JDBC batch size: 15
13:15:05,703 INFO SettingsFactory:148 - JDBC batch updates for versioned data: disabled
13:15:05,718 INFO SettingsFactory:153 - Scrollable result sets: enabled
13:15:05,718 INFO SettingsFactory:161 - JDBC3 getGeneratedKeys(): disabled
13:15:05,718 INFO SettingsFactory:169 - Connection release mode: auto
13:15:05,718 INFO SettingsFactory:193 - Maximum outer join fetch depth: 2
13:15:05,718 INFO SettingsFactory:196 - Default batch fetch size: 1
13:15:05,718 INFO SettingsFactory:200 - Generate SQL with comments: disabled
13:15:05,718 INFO SettingsFactory:204 - Order SQL updates by primary key: disabled
13:15:05,718 INFO SettingsFactory:369 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
13:15:05,718 INFO ASTQueryTranslatorFactory:24 - Using ASTQueryTranslatorFactory
13:15:05,718 INFO SettingsFactory:212 - Query language substitutions: {true=}
13:15:05,718 INFO SettingsFactory:217 - JPA-QL strict compliance: disabled
13:15:05,718 INFO SettingsFactory:222 - Second-level cache: enabled
13:15:05,718 INFO SettingsFactory:226 - Query cache: disabled
13:15:05,718 INFO SettingsFactory:356 - Cache provider: org.hibernate.cache.NoCacheProvider
13:15:05,718 INFO SettingsFactory:241 - Optimize cache for minimal puts: disabled
13:15:05,718 INFO SettingsFactory:250 - Structured second-level cache entries: disabled
13:15:05,734 INFO SettingsFactory:277 - Statistics: disabled
13:15:05,734 INFO SettingsFactory:281 - Deleted entity synthetic identifier rollback: disabled
13:15:05,734 INFO SettingsFactory:296 - Default entity-mode: pojo
13:15:05,781 INFO SessionFactoryImpl:161 - building session factory
13:15:06,140 INFO SessionFactoryObjectFactory:82 - Not binding factory to JNDI, no JNDI name configured
13:15:06,203 DEBUG SQL:393 - select max(user_id) from USERS
User saved with ID = 1
User updated with ID = 1
13:15:07,406 DEBUG SQL:393 - insert into USERS (first_name, last_name, age, email, user_id) values (?, ?, ?, ?, ?)
Exception in thread "main" java.lang.AbstractMethodError: com.hxtt.sql.remote.k.addBatch()V
at org.hibernate.jdbc.BatchingBatcher.addToBatch(BatchingBatcher.java:31)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2197)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2610)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:52)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at TestClient.main(TestClient.java:64)
Java Result: 1
|
Re:Re:Re:Re:Re:Re:Re:Re:Compatibility with JDK version 1.1.8 |
Shervon |
2007-05-30 22:22:21 |
When tring to implement Hibernate I get the following exception why?
3:15:04,703 INFO Environment:500 - Hibernate 3.2.1
13:15:04,718 INFO Environment:533 - hibernate.properties not found
13:15:04,718 INFO Environment:667 - Bytecode provider name : cglib
13:15:04,734 INFO Environment:584 - using JDK 1.4 java.sql.Timestamp handling
13:15:04,796 INFO Configuration:1423 - configuring from resource: /hibernate.cfg.xml
13:15:04,796 INFO Configuration:1400 - Configuration resource: /hibernate.cfg.xml
13:15:04,937 INFO Configuration:553 - Reading mappings from resource : User.hbm.xml
13:15:05,093 INFO HbmBinder:300 - Mapping class: User -> USERS
13:15:05,125 INFO Configuration:1538 - Configured SessionFactory: null
13:15:05,218 INFO DriverManagerConnectionProvider:41 - Using Hibernate built-in connection pool (not for production use!)
13:15:05,218 INFO DriverManagerConnectionProvider:42 - Hibernate connection pool size: 20
13:15:05,218 INFO DriverManagerConnectionProvider:45 - autocommit mode: true
13:15:05,328 INFO DriverManagerConnectionProvider:80 - using driver: com.hxtt.sql.dbf.DBFDriver at URL: jdbc:dbf://192.153.4.190:8888//usr/cobas1?user=123;password=456
13:15:05,328 INFO DriverManagerConnectionProvider:86 - connection properties: {autocommit=true}
13:15:05,609 INFO SettingsFactory:81 - RDBMS: HXTT.SQL.REMOTE, version: HXTT.SQL.REMOTE HXTT DBF JDBC Driver -- A Type 4 JDBC1.2 driver for dbase, Visual DBASE, SIx Driver, SoftC, Clipper, Foxbase, Foxpro, and VFP
13:15:05,640 INFO SettingsFactory:82 - JDBC driver: HXTT DBF JDBC Driver -- A Type 4 JDBC1.2 driver for dbase, Visual DBASE, SIx Driver, SoftC, Clipper, Foxbase, Foxpro, and VFP, version: HXTT DBF JDBC Driver -- A Type 4 JDBC1.2 driver for dbase, Visual DBASE, SIx Driver, SoftC, Clipper, Foxbase, Foxpro, and VFP
13:15:05,687 INFO Dialect:151 - Using dialect: com.hxtt.support.hibernate.HxttAccessDialect
13:15:05,703 INFO TransactionFactoryFactory:31 - Using default transaction strategy (direct JDBC transactions)
13:15:05,703 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
13:15:05,703 INFO SettingsFactory:134 - Automatic flush during beforeCompletion(): disabled
13:15:05,703 INFO SettingsFactory:138 - Automatic session close at end of transaction: disabled
13:15:05,703 INFO SettingsFactory:145 - JDBC batch size: 15
13:15:05,703 INFO SettingsFactory:148 - JDBC batch updates for versioned data: disabled
13:15:05,718 INFO SettingsFactory:153 - Scrollable result sets: enabled
13:15:05,718 INFO SettingsFactory:161 - JDBC3 getGeneratedKeys(): disabled
13:15:05,718 INFO SettingsFactory:169 - Connection release mode: auto
13:15:05,718 INFO SettingsFactory:193 - Maximum outer join fetch depth: 2
13:15:05,718 INFO SettingsFactory:196 - Default batch fetch size: 1
13:15:05,718 INFO SettingsFactory:200 - Generate SQL with comments: disabled
13:15:05,718 INFO SettingsFactory:204 - Order SQL updates by primary key: disabled
13:15:05,718 INFO SettingsFactory:369 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
13:15:05,718 INFO ASTQueryTranslatorFactory:24 - Using ASTQueryTranslatorFactory
13:15:05,718 INFO SettingsFactory:212 - Query language substitutions: {true=}
13:15:05,718 INFO SettingsFactory:217 - JPA-QL strict compliance: disabled
13:15:05,718 INFO SettingsFactory:222 - Second-level cache: enabled
13:15:05,718 INFO SettingsFactory:226 - Query cache: disabled
13:15:05,718 INFO SettingsFactory:356 - Cache provider: org.hibernate.cache.NoCacheProvider
13:15:05,718 INFO SettingsFactory:241 - Optimize cache for minimal puts: disabled
13:15:05,718 INFO SettingsFactory:250 - Structured second-level cache entries: disabled
13:15:05,734 INFO SettingsFactory:277 - Statistics: disabled
13:15:05,734 INFO SettingsFactory:281 - Deleted entity synthetic identifier rollback: disabled
13:15:05,734 INFO SettingsFactory:296 - Default entity-mode: pojo
13:15:05,781 INFO SessionFactoryImpl:161 - building session factory
13:15:06,140 INFO SessionFactoryObjectFactory:82 - Not binding factory to JNDI, no JNDI name configured
13:15:06,203 DEBUG SQL:393 - select max(user_id) from USERS
User saved with ID = 1
User updated with ID = 1
13:15:07,406 DEBUG SQL:393 - insert into USERS (first_name, last_name, age, email, user_id) values (?, ?, ?, ?, ?)
Exception in thread "main" java.lang.AbstractMethodError: com.hxtt.sql.remote.k.addBatch()V
at org.hibernate.jdbc.BatchingBatcher.addToBatch(BatchingBatcher.java:31)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2197)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2610)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:52)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at TestClient.main(TestClient.java:64)
Java Result: 1
|
Re:Re:Re:Re:Re:Re:Re:Re:Compatibility with JDK version 1.1.8 |
HXTT Support |
2007-05-30 23:03:09 |
>Exception in thread "main" java.lang.AbstractMethodError:
> com.hxtt.sql.remote.k.addBatch()V
>A Type 4 JDBC1.2 driver
Check your JDBC version. A JDBC1.2 package won't support addBatch, a JDBC2.0 method.
|
Re:Re:Re:Re:Re:Re:Re:Re:Compatibility with JDK version 1.1.8 |
Shervon |
2007-05-30 23:19:22 |
I have to use DBF JDBC1.2 because unix version i use doesnot support 2.0 is there a way I can implement hibernet
|
Re:Re:Re:Re:Re:Re:Re:Re:Compatibility with JDK version 1.1.8 |
Shervon |
2007-05-30 23:21:06 |
I have to use DBF JDBC1.2 because unix version i use doesnot support 2.0 is there a way I can implement hibernet
|
Re:Re:Re:Re:Re:Re:Re:Re:Compatibility with JDK version 1.1.8 |
HXTT Support |
2007-05-30 23:35:58 |
Your unix is too old, and hibernate uses many new JDBC2.0 and JDBC3.0 API.
|
|
|