Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8048359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:24:27+00:00 2026-06-05T06:24:27+00:00

1. I want to do a reverse engineering action with the Hibernate plugin of

  • 0

1.

I want to do a reverse engineering action with the Hibernate plugin of Eclipse on a MS Access 2007 Database. I’m forced to use a existing MS Access 2007 db.

A easy solution is to buy the HXTT. But I want to use a free driver to do my work.

So I tried to apply this post :
http://www.programmingforfuture.com/2011/06/how-to-use-ms-access-with-hibernate.html
(That uses the SQL Server dialect and the driver sun.jdbc.odbc.JdbcOdbcDriver)

Unfortunately I have an error that nobody seems to have been on the internet:


Exception while generating code

Reason : 
org.hibernate.exception.GenericJDBCException: Error while reading primary key meta data for `c:/myaccessdb.mdb`.TableTest1

I have try to change the primary key on my MS Access DB (deleting all primary key) or to try the reverse engineering on a MS ACCESS with only one table without primary key, but I got all times the problems.

2.

The purpose of my job is to transfer daily (weekly) an Oracle 11g database with data from an existing database MS ACCESS 2007. And I thought to use a procedure (Hibernate EJB) Java to be launched automatically every week to do the data transfer. Is this is the best solution ?

Configuration :

  • sun.jdbc.odbc.JdbcOdbcDriver v???
  • Hibernate v3.4
  • Eclipse

ps: If you are a HXTT developer or seller please be indulgent with my post ;). Making money by making people believe that you help, it’s bad !


A solution is to use Derby Client driver, as the solution in the post:
Does anyone know if Hibernate and java will work effectively with Access?

But a clarification of the answer of Rich Seller is required. Could you explain your answer and explain your configuration (hibernate.cfg.xml, persistence.xml and what URL you use in the property name=”hibernate.connection.url”) without using paying HXTT driver but with the free Derby driver.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T06:24:30+00:00Added an answer on June 5, 2026 at 6:24 am

    the only available solution is to connect your JDBC driver like that :

    //Load the JDBC driver, useless with a Type 4 JDBC driver
    Class.forName(DRIVER_NAME);
    
    //To add specific properties such as a username/password pair
    Properties connectionProperties = new Properties();
    
    //Try to establish a connection to the database
    connection = DriverManager.getConnection(DATABASE_URL, connectionProperties);
    

    And, then, make free reverse engineering is’nt possible…
    The only way is to make entitiesManager whit yours beautifuls hands.

    Have Fun!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm doing reverse engineering from the database schema (using Hibernate) and I want to
First I want to clearify that I mean by reverse engineering something like decompiling
Possible Duplicate: Protect .NET code from reverse engineering? I want to make my software
I want to reverse engineer (import into diagram form) the database definition dump of
Hi i am trying to reverse engineering with my oracle database but have a
I use Enterprise Architect from Sparx Systems for reverse-engineering URL class diagrams from my
when i tried to use symfony2 doctrine reverse engineering tools, I have a one
I want to reverse each individual word of a String in Java (not the
What I want to know is two points as below: What is a reverse
Well this is a simple question i want to filter two elements sorted reverse

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.