• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Issues with H2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issues with H2


  • Subject: Issues with H2
  • From: Pascal Robert <email@hidden>
  • Date: Tue, 20 Apr 2010 05:58:45 -0400

Ok, it look like my issues with migrations for ERMoviesLogic are because of JDBC URL switching!  When the ERAttachment, ERAttachmentData and ERTag tables are created, my connection dictionary is :

avr. 20 05:47:23 Movies[62935] DEBUG NSLog  -  connecting with dictionary: {plugin = "H2PlugIn"; username = ""; driver = "org.h2.Driver"; password = "<password deleted for log>"; URL = "jdbc:h2:/Resources/Movies"; }

But when it creates the MovieTag table, it's switching to another URL!

avr. 20 05:47:24 Movies[62935] DEBUG NSLog  -  connecting with dictionary: {plugin = "H2PlugIn"; username = ""; driver = "org.h2.Driver"; LC_ALL = "iso_1"; password = "<password deleted for log>"; databaseEncoding = "ISO Latin-1"; URL = "jdbc:h2:file:/Users/probert/Tools/Src/Wonder/Wonder/Frameworks/BusinessLogic/ERMoviesLogic/build/ERMoviesLogic.framework/Resources/Movies"; }

That is weird, and I'm using global properties :

dbConnectUserGLOBAL=
dbConnectPasswordGLOBAL=
dbConnectDriverGLOBAL=org.h2.Driver
dbConnectPluginGLOBAL=H2PlugIn
dbConnectURLGLOBAL=jdbc:h2:/Resources/Movies

And I don't have this problem with MySQL, which make it even worse. In fact, in MySQL no MovieTag is created at all. Anyone here tried to add ERTaggable stuff in a H2 db?

--

Pascal Robert
email@hidden

WOWODC 2010 : August 27th-29th, Montreal. wowodc.com



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Issues with H2
      • From: Lachlan Deck <email@hidden>
  • Prev by Date: Re: [OT] how to calculate a printable page?
  • Next by Date: Re: D2W - Do the pros use "dummy" tables?
  • Previous by thread: Re: [OT] how to calculate a printable page?
  • Next by thread: Re: Issues with H2
  • Index(es):
    • Date
    • Thread