Re: question in tutorial "JPA 2.0 with EclipseLink - Tutorial"
75 views
Skip to first unread message
Lars Vogel
unread,
Jul 13, 2012, 1:08:28 AM7/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vog...@googlegroups.com
Hi,
looks like you are missing a / in your URL
Best regards, Lars
2012/7/13 tong123123 <tong1...@gmail.com>:
> for the tutorial
> http://www.vogella.com/articles/JavaPersistenceAPI/article.html > part 4.2
> 4.2. Persistence Unit
> I modify the url to
> <property name="javax.persistence.jdbc.url"
> value="jdbc:derby:c:kei/HA/home/vogella/databases/simpleDb;create=true" />
>
> the program can run succuessfully, but I cannot find the db physical location in c:kei/HA/home/vogella/databases/simpleDb, so where is the db physical location?
> and is this the embedded server mode in derby term?
>
> --
> You received this message because you are subscribed to the Google Groups "vogella" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/5L2ZTYKSYmgJ.
> To post to this group, send email to vog...@googlegroups.com.
> To unsubscribe from this group, send email to vogella+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/vogella?hl=en.
>
Martin Schader
unread,
Jul 13, 2012, 5:37:39 AM7/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vog...@googlegroups.com
Use jdbc:derby:c:/kei/...
and you'll get the result you expected.
Use jdbc:derby:c:kei/...
and you'll find a subdirectory kei in your eclipse project dir (if you
use eclipse).
Regards,
Martin
----------------------------------------------------------
Professor Dr. Martin Schader
University of Mannheim | Business School
Chair in Information Systems III
L 15, 1-6 | 7th floor | 68131 Mannheim | Germany
P: +49 621 181-1639 E: martin....@uni-mannheim.de W: www.wifo.uni-mannheim.de