Quantcast
Channel: Spring Community Forums - Data
Viewing all articles
Browse latest Browse all 297

org.hibernate.cfg.Configuration access

$
0
0
Hi,

i'm currently developing a web application using Spring Version 3.2.3.RELEASE and Hibernate Version 4.2.3.Final. I have to map some custom Types in my Entities and so I started in writing hibernate user types. But now I read the hibernate documentation about Types and saw, that I can also write my own standard types for mapping my types to the database. This seems to me the better way. But to do so, I have to access the hibernate configuration during start up of my web application to add my own types (see http://docs.jboss.org/hibernate/orm/...types-registry). But I found no way to do so. Can anybody help me?

Thanks in advance and greetings,
Andreas

Viewing all articles
Browse latest Browse all 297

Trending Articles