Hibernate Spatial and JBOSS/JPA Deployer

2 messages Options
Embed this post
Permalink
Rafael Soto-2

Hibernate Spatial and JBOSS/JPA Deployer

Reply Threaded More More options
Print post
Permalink
Hi Folks,

I have one question about uses a Hibernate Spatial whitin JBOSS in JPA structure.
When us use a JPA Hibernate implementation, the hibernate configuration file is a persistence.xml file.
So, when i will deploy my application EAR, Hibernate Spatial show above LOG

6166 INFO  [JBOSSRunner] [HBSpatialExtension]  - Checking configuration file.
6176 INFO  [JBOSSRunner] [HSConfiguration]  - Attempting to load configuration from file: hibernate-spatial.cfg.xml
6177 WARN  [JBOSSRunner] [HSConfiguration]  - No configuration file hibernate-spatial.cfg.xml on the classpath.

somebody have had problems with that? My application so far good but i
must believe that it will not give problems

best regards
--
RAFAEL Almeida Fernandez Soto :: [hidden email]

_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
Karel Maesen

Re: Hibernate Spatial and JBOSS/JPA Deployer

Reply Threaded More More options
Print post
Permalink
Hi,

Don't worry: the warning means that Hibernate Spatial can't find a  
configuration file, and that defaults will be used.  When using the  
library I also found this warning message confusing. In a next  
version it will be omitted, or rephrased more clearly.

Regards,

Karel Maesen


On 11 Feb 2009, at 21:51, Rafael Almeida Fernandez Soto wrote:

> Hi Folks,
>
> I have one question about uses a Hibernate Spatial whitin JBOSS in  
> JPA structure.
> When us use a JPA Hibernate implementation, the hibernate  
> configuration file is a persistence.xml file.
> So, when i will deploy my application EAR, Hibernate Spatial show  
> above LOG
>
> 6166 INFO  [JBOSSRunner] [HBSpatialExtension]  - Checking  
> configuration file.
> 6176 INFO  [JBOSSRunner] [HSConfiguration]  - Attempting to load  
> configuration from file: hibernate-spatial.cfg.xml
> 6177 WARN  [JBOSSRunner] [HSConfiguration]  - No configuration file  
> hibernate-spatial.cfg.xml on the classpath.
>
> somebody have had problems with that? My application so far good but i
> must believe that it will not give problems
>
> best regards
> --
> RAFAEL Almeida Fernandez Soto :: [hidden email]
> _______________________________________________
> hibernatespatial-users mailing list
> [hidden email]
> http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/ 
> hibernatespatial-users

_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users