Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JDBC and Relational Databases
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JDBC and Relational Databases
HSQLDB properties file
Kathiresan Chinna
Ranch Hand
Posts: 115
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I am using HSQLDB version=1.9.0 + Eclipse galileo + JPA + Eclipselink
Here is the persistence properties
<properties> <property name="eclipselink.jdbc.driver" value="org.hsqldb.jdbcDriver" /> <property name="eclipselink.jdbc.url" value="jdbc:hsqldb:file:test;hsqldb.default_table_type=file" /> <property name="eclipselink.jdbc.user" value="sa" /> <property name="eclipselink.jdbc.password" value="" /> <property name="eclipselink.target-database" value="HSQL"/> <property name="eclipselink.logging.level" value="OFF"/> <property name="eclipselink.orm.throw.exceptions" value="true"/> <property name="eclipselink.ddl-generation" value="create-tables"/> <property name="eclipselink.ddl-generation.output-mode" value="both"/> <property name="eclipselink.application-location" value="C:\Test\data"/> </properties>
The problem is, each time the test.script, test.properties have been overwriten.
So, I loss the create table commands in the script.
Can someone tell any other configuaration required ?
Thanks
Kathir
Kathiresan Chinna
Ranch Hand
Posts: 115
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I tried with the following chnages
<property name="eclipselink.ddl-generation" value="none"/>
But still same problem.
I child proofed my house but they still get in. Distract them with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JPA2 and Glassfish: persistence unit not found
How to Create Auto Schema
JPA EclipseLink SEQUENCE table does not exist
Glassfish Eclipselink an Hibernate
EJB & JPA Unexpected Results
More...