JPA + Hibernate + Sybase ASE [message #881449] |
Mon, 04 June 2012 11:25  |
Eclipse User |
|
|
|
Good afternoon. I have a problem with persistance in Hibernate. First of all, sorry for my very bad English. I'm working in a hospital, where the database has over 15 years, and was made in Sybase. Now the whole hospital system is changing to Java, and Postgres database. Therefore, in order to work the classes that administer the database, I just made a connection with Hibernate JPA, added the necessary drivers for Sybase, and configured the settings for Sybase ASE. Generally with any other database, in JPA tools> Generate Entities from tables, I can create classes for each table I need. But when I try to do it with Sybase database, it works at first, I can make SQL queries to the database, but I can't create entities using reverse engineering. 2 weeks I'm trying but I have not gotten results. Someone could give me some suggestions please?
|
|
|
|
Re: JPA + Hibernate + Sybase ASE [message #881469 is a reply to message #881458] |
Mon, 04 June 2012 12:04   |
Eclipse User |
|
|
|
Thanks for answering. Ok, what is happening is that when I select Connect, connects with no errors, but when I want to explore the schemes, there are none, I can't navigate through the tables ... If I see it from the JPA perspective, within the connection, there aren't tables, aren't schemes, aren't store procedures ... Nothing. And I haven't any log that shows any errors.
|
|
|
|
|
Re: JPA + Hibernate + Sybase ASE [message #882919 is a reply to message #881845] |
Thu, 07 June 2012 09:22  |
Eclipse User |
|
|
|
Hmm...not sure why I was thinking Postgres there. Anyway, I'm a little surprised that you are having trouble with Sybase ASE, since I would have thought that even old versions of this would be supported in DTP. You may want to try different driver versions to see if you have any luck with that. But if not, take the issues to the DTP forums to see if you can get a definitive answer. You could also file a bug against DTP. Good luck!
http://www.eclipse.org/forums/index.php/f/3/
Neil
|
|
|
Powered by
FUDForum. Page generated in 7.60630 seconds