-->
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: support for <class entity-name=""> in JPA En
PostPosted: Tue Nov 25, 2008 2:30 pm 
Newbie

Joined: Mon Oct 11, 2004 1:30 pm
Posts: 15
Location: New York, NY
We are developing a new application running against a legacy Sybase 12.5.3 database. We have a requirement/nice-to-have for this new application that it utilize JPA exclusively for application data access.

This database instance has numerous occasions where the same table structure is repeated across multiple schemas (i.e. Sybase databases).

We are able, using vanilla Hibernate to map a single class that maps to different, yet structurally identical tables using the 'entity-name' attribute to the <class> mapping.

However, we cannot find a way to solve this issue other than mapping native SQL queries; we'd prefer to not do that for obvious reasons.

Since this is a new project, we're open to working with any version of Entity Manager &/or Hibernate.


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.