I've no personal experience, but this documentation may help: http://h2database.com/html/tutorial.html#using_toplink
On Wed, Jun 30, 2010 at 6:22 AM, denis000 <[email protected]> wrote: > Hi, > I created a table in netbeans 6.9 on h2. I can view this table and its > data in the netbeans. Then i crated a simple projet using netbeans > CRUD template. This projet compile ok but i can't run it. This is a > part of the output: > [TopLink Info]: 2010.06.29 07:04:41.218--ServerSession(6662015)-- > TopLink, version: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs > (12/06/2007)) > [TopLink Info]: 2010.06.29 07:04:41.467--Not able to detect platform > for vendor name [H2]. Defaulting to > [oracle.toplink.essentials.platform.database.DatabasePlatform]. The > database dialect used may not match with the database you are using. > Please explicitly provide a platform using property > toplink.platform.class.name. > 29 juin 2010 19:04:41 org.jdesktop.application.Application$1 run > GRAVE: Application class adresse2.Adresse2App failed to launch > javax.persistence.PersistenceException: Exception [TOPLINK-7144] > (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): > oracle.toplink.essentials.exceptions.ValidationException > Exception Description: SEQ_GEN_SEQUENCE: platform DatabasePlatform > doesn't support NativeSequence. > at > > oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java: > 239) > at > > oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java: > 93) > > Where is the problem? > Regards > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<h2-database%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/h2-database?hl=en. > > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
