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.  [ 1 post ] 
Author Message
 Post subject: Hibernate/JPA in container and JSE application
PostPosted: Wed Jan 28, 2009 12:40 pm 
Newbie

Joined: Wed Jan 28, 2009 12:22 pm
Posts: 2
Location: Virginia
I have a data model and DAOs built using JPA annotations and I am using the hibernate implementation of JPA to use that model/DAOs within a JBoss container as well as in a standalone application.

To make that work I must maintain 2 persistence.xml files and a XXX-ds.xml file that overlaps one of the persistence.xml files. This is inefficient as well as error prone. I have searched high and low and tried many different things, but I am unable to consolidate so that, at the very least, there is no overlap.

Am I missing something, or is this just the way it is?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.