19 十一月, 2014
18 十一月, 2014
17 十一月, 2014
15 十一月, 2014
Diigo Diary 11/15/2014
-
-
小朋友在當年度9月1日(含9月1日當天)滿6足歲,即屬於當年度9月應入小學就讀之學童
-
2.何時可以「知道」我的孩子(新生)要到那所學校唸書?
答:設籍臺北市之6足歲學童,可於6月20日前由區公所寄發「入學通知單」中得知學童之 就讀學校。
-
凡設籍於本市,並實際居住於本市的小朋友,均可就讀本市國小,並無設籍時間長短的限制。但如果小朋友的學區是「額滿學校」,則必須依照「額滿學校」優先分發入學原則,以小朋友的設籍時間先後依序分發入學,或改分發至其他非額滿學校。
-
13 十一月, 2014
12 十一月, 2014
Diigo Diary 11/12/2014
-
Java Persistence/Persisting – Wikibooks, open books for an open world
-
JPA defines two main states for an object for a given persistence context, managed and detached.
A managed object is one that was read in the current persistence context (EntityManager/JTA transaction). A managed object is registered with the persistence context and the persistence context will track changes to that object and maintain its object identity. If the same object is read again, in the same persistence context, or traversed through another managed object’s relationship, the same identical (
==
) object will be returned. Callingpersist
on a new object will also make it become managed. Calling merge on a detached object will return the managed copy of the object. An object should never be managed by more than one persistence context. An object will be managed by its persistence context until the persistence context is cleared throughclear
, or the object is forced to be detached throughdetach
. A removed object will no longer be managed after aflush
orcommit
. On arollback
, all managed objects will become detached. In a JTA managedEntityManager
all managed objects will be detached on any JTA commit or rollback. -
merge
does not directly update the object into the database, it merges the changes into the persistence context (transaction) -
When the transaction is committed, or if the persistence context is flushed, then the object will be updated in the database.
-
The
EntityManager.remove()
operation is used to delete an object from the database.remove
does not directly delete the object from the database, it marks the object to be deleted in the persistence context (transaction). When the transaction is committed, or if the persistence context is flushed, then the object will be deleted from the database. -
The
EntityManager.refresh()
operation is used to refresh an object’s state from the database. This will revert any non-flushed changes made in the current transaction to the object, and refresh its state to what is currently defined on the database. -
Refresh must be called on a managed object, so you may first need to
find
the object with the activeEntityManager
if you have a non-managed instance. -
The
EntityManager.getReference()
operation is used to obtain a handle to an object without requiring it to be loaded.
-
-
Detaching and Merging JPA Entity Objects
-
The content of the specified detached entity object is copied into an existing managed entity object with the same identity (i.e. same type and primary key). If the EntityManager does not manage such an entity object yet a new managed entity object is constructed. The detached object itself, however, remains unchanged and detached.
-
11 十一月, 2014
6 十一月, 2014
4 十一月, 2014
Diigo Diary 11/04/2014
-
.position() | jQuery API Documentation
-
Description: Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.
-
-
.offset() | jQuery API Documentation
-
Get the current coordinates of the first element, or set the coordinates of every element, in the set of matched elements, relative to the document.
-