Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

JPA annotation problem with database link(drda)

  Asked By: Ernesta    Date: Dec 29    Category: Java    Views: 2186
  

I'm using JPA and Toplink to map classes to data source tables.My table is on DB2 but I can access it from Oracle 10g using database link(drda). I can also directly select from it using a jdbc connection in my application.But I cannot map it to a class with @Table annotation in jpa. I've also created a synonym for this table but it seems jpa doesn't recognize the synonym either.I don't know if there is an annotation specifically for synonyms.
I've tested this both with IntelliIDEA 9.0 and MyEclipse 7.5 and the result is the same.
Any sugestions would be appreciated.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on JPA annotation problem with database link(drda) Or get search suggestion and latest updates.




Tagged: