-->
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.  [ 5 posts ] 
Author Message
 Post subject: error connection pool
PostPosted: Sun Nov 20, 2005 2:44 pm 
Newbie

Joined: Tue Nov 08, 2005 11:54 am
Posts: 19
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:

I have an error with Sql Server 2000, my error is this:

Cannot create PoolableConnectionFactory

Cannot connection sqlserver 2000 with pool?


Top
 Profile  
 
 Post subject: Re: error connection pool
PostPosted: Sun Nov 20, 2005 3:45 pm 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
vicente wrote:
Full stack trace of any exception that occurs:


Top
 Profile  
 
 Post subject: Re: error connection pool
PostPosted: Sun Nov 20, 2005 5:46 pm 
Newbie

Joined: Tue Nov 08, 2005 11:54 am
Posts: 19
dennisbyrne wrote:
vicente wrote:
Full stack trace of any exception that occurs:


I don't understand, Sorry


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 20, 2005 5:57 pm 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
Stack traces are ugly and informative, like this ...

Code:
org.hibernate.MappingException: Could not read mapping document from file: D:\workspace-hibtools3\Demo\ce\org\hibernate\auction\Bid.hbm.xml
   at org.hibernate.cfg.Configuration.addFile(Configuration.java:264)
   at org.hibernate.tool.ant.ConfigurationTask.addFile(ConfigurationTask.java:140)
   at org.hibernate.tool.ant.ConfigurationTask.addMappings(ConfigurationTask.java:123)
   at org.hibernate.tool.ant.ConfigurationTask.doConfiguration(ConfigurationTask.java:109)
   at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(ConfigurationTask.java:55)
   at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(HibernateToolTask.java:180)
   at org.hibernate.tool.ant.HibernateToolTask.getProperties(HibernateToolTask.java:196)
   at org.hibernate.tool.ant.ExporterTask.configureExporter(ExporterTask.java:90)
   at org.hibernate.tool.ant.Hbm2JavaGeneratorTask.configureExporter(Hbm2JavaGeneratorTask.java:37)
   at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:38)
   at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:144)
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
   at org.apache.tools.ant.Task.perform(Task.java:364)
   at org.apache.tools.ant.Target.execute(Target.java:341)
   at org.apache.tools.ant.Target.performTasks(Target.java:369)
   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
   at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
   at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
   at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:416)
   at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:138)
Caused by: org.hibernate.MappingException: Unable to determine entity name
   at org.hibernate.cfg.HbmBinder.bindClass(HbmBinder.java:484)
   at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:236)
   at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:109)
   at org.hibernate.cfg.Configuration.add(Configuration.java:380)
   at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:419)
   at org.hibernate.cfg.Configuration.addFile(Configuration.java:261)
   ... 20 more


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 21, 2005 5:21 am 
Newbie

Joined: Tue Nov 08, 2005 11:54 am
Posts: 19
I don't understand of the credit system.


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