-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate & MaxDB Problem
PostPosted: Wed Mar 24, 2004 8:47 am 
Newbie

Joined: Wed Mar 24, 2004 3:57 am
Posts: 1
hibernate.dialect net.sf.hibernate.dialect.SAPDBDialect
hibernate.connection.driver_class com.sap.dbtech.jdbc.DriverSapDB
hibernate.connection.url jdbc:sapdb://20.10.5.10/test
hibernate.connection.username dba
hibernate.connection.password dba
hibernate.query.substitutions yes 'Y', no 'N'
hibernate.connection.pool_size 1
hibernate.proxool.pool_alias pool1
hibernate.jdbc.batch_size 0
hibernate.jdbc.use_streams_for_binary true
hibernate.max_fetch_depth 1
hibernate.cache.provider_class net.sf.hibernate.cache.HashtableCacheProvider
hibernate.query.substitutions true 1, false 0, yes 'Y', no 'N'
hibernate.use_outer_join true
hibernate.show_sql true
hibernate.hbm2ddl.auto update

my app connect to MaxDB and create tables and insert values to tables correctly. but i can not read values for example
List mylist = hibernatesession.find("from x_table");

hibernate say "cannot Execute Query"

how to solve this problem.
now thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 24, 2004 8:51 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
I'm sure it also says why it can't execute the query. BTW, don't use the HashTableCacheProvider if you are not in a test environment.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.