Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDO Datanucleus Configuration Error

 
aniruddha gaikwad
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For my project I have to use JDO with HSQL. I wrote a simple program which help me to understand JDO. My problem is

If connectionURL is "jdbc:hsqldb:hsql://localhost:8974/test_db". I am getting "socket creation error"

IF I use connectionURL something like "jdbc:hsqldb:file:test_db". It compiles fine, but everytime my application start, It create new scheme.

What I want is table should persist after application stops.

Here is configuration file



Thanks.
 
Hemant Thard
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Aniruddha,

may be
datanucleus.autoCreateSchema=true
creates a problem.

try by setting datanucleus.autoCreateSchema=false.

Regards,
Hemant
 
aniruddha gaikwad
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hemant Thard wrote:Hi Aniruddha,

may be
datanucleus.autoCreateSchema=true
creates a problem.

try by setting datanucleus.autoCreateSchema=false.

Regards,
Hemant


no luck. Already try that option. It might b data stored only in cache & on application closed cache cleared.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic