Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Cannot generate SQL tables when @NoSQL entities are present
Cannot generate SQL tables when @NoSQL entities are present [message #955522] Tue, 23 October 2012 17:39 Go to next message
Eclipse UserFriend
Hi,
I am working on a Java EE6 project- we are using EclipseLink 2.4.1 and Glassfish 3.1.2.
Initially our project contained only relational entities, but we recently added some @NoSQL entities to save data in MongoDB.

These SQL and NoSQL entities work fine together in our application. The only problem is that table generation of the relational entities no longer works. When I deploy the app, I get the following message:

WARNING: The default table generator currently only supports generating default table schema from a relational project.


So, EclipseLink no longer thinks of this as a relational project, even though there are relational entities in the project.

Has anyone else run into this problem?

Thanks,
Ellen
Re: Cannot generate SQL tables when @NoSQL entities are present [message #963380 is a reply to message #955522] Mon, 29 October 2012 15:32 Go to previous message
Eclipse UserFriend
Hi Ellen,

How are you mixing relational and NoSQL entities? I expect you are using a composite persistence unit. If so, have you tried generating DDL for just the relational persistence unit?

--Shaun

[Updated on: Mon, 29 October 2012 15:34] by Moderator

Previous Topic:Weird problems while saving and reading Calendar in jpa
Next Topic:turn off all caching
Goto Forum:
  


Current Time: Wed Jul 23 17:45:09 EDT 2025

Powered by FUDForum. Page generated in 0.03698 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top