Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » @GeneratedValue Id Support for SAP MaxDB?
@GeneratedValue Id Support for SAP MaxDB? [message #499709] Mon, 23 November 2009 19:38
Kristian Rink is currently offline Kristian Rink
Messages: 64
Registered: July 2009
Member
Folks;

just tried to get a simple application built using EclipseLink and SAP MaxDB
7.6, I seem to have ran right into the limitation that this platform is not
yet supported by EclipseLink. The application is a simple, bare-bone piece
of Java SE code trying to get things working before getting any deeper into it.


- Trying to start the app, I see this message pointing out:

[...]
[EL Info]: 2009-11-23 20:33:10.116--Not able to detect platform for vendor
name [SAP DB]. Defaulting to
[org.eclipse.persistence.platform.database.DatabasePlatform] . The database
dialect used may not match with the database you are using. Please
explicitly provide a platform using property eclipselink.platform.class.name.
[...]

- Most things seem to work even without explicitely identifying the platform
in use, as long as I use entities referring to tables already in existence.
Using table generation, however, wit any kind of @GeneratedValue @Id
attribute reliably fails, no matter which Id generation strategy I use.

- I found a small snippet on the Eclipse wiki [1] referring to an
"in-development" support for said DBMS platform, but the documentation
provided there is pretty limited both in explaining how to get it started
and/or in outlining what this implementation already is capable of doing.

So to ask: Is there any straightforward way of getting @Id values generated
with recent EclipseLink on SAP MaxDB 7.6? Any pointers / hints /
recommendations pretty welcome. :)

TIA and all the best,
Kristian



[1] http://wiki.eclipse.org/EclipseLink/Development/Incubator/Ex tensions/MaxDBPlatform
Previous Topic:M15 milestone
Next Topic:Importing schema error
Goto Forum:
  


Current Time: Fri Oct 24 18:06:22 GMT 2014

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

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