diff --git a/Doc/Ref/Video/Makefile b/Doc/Ref/Video/Makefile index a99e0c4dd56c613f0c1b6c7bf6f61c7a400ef23f..bf7305ade7507aee86a8bf785f54d52f7a84156e 100644 --- a/Doc/Ref/Video/Makefile +++ b/Doc/Ref/Video/Makefile @@ -1,9 +1,10 @@ # Hint: .ogv --> mp4 # ffmpeg -i dataInsert.ogv -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre slow -crf 22 -threads 0 dataInsert.mp4 +# ffmpeg -i $<.ogv -aq 80 -vcodec libx264 -strict -3 -preset slow -crf 25 -threads 0 $< mp4Set = jdbcConnection.mp4 jdbcDriverConfig.mp4 eclipseBasicSql.mp4 \ -dataInsert.mp4 connectauth.mp4 +dataInsert.mp4 connectauth.mp4 hibernateConfig.mp4 ogvSet = $(foreach file,$(mp4Set),$(file).ogv ) diff --git a/Doc/Ref/Video/hibernateConfig.mp4 b/Doc/Ref/Video/hibernateConfig.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..efee59703a7968616521fb61b18686d83943f999 Binary files /dev/null and b/Doc/Ref/Video/hibernateConfig.mp4 differ diff --git a/Doc/Ref/Video/hibernateConfig.txt b/Doc/Ref/Video/hibernateConfig.txt new file mode 100644 index 0000000000000000000000000000000000000000..190368a2d5ce742e6dee18648fd60dddd9ea8c52 --- /dev/null +++ b/Doc/Ref/Video/hibernateConfig.txt @@ -0,0 +1,13 @@ +This video shows the creation of a Hibernate configuration + +we assume the existence of a database connection + +Our existing database configuration yields default values + +The database dialect is still missing, we retrieve a sensible value matching our database server + +We also create a console configuration allowing us to use HQL queries later + +We like to work with annotations and choose the appropriate database dialect again + +The Hibernate configuration allows for processing of queries later. diff --git a/Doc/course.xml b/Doc/course.xml index 84834ea933327e694236393f67ffe9ec4fce1a6e..3b4aa501b21dc62c81271f0d80a58ca84d7d1dee 100644 --- a/Doc/course.xml +++ b/Doc/course.xml @@ -15196,7 +15196,9 @@ leader-pattern="dots"/>C<fo:leader leader-pattern="dots"/>D</fo:bloc <section xml:id="sect_hibernateBasics"> <title>Working with object entities</title> - <para/> + <para>Having configured Hibernate we may now start working with Java + objects. To do so we need an appropriate session object to run + transactions. Following the Hibernate documentation the </para> <section xml:id="sect_hibernateValidation"> <title>Hibernate validation</title>